What's Your Question?
Locating an IP Address
You may hear the term IP address as it relates to online activity. Learn how to locate your IP address or someone else’s IP address when necessary.
What Is an IP Address?
IP stands for “internet protocol.” An IP address identifies your computer or your device by an internet number in much the same way your house or apartment has a number that identifies it on your street. Your IP address enables you to have a connection to the internet by following the set protocols and specifications set up for these connections.
A common type of IP address is known as an IPv4 address. This IP address has four three-digit numbers separated by dots. Without your IP address, you can’t connect to the internet, send information or retrieve information. A newer type of IP address is called the IPv6 address. This IP address has eight separate clusters of four hexadecimal digits, separated by colons.
Why Find an IP Address?
If you know someone’s IP address, you can discover some information. An IP address won’t show someone’s name, phone number or exact physical location, but it should reveal the general geographic area. The geographic location revealed by an IP address look-up may be very close to the user’s location, or it might be hundreds of miles away. An IP address will show the internet service provider used as well. Law enforcement typically looks up IP addresses to find ISP information. An online retailer will often use an IP look-up tool to make sure that consumers placing orders are located in the general vicinity of the mailing address associated with a credit card. An IP address can also verify someone’s general vicinity if fraud is a possibility.
How to Locate an IP Address on a Website
You have a couple of options for finding an IP address associated with a website. On a Windows operating system, open the command prompt and enter “ping” and the web address of the website. Click “enter” and your computer will search for the IP address to display it. Once you have the IP address, use an IP look-up tool to get more information. Navigate to a website such as “WhatismyIPaddress.com” and enter the IP address in the search field to see information about the general vicinity of the IP address.
What’s My IP Address?
If you’re curious about your own IP address, you can use the IP look-up tool to learn your own number. Again, navigating to a website such as “WhatismyIPaddress.com” will get you the information you want. Once on the website, the tool will detect your IP address and display the number.
Get an IP Address From an Email
If you get an email and you want to know the IP address of the sender, you can check the header to find out. Most email browsers have an option to display email headers. With an email message open, look for a setting option called “headers” or “internet headers.” Once you find it and turn it on, identifying information for the email message will display, including the sender’s IP address. Some people will modify email header information, so it’s smart to verify an IP address by using the command prompt ping process.
MORE FROM QUESTIONSANSWERED.NET
IANA IPv4 Address Space Registry
- Home Products
- Small Business 1-50 employees
- Medium Business 51-999 employees
- Enterprise 1000+ employees
What is an IP Address – Definition and Explanation
IP address definition
An IP address is a unique address that identifies a device on the internet or a local network. IP stands for "Internet Protocol," which is the set of rules governing the format of data sent via the internet or local network.
In essence, IP addresses are the identifier that allows information to be sent between devices on a network: they contain location information and make devices accessible for communication. The internet needs a way to differentiate between different computers, routers, and websites. IP addresses provide a way of doing so and form an essential part of how the internet works.
What is an IP Address?
An IP address is a string of numbers separated by periods. IP addresses are expressed as a set of four numbers — an example address might be 18.104.22.168. Each number in the set can range from 0 to 255. So, the full IP addressing range goes from 0.0.0.0 to 255.255.255.255.
IP addresses are not random. They are mathematically produced and allocated by the Internet Assigned Numbers Authority (IANA), a division of the Internet Corporation for Assigned Names and Numbers (ICANN). ICANN is a non-profit organization that was established in the United States in 1998 to help maintain the security of the internet and allow it to be usable by all. Each time anyone registers a domain on the internet, they go through a domain name registrar, who pays a small fee to ICANN to register the domain.
Watch this video to learn what IP address is, why IP address is important and how to protect it from hackers:
How do IP addresses work
If you want to understand why a particular device is not connecting in the way you would expect or you want to troubleshoot why your network may not be working, it helps understand how IP addresses work.
Internet Protocol works the same way as any other language, by communicating using set guidelines to pass information. All devices find, send, and exchange information with other connected devices using this protocol. By speaking the same language, any computer in any location can talk to one another.
The use of IP addresses typically happens behind the scenes. The process works like this:
- Your device indirectly connects to the internet by connecting at first to a network connected to the internet, which then grants your device access to the internet.
- When you are at home, that network will probably be your Internet Service Provider (ISP). At work, it will be your company network.
- Your IP address is assigned to your device by your ISP.
- Your internet activity goes through the ISP, and they route it back to you, using your IP address. Since they are giving you access to the internet, it is their role to assign an IP address to your device.
- However, your IP address can change. For example, turning your modem or router on or off can change it. Or you can contact your ISP, and they can change it for you.
- When you are out and about – for example, traveling – and you take your device with you, your home IP address does not come with you. This is because you will be using another network (Wi-Fi at a hotel, airport, or coffee shop, etc.) to access the internet and will be using a different (and temporary) IP address, assigned to you by the ISP of the hotel, airport or coffee shop.
As the process implies, there are different types of IP addresses, which we explore below.
Types of IP addresses
There are different categories of IP addresses, and within each category, different types.
Consumer IP addresses
Every individual or business with an internet service plan will have two types of IP addresses: their private IP addresses and their public IP address. The terms public and private relate to the network location — that is, a private IP address is used inside a network, while a public one is used outside a network.
Private IP addresses
Every device that connects to your internet network has a private IP address. This includes computers, smartphones, and tablets but also any Bluetooth-enabled devices like speakers, printers, or smart TVs. With the growing internet of things , the number of private IP addresses you have at home is probably growing. Your router needs a way to identify these items separately, and many items need a way to recognize each other. Therefore, your router generates private IP addresses that are unique identifiers for each device that differentiate them on the network.
Public IP addresses
A public IP address is the primary address associated with your whole network. While each connected device has its own IP address, they are also included within the main IP address for your network. As described above, your public IP address is provided to your router by your ISP. Typically, ISPs have a large pool of IP addresses that they distribute to their customers. Your public IP address is the address that all the devices outside your internet network will use to recognize your network.
Public IP addresses come in two forms – dynamic and static.
Dynamic IP addresses
Dynamic IP addresses change automatically and regularly. ISPs buy a large pool of IP addresses and assign them automatically to their customers. Periodically, they re-assign them and put the older IP addresses back into the pool to be used for other customers. The rationale for this approach is to generate cost savings for the ISP. Automating the regular movement of IP addresses means they don’t have to carry out specific actions to re-establish a customer's IP address if they move home, for example. There are security benefits, too, because a changing IP address makes it harder for criminals to hack into your network interface.
Static IP addresses
In contrast to dynamic IP addresses, static addresses remain consistent. Once the network assigns an IP address, it remains the same. Most individuals and businesses do not need a static IP address, but for businesses that plan to host their own server, it is crucial to have one. This is because a static IP address ensures that websites and email addresses tied to it will have a consistent IP address — vital if you want other devices to be able to find them consistently on the web.
This leads to the next point – which is the two types of website IP addresses.
There are two types of website IP addresses
For website owners who don’t host their own server, and instead rely on a web hosting package – which is the case for most websites – there are two types of website IP addresses. These are shared and dedicated.
Shared IP addresses
Websites that rely on shared hosting plans from web hosting providers will typically be one of many websites hosted on the same server. This tends to be the case for individual websites or SME websites, where traffic volumes are manageable, and the sites themselves are limited in terms of the number of pages, etc. Websites hosted in this way will have shared IP addresses.
Dedicated IP addresses
Some web hosting plans have the option to purchase a dedicated IP address (or addresses). This can make obtaining an SSL certificate easier and allows you to run your own File Transfer Protocol (FTP) server. This makes it easier to share and transfer files with multiple people within an organization and allow anonymous FTP sharing options. A dedicated IP address also allows you to access your website using the IP address alone rather than the domain name — useful if you want to build and test it before registering your domain.
How to look up IP addresses
The simplest way to check your router’s public IP address is to search “What is my IP address?” on Google. Google will show you the answer at the top of the page.
Other websites will show you the same information: they can see your public IP address because, by visiting the site, your router has made a request and therefore revealed the information. The site IPLocation goes further by showing the name of your ISP and your city.
Generally, you will only receive an approximation of location using this technique — where the provider is, but not the actual device location. If you are doing this, remember to log out of your VPN too. Obtaining the actual physical location address for the public IP address usually requires a search warrant to be submitted to the ISP.
Finding your private IP address varies by platform:
- Use the command prompt.
- Search for “cmd” (without the quotes) using Windows search
- In the resulting pop-up box, type “ipconfig” (no quote marks) to find the information.
- Go to System Preferences
- Select network – and the information should be visible.
On an iPhone:
- Go to Settings
- Select Wi-Fi and click the “i" in a circle () next to the network you are on – the IP address should be visible under the DHCP tab.
If you need to check the IP addresses of other devices on your network, go into the router. How you access the router depends on the brand and the software it uses. Generally, you should be able to type the router's gateway IP address into a web browser on the same network to access it. From there, you will need to navigate to something like "attached devices," which should display a list of all the devices currently or recently attached to the network — including their IP addresses.
IP address security threats
Cybercriminals can use various techniques to obtain your IP address. Two of the most common are social engineering and online stalking.
Attackers can use social engineering to deceive you into revealing your IP address. For example, they can find you through Skype or a similar instant messaging application, which uses IP addresses to communicate. If you chat with strangers using these apps, it is important to note that they can see your IP address. Attackers can use a Skype Resolver tool, where they can find your IP address from your username.
Criminals can track down your IP address by merely stalking your online activity. Any number of online activities can reveal your IP address, from playing video games to commenting on websites and forums.
Once they have your IP address, attackers can go to an IP address tracking website, such as whatismyipaddress.com, type it in, and then get an idea of your location. They can then cross-reference other open-source data if they want to validate whether the IP address is associated with you specifically. They can then use LinkedIn, Facebook, or other social networks that show where you live, and then see if that matches the area given.
If a Facebook stalker uses a phishing attack against people with your name to install spying malware , the IP address associated with your system would likely confirm your identity to the stalker.
If cybercriminals know your IP address, they can launch attacks against you or even impersonate you. It is important to be aware of the risks and how to mitigate them. Risks include:
Downloading illegal content using your IP address
Tracking down your location
If they know your IP address, hackers can use geolocation technology to identify your region, city, and state. They only need to do a little more digging on social media to identify your home and potentially burgle it when they know you are away.
Directly attacking your network
Criminals can directly target your network and launch a variety of assaults. One of the most popular is a DDoS attack (distributed denial-of-service). This type of cyberattack occurs when hackers use previously infected machines to generate a high volume of requests to flood the targeted system or server. This creates too much traffic for the server to handle, resulting in a disruption of services. Essentially, it shuts down your internet. While this attack is typically launched against businesses and video game services, it can occur against an individual, though this is much less common. Online gamers are at particularly high risk for this, as their screen is visible while streaming (on which an IP address can be discovered).
Hacking into your device
The internet uses ports as well as your IP address to connect. There are thousands of ports for every IP address, and a hacker who knows your IP can try those ports to attempt to force a connection. For example, they could take over your phone and steal your information. If a criminal does obtain access to your device, they could install malware on it.
How to protect and hide your IP address
Hiding your IP address is a way to protect your personal information and online identity. The two primary ways to hide your IP address are:
- Using a proxy server
- Using a virtual private network (VPN)
A proxy server is an intermediary server through which your traffic is routed:
- The internet servers you visit see only the IP address of that proxy server and not your IP address.
- When those servers send information back to you, it goes to the proxy server, which then routes it to you.
A drawback of proxy servers is that some of the services can spy on you — so you need to trust it. Depending on which one you use, they can also insert ads into your browser.
VPN offers a better solution:
- When you connect your computer – or smartphone or tablet – to a VPN, the device acts as if it is on the same local network as the VPN.
- All your network traffic is sent over a secure connection to the VPN.
- Because your computer behaves as if it is on the network, you can securely access local network resources even when you are in another country.
- You can also use the internet as if you were present at the VPN’s location, which has benefits if you are using public Wi-Fi or want to access geo-blocked websites.
Kaspersky Secure Connection is a VPN that protects you on public Wi-Fi, keeps your communications private, and ensures that you are not exposed to phishing, malware, viruses, and other cyber threats.
When should you use VPN
Using a VPN hides your IP address and redirects your traffic through a separate server, making it much safer for you online. Situations where you might use a VPN include:
When using public Wi-Fi
When using a public Wi-Fi network , even one that is password-protected, a VPN is advisable. If a hacker is on the same Wi-Fi network, it is easy for them to snoop on your data. The basic security that the average public Wi-Fi network employs does not provide robust protection from other users on the same network.
Using a VPN will add an extra layer of security to your data, ensuring you bypass the public Wi-Fi’s ISP and encrypting all your communication.
When you are traveling
If you are traveling to a foreign country – for example, China, where sites like Facebook are blocked – a VPN can help you access services that may not be available in that country.
The VPN will often allow you to use streaming services that you paid for and have access to in your home country, but they are not available in another because of international rights issues. Using a VPN can enable you to use the service as if you were at home. Travelers may also be able to find cheaper airfare when using a VPN, as prices can vary from region to region.
When you are working remotely
This is especially relevant in the post-COVID world, where many people are working remotely . Often employers require the use of a VPN to access company services remotely for security reasons. A VPN that connects to your office's server can give you access to internal company networks and resources when you are not in the office. It can do the same for your home network while you are out and about.
When you just want some privacy
Even in the comfort of your own home, using the internet for everyday purposes, using a VPN can be a good idea. Whenever you access a website, the server you connect to logs your IP address and attaches it to all the other data the site can learn about you: your browsing habits, what you click on, how long you spend looking at a particular page. They can sell this data to advertising companies who use it to tailor ads straight to you. This is why ads on the internet sometimes feel oddly personal: it’s because they are. Your IP address can also be used to track your location, even when your location services are turned off. Using a VPN prevents you from leaving footprints on the web.
Don’t forget your mobile devices, either. They have IP addresses too, and you probably use them in a wider variety of locations than your home computer, including public Wi-Fi hotspots. It is advisable to use a VPN on your mobile when connecting to a network you may not fully trust.
Other ways to protect your privacy
Change privacy settings on instant messaging applications.
Apps installed on your device are a major source of IP address hacking. Instant messaging and other calling apps can be used as a tool by cybercriminals. Using IM apps only allows direct connections from contacts and doesn't accept calls or messages from people you don’t know. Changing your privacy settings makes it harder to find your IP address because people who don’t know you cannot connect with you.
Create unique passwords
Your device password is the only barrier that can restrict people from accessing your device. Some people prefer to stick to their devices' default passwords, which makes them vulnerable to attack. Like all your accounts, your device needs to have a unique and strong password that is not easy to decode. A strong password contains a mix of upper- and lower-case letters, numerals, and characters. This will help to safeguard your device against IP address hacking.
Stay alert to phishing emails and malicious content
A high proportion of malware and device tracking software is installed via phishing emails. When you connect with any site, this provides the site with access to your IP address and device location, making it vulnerable to hacking. Be vigilant when opening emails from unknown senders and avoid clicking on links that could send you to unauthorized sites. Pay close attention to the emails' content, even if they appear to come from well-known sites and legitimate businesses.
Use a good antivirus solution and keep it up to date
Install comprehensive antivirus software and keep it up to date. For example, Kaspersky’s Anti-Virus protection guards you from viruses on your PC and Android devices, secures and stores your passwords and private documents, and encrypts the data you send and receive online with VPN.
Protecting your IP address is a crucial aspect of protecting your online identity. Securing it through these steps is a way to stay safe against the wide variety of cybercriminals' attacks.
- How safe are smart homes
- Internet of Things security threats
- What is IP spoofing and how to prevent it
- What is Voice Over IP (VOIP)
- Tips to protect yourself from cyberstalkers
What is browser isolation and how does it work?
What is steganography? Definition and explanation
What is extended detection and response (XDR)?
What are NFTs and how do they work?
What is hacking? And how to prevent it
Information Technology Services
- All Services and Software
- Computers and Devices
- Services for Students
- Services for Staff
- Services for Faculty
- Services for Researchers
- Services for IT Professionals
- Services for Guests
- Training and Events
- Online Training Videos (LinkedIn Learning)
- Technology Consulting
- IT Communities/Networking
- Support Information
- IT Service Alerts
- ITS Organization
- IT Strategic Plan
- IT Communities
You are here
- Home ▸
- Services and Software ▸
- Internet and Network ▸
- Local-scope Addressing
What is the difference between a global and local-scope IP address?
A global IP address is meant to be publicly accessible from the Internet.
A local-scope IP address is not routable to the Internet. This means that if your device is assigned local-scope address, your device will not be able to access the Internet, however you will still be able to access campus network resources. A device that requires access to, or reachability from the Internet should be configured with an global IP address.
The University of Iowa is currently assigned the following global IP address ranges:
22.214.171.124 - 126.96.36.199 2620:0:e50::/44 188.8.131.52 - 184.108.40.206
The University of Iowa currently utilizes the following local-scoped IP address range:
172.16.0.0 - 172.31.255.255 fd9a:2c75:7d0c::/48
10.0.0.0/8 (reserved; see https://itsecurity.uiowa.edu/policies-standards-guidelines/network-and-airspace-policy )
Added for Skype Telephony (HCIS-hosted):
10.49.241.0/24 10.49.242.0/23 10.49.244.0/22 10.49.248.0/22 10.49.252.0/23 10.49.254.0/24 10.240.0.0/14
Skip to Main Content
- Change Username/Password
- Update Address
- Payment Options
- Order History
- View Purchased Documents
- Communications Preferences
- Profession and Education
- Technical Interests
- US & Canada: +1 800 678 4333
- Worldwide: +1 732 981 0060
- Contact & Support
- About IEEE Xplore
- Nondiscrimination Policy
- Privacy & Opting Out of Cookies
A not-for-profit organization, IEEE is the world's largest technical professional organization dedicated to advancing technology for the benefit of humanity. © Copyright 2023 IEEE - All rights reserved. Use of this web site signifies your agreement to the terms and conditions.
- Knowledge Base
IPv4 address assignment and usage guidelines
IP addresses are allocated to Leaseweb by the Regional Internet Registries (RIRs) such as RIPE, ARIN and APNIC. In turn, Leaseweb assigns those IP addresses to its customers for use while the customers are connected to the Leaseweb network. IP addresses are assigned abiding the RIPE/ARIN/APNIC policies and in line with RFC2050.
IP address limitations
Due to the depletion of the pool of unallocated IPv4 addresses (IPv4 address exhaustion), Leaseweb cannot get new IP addresses from RIRs. Therefore, the maximum number of IP addresses that can be assigned to customers per service type is limited (shown in the table below):
Larger subnets are available on request. O ur Sales team ( [email protected] ) will be happy to advise you on the next steps needed to request larger subnets of IPs.
One IP address is automatically configured on the server. Extra IP addresses assigned still need to be configured on the server by the customer.
Sharing IP addresses
Since each IP address is administratively assigned to a specific server, it is not possible to share or transfer addresses between servers. If you have your own internal network, it is possible to use a hardware firewall with NAT to reduce the amount of public IP addresses needed.
It is not allowed to configure an IP address on your server that is not assigned to it. Doing so will result in suspension of your server. Please go to the My account > All Products page in your customer portal and select IP to see an overview of the IP addresses available for your servers.
DHCP is not used within the Leaseweb network except under special circumstances, and is not offered by Leaseweb as a service. You are not allowed to run your own DHCP server in a shared environment.
For information about Leaseweb's IPv6 network, please refer to the article on .IPv6 address assignment and usage guidelines v1 .
Ordering additional IP addresses
For Dedicated Server, Bare Metal and Colocation, additional IP addresses and/or subnets can be ordered through the customer portal, using the Request more IPv4 Adresses link under the Actions menu on the product's detail page.
- Fees are fixed and always excluded from any discounts.
- When a subnet is assigned, 5 of the IP addresses are not usable (the network, two router , gateway and broadcast addresses). The fee is applied to all addresses in the subnet.
Canceling additional IP addresses
Canceling additional IP addresses is also possible from the Customer Portal.
Leaseweb can announce your IP addresses within its network. To be able to announce your IP addresses, we need an accepted authorization method. For example, for RIPE ranges, we need you to delegate "mnt-routes" to Leaseweb.
IP Announcement is supported only in Leaseweb ASNs. The minimum range to be announced is a /24. We do allow splitting IP space across the network in the same data center to as small as /26 per rack.
There are no limits set for the amount of announced prefixes. Leaseweb prefers to aggregate the announced prefixes as much as possible. However, there are scenarios when this may differ and Leaseweb can look at per case if there is a valid technical reason.
FAQs about IPv4 address
Can i run my own dhcp server in private network.
Yes, you can. However, it is necessary to disable Leaseweb's DHCP server first. This can be done via the DHCP Reservations toggle switch at the top right of the Private Network page in the Customer Portal:
Note: Disabling the DHCP server also turns the private network into a pure Layer 2 network. Any other services provided on the Private Network will no longer be available.
Can I manage DHCP private network reservations?
Yes, you can. Beside having an overview or list of the active reservation, you also have the possibility to reserve a specific IP address for a client or remove it.
This can be done via the DHCP Reservations toggle switch ( Edit ) at the top right of the Private Network page in the Customer Portal:
Once the wizard is opened you can choose to create a DHCP reservation by entering a valid format of a MAC address of compute resources in your private network and IP address from the designated subnet.
You can also choose to remove an existing reservation or make it stick after the renewal process by selecting the 'Sticky' option.
Note: If you wish to update an active DHCP reservation, you have to re-create by removing and adding it again.
What is IP Announcement ?
IP Announcement (IPAN) enables customers who have their own IP Ranges to announce their IP addresses by Leaseweb. This allows customers to use a larger amount of IPs on a rack or server (than the standard allocation of Leaseweb) and keep the IPs when moving to another provider. The IPAN service is only available for complete racks. IP Announcement is supported only in Leaseweb ASNs. The minimum range to be announced is a /24. We do allow splitting IP space across the network in the same data center to as small as /26 per rack. There are no limits set for the amount of announced prefixes. Leaseweb prefers to aggregate the announced prefixes as much as possible. However, there are scenarios when this may differ and Leaseweb can look at per case if there is a valid technical reason.
Annex A: Useful Links
RIPE NCC policy
Related keywords You can click on any of the keywords below the article to see all related articles for that keyword
Need technical support.
Have a specific challenge with your setup?
Is the content you need not here? Please let us know, we'd love to add it!
Amazon EC2 instance IP addressing
Amazon EC2 and Amazon VPC support both the IPv4 and IPv6 addressing protocols. By default, Amazon VPC uses the IPv4 addressing protocol; you can't disable this behavior. When you create a VPC, you must specify an IPv4 CIDR block (a range of private IPv4 addresses). You can optionally assign an IPv6 CIDR block to your VPC and assign IPv6 addresses from that block to instances in your subnets.
Private IPv4 addresses
Public ipv4 addresses, elastic ip addresses (ipv4), ipv6 addresses, work with the ipv4 addresses for your instances, work with the ipv6 addresses for your instances.
- Multiple IP addresses
EC2 instance hostnames
A private IPv4 address is an IP address that's not reachable over the Internet. You can use private IPv4 addresses for communication between instances in the same VPC. For more information about the standards and specifications of private IPv4 addresses, see RFC 1918 . We allocate private IPv4 addresses to instances using DHCP.
You can create a VPC with a publicly routable CIDR block that falls outside of the private IPv4 address ranges specified in RFC 1918. However, for the purposes of this documentation, we refer to private IPv4 addresses (or 'private IP addresses') as the IP addresses that are within the IPv4 CIDR range of your VPC.
VPC subnets can be one of the following types:
IPv4-only subnets: You can only create resources in these subnets with IPv4 addresses assigned to them.
IPv6-only subnets: You can only create resources in these subnets with IPv6 addresses assigned to them.
IPv4 and IPv6 subnets: You can create resources in these subnets with either IPv4 or IPv6 addresses assigned to them.
When you launch an EC2 instance into an IPv4-only or dual stack (IPv4 and IPv6) subnet, the instance receives a primary private IP address from the IPv4 address range of the subnet. For more information, see IP addressing in the Amazon VPC User Guide . If you don't specify a primary private IP address when you launch the instance, we select an available IP address in the subnet's IPv4 range for you. Each instance has a default network interface (eth0) that is assigned the primary private IPv4 address. You can also specify additional private IPv4 addresses, known as secondary private IPv4 addresses . Unlike primary private IP addresses, secondary private IP addresses can be reassigned from one instance to another. For more information, see Multiple IP addresses .
A private IPv4 address, regardless of whether it is a primary or secondary address, remains associated with the network interface when the instance is stopped and started, or hibernated and started, and is released when the instance is terminated.
A public IP address is an IPv4 address that's reachable from the Internet. You can use public addresses for communication between your instances and the Internet.
When you launch an instance in a default VPC, we assign it a public IP address by default. When you launch an instance into a nondefault VPC, the subnet has an attribute that determines whether instances launched into that subnet receive a public IP address from the public IPv4 address pool. By default, we don't assign a public IP address to instances launched in a nondefault subnet.
You can control whether your instance receives a public IP address as follows:
Modifying the public IP addressing attribute of your subnet. For more information, see Modifying the public IPv4 addressing attribute for your subnet in the Amazon VPC User Guide .
Enabling or disabling the public IP addressing feature during launch, which overrides the subnet's public IP addressing attribute. For more information, see Assign a public IPv4 address during instance launch .
A public IP address is assigned to your instance from Amazon's pool of public IPv4 addresses, and is not associated with your AWS account. When a public IP address is disassociated from your instance, it is released back into the public IPv4 address pool, and you cannot reuse it.
You cannot manually associate or disassociate a public IP (IPv4) address from your instance. Instead, in certain cases, we release the public IP address from your instance, or assign it a new one:
We release your instance's public IP address when it is stopped, hibernated, or terminated. Your stopped or hibernated instance receives a new public IP address when it is started.
We release your instance's public IP address when you associate an Elastic IP address with it. When you disassociate the Elastic IP address from your instance, it receives a new public IP address.
If the public IP address of your instance in a VPC has been released, it will not receive a new one if there is more than one network interface attached to your instance.
If your instance's public IP address is released while it has a secondary private IP address that is associated with an Elastic IP address, the instance does not receive a new public IP address.
If you require a persistent public IP address that can be associated to and from instances as you require, use an Elastic IP address instead.
If you use dynamic DNS to map an existing DNS name to a new instance's public IP address, it might take up to 24 hours for the IP address to propagate through the Internet. As a result, new instances might not receive traffic while terminated instances continue to receive requests. To solve this problem, use an Elastic IP address. You can allocate your own Elastic IP address, and associate it with your instance. For more information, see Elastic IP addresses .
Instances that access other instances through their public NAT IP address are charged for regional or Internet data transfer, depending on whether the instances are in the same Region.
An Elastic IP address is a public IPv4 address that you can allocate to your account. You can associate it to and disassociate it from instances as you require. It's allocated to your account until you choose to release it. For more information about Elastic IP addresses and how to use them, see Elastic IP addresses .
We do not support Elastic IP addresses for IPv6.
You can optionally associate an IPv6 CIDR block with your VPC and associate IPv6 CIDR blocks with your subnets. The IPv6 CIDR block for your VPC is automatically assigned from Amazon's pool of IPv6 addresses; you cannot choose the range yourself. For more information, see the following topics in the Amazon VPC User Guide :
VPC sizing for IPv6
Associate IPv6 CIDR blocks with your VPC
Associate an IPv6 CIDR block with your subnet
IPv6 addresses are globally unique and can be configured to remain private or reachable over the Internet. For more information about IPv6, see IP Addressing in the Amazon VPC User Guide . Your instance receives an IPv6 address if an IPv6 CIDR block is associated with your VPC and subnet, and if one of the following is true:
Your subnet is configured to automatically assign an IPv6 address to an instance during launch. For more information, see Modify the IPv6 addressing attribute for your subnet .
You assign an IPv6 address to your instance during launch.
You assign an IPv6 address to the primary network interface of your instance after launch.
You assign an IPv6 address to a network interface in the same subnet, and attach the network interface to your instance after launch.
When your instance receives an IPv6 address during launch, the address is associated with the primary network interface (eth0) of the instance. You can disassociate the IPv6 address from the network interface.
An IPv6 address persists when you stop and start, or hibernate and start, your instance, and is released when you terminate your instance. You cannot reassign an IPv6 address while it's assigned to another network interface—you must first unassign it.
You can assign additional IPv6 addresses to your instance by assigning them to a network interface attached to your instance. The number of IPv6 addresses you can assign to a network interface and the number of network interfaces you can attach to an instance varies per instance type. For more information, see IP addresses per network interface per instance type .
You can assign a public IPv4 address to your instance when you launch it. You can view the IPv4 addresses for your instance in the console through either the Instances page or the Network Interfaces page.
View the IPv4 addresses
Assign a public ipv4 address during instance launch.
You can use the Amazon EC2 console to view the public and private IPv4 addresses of your instances. You can also determine the public IPv4 and private IPv4 addresses of your instance from within your instance by using instance metadata. For more information, see Instance metadata and user data .
The public IPv4 address is displayed as a property of the network interface in the console, but it's mapped to the primary private IPv4 address through NAT. Therefore, if you inspect the properties of your network interface on your instance, for example, through ifconfig (Linux) or ipconfig (Windows), the public IPv4 address is not displayed. To determine your instance's public IPv4 address from an instance, use instance metadata.
To view the IPv4 addresses for an instance using the console
Open the Amazon EC2 console at https://console.aws.amazon.com/ec2/ .
In the navigation pane, choose Instances and select your instance.
The following information is available on the Networking tab:
Public IPv4 address — The public IPv4 address. If you associated an Elastic IP address with the instance or the primary network interface, this is the Elastic IP address.
Private IPv4 addresses — The private IPv4 address.
Secondary private IPv4 addresses — Any secondary private IPv4 addresses.
Alternatively, under Network interfaces on the Networking tab, choose the interface ID for the primary network interface (for example, eni-123abc456def78901). The following information is available:
Private IPv4 address — The primary private IPv4 address.
To view the IPv4 addresses for an instance using the command line
You can use one of the following commands. For more information about these command line interfaces, see Access Amazon EC2 .
describe-instances (AWS CLI)
Get-EC2Instance (AWS Tools for Windows PowerShell).
To determine your instance's IPv4 addresses using instance metadata
Connect to your instance. For more information, see Connect to your Linux instance .
Use the following command to access the private IP address:
Use the following command to access the public IP address:
If an Elastic IP address is associated with the instance, the value returned is that of the Elastic IP address.
Each subnet has an attribute that determines whether instances launched into that subnet are assigned a public IP address. By default, nondefault subnets have this attribute set to false, and default subnets have this attribute set to true. When you launch an instance, a public IPv4 addressing feature is also available for you to control whether your instance is assigned a public IPv4 address; you can override the default behavior of the subnet's IP addressing attribute. The public IPv4 address is assigned from Amazon's pool of public IPv4 addresses, and is assigned to the network interface with the device index of eth0. This feature depends on certain conditions at the time you launch your instance.
You can't manually disassociate the public IP address from your instance after launch. Instead, it's automatically released in certain cases, after which you cannot reuse it. For more information, see Public IPv4 addresses . If you require a persistent public IP address that you can associate or disassociate at will, assign an Elastic IP address to the instance after launch instead. For more information, see Elastic IP addresses .
You cannot auto-assign a public IP address if you specify more than one network interface. Additionally, you cannot override the subnet setting using the auto-assign public IP feature if you specify an existing network interface for eth0.
The public IP addressing feature is only available during launch. However, whether you assign a public IP address to your instance during launch or not, you can associate an Elastic IP address with your instance after it's launched. For more information, see Elastic IP addresses . You can also modify your subnet's public IPv4 addressing behavior. For more information, see Modifying the public IPv4 addressing attribute for your subnet .
To assign a public IPv4 address during instance launch using the console
Follow the procedure to launch an instance , and when you configure Network Settings , choose the option to Auto-assign Public IP .
To enable or disable the public IP addressing feature using the command line
Use the --associate-public-ip-address or the --no-associate-public-ip-address option with the run-instances command (AWS CLI)
Use the -AssociatePublicIp parameter with the New-EC2Instance command (AWS Tools for Windows PowerShell)
You can view the IPv6 addresses assigned to your instance, assign a public IPv6 address to your instance, or unassign an IPv6 address from your instance. You can view these addresses in the console through either the Instances page or the Network Interfaces page.
View the IPv6 addresses
Assign an ipv6 address to an instance, unassign an ipv6 address from an instance.
You can use the Amazon EC2 console, AWS CLI, and instance metadata to view the IPv6 addresses for your instances.
To view the IPv6 addresses for an instance using the console
In the navigation pane, choose Instances .
Select the instance.
On the Networking tab, locate IPv6 addresses .
Alternatively, under Network interfaces on the Networking tab, choose the interface ID for the network interface (for example, eni-123abc456def78901). Locate IPv6 addresses .
To view the IPv6 addresses for an instance using the command line
To view the ipv6 addresses for an instance using instance metadata.
Use the following command to view the IPv6 address (you can get the MAC address from http://169.254.169.254/latest/meta-data/network/interfaces/macs/ ).
If your VPC and subnet have IPv6 CIDR blocks associated with them, you can assign an IPv6 address to your instance during or after launch. The IPv6 address is assigned from the IPv6 address range of the subnet, and is assigned to the network interface with the device index of eth0.
To assign an IPv6 address during instance launch
Follow the procedure to launch an instance , and when you configure Network Settings , choose the option to Auto-assign IPv6 IP .
To assign an IPv6 address after launch
Select your instance, and choose Actions , Networking , Manage IP addresses .
Expand the network interface. Under IPv6 addresses , choose Assign new IP address . Enter an IPv6 address from the range of the subnet or leave the field blank to let Amazon choose an IPv6 address for you.
Choose Save .
To assign an IPv6 address using the command line
Use the --ipv6-addresses option with the run-instances command (AWS CLI)
Use the Ipv6Addresses property for -NetworkInterface in the New-EC2Instance command (AWS Tools for Windows PowerShell)
assign-ipv6-addresses (AWS CLI)
Register-EC2Ipv6AddressList (AWS Tools for Windows PowerShell)
You can unassign an IPv6 address from an instance at any time.
To unassign an IPv6 address from an instance using the console
Expand the network interface. Under IPv6 addresses , choose Unassign next to the IPv6 address.
To unassign an IPv6 address from an instance using the command line
unassign-ipv6-addresses (AWS CLI)
Unregister-EC2Ipv6AddressList (AWS Tools for Windows PowerShell).
When you create an EC2 instance, AWS creates a hostname for that instance. For more information on the types of hostnames and how they're provisioned by AWS, see Amazon EC2 instance hostname types . Amazon provides a DNS server that resolves Amazon-provided hostnames to IPv4 and IPv6 addresses. The Amazon DNS server is located at the base of your VPC network range plus two. For more information, see DNS support for your VPC in the Amazon VPC User Guide .
Thanks for letting us know we're doing a good job!
If you've got a moment, please tell us what we did right so we can do more of it.
Thanks for letting us know this page needs work. We're sorry we let you down.
If you've got a moment, please tell us how we can make the documentation better.
Global IP address checker
Global IP address checker Global IP address checker -->
It is a tool that can check and examine own global IP address and host names with their global IP address(Connection host name of the provider that primarily owns)on the WEB.
What is IP address
Identification number that is assigned to computer that is connected to an IP network such as the Internet or an intranet and one by one communication equipment. Because on the Internet should not be overlap to this number, such as the allocation of IP address management is each country of NIC (Network Information Center).
Networks such as the Internet is used Protocol(communications protocol) called IP(Internet Protocol) for communication between devices. IP address is something like the address of the individual communication equipment and computers in the network , which is operated in this IP. In is currently widespread " IPv4 " (Internet Protocol version 4),32-bit numbers separated into four eight bits in the IP address is used as such as " 220.127.116.11 " , expless decimal number to four side-by-side from 0 to 255.
IP address is a list of mere figures Since this remains in the hard to remember for the human beings,in many cases the name (domain name or host name) is attached to a computer or network,interconversion of IP addresses is performed by the system of " DNS " (Domain Name System).Becuse of this ,in the eyes of the IP address itself when you use the Internet everyday ,consciousness to such a scene is not very many.
In the current IPv4,32 bit about 42 million units numerical value, which is the upper limit that can be identified by (the 32th power of2) it can not be connected to one network(less than this in the actual operation) , IP address to be used in the Internet is a concern that becomes insufficient. Therefore,in place of using a large number of devices, such as enterprises,use a private address that can be used freely without limit in the organization within the network,Installation of the equipment to perform the address translation of the global address to the boundary between the Internet operation methods, such as have been widely used.
Also , IPv6 of the next generation are used in 128 bit IP address,the 128th power of 2 a simple calculation,about 340 undecillion,about 3.40×1038 pieces of the IP address is available to become,if the transition to IPv6 for the time being between IP address is said to be worried about is not insufficient.
What is global address
Uniquely assigned IP addresses to devices connected to the Internet. In case of the address in the internet,it is always necessary for communication over the Internet.IANA has to centrally manage,assigned to each organization by the NIC of the countries.
What is private address
Uniquely assigned IP addresses to devices connected to the network in the organization.Although it is possible that even without an application to the NIC freely assigned within the organization ,because the uniqueness on the Internet is not guaranteed,it is not directly possible to perform communication through the Internet.
What is host name
Name for a computer that is connected to a network to be human is easy to identify.It varies depending on the system , it is often to set the number alphanumeric characters.
Most of the commonly used is the terminal identifier of the left part of the domain name to be used the Internet, etc,and a Windows network computer name (NetBIOS name ).
Domain name of the TCP / IP network,it is managed in a hierarchical structure of the network ,the network name of each hierarchy is represented side by side,separated by ".".Among these , is a name that identifies the most to the left identifier of individual computer , which is called the host name.
Computer names used in Windows networks,when performing sharing and file connected to the LAN ,it is used to identify a computer on the network.
※This program is created and confirm the operation in PHP5.2.6. ※If you have any inquiries, opinions, or requests that you would like to make, please fill out the following form
News ＆ Topics
PAGE TOP PAGE TOP
The simplest way to determine a computer’s IP address is to use a website such as What Is My IP Address that retrieves your IP address and displays it for you. There are also various manual methods to determine a computer’s IP address.
There are several ways to change your IP address, including unplugging your modem, using a different Internet connection, using a proxy server and contacting your Internet service provider.
You may hear the term IP address as it relates to online activity. Learn how to locate your IP address or someone else’s IP address when necessary. A common type of IP address is known as an IPv4 address. This IP address has four three-digi...
The IANA functions coordinate the Internet's globally unique identifiers, and are provided by Public Technical Identifiers, an affiliate of ICANN. Privacy
192.0.0.0/24 reserved for IANA IPv4 Special Purpose Address Registry [RFC5736]. Complete registration details for 192.0.0.0/24 are found in [
The Internet Assigned Numbers Authority (IANA) is a standards organization that oversees global IP address allocation, autonomous system number allocation
Public IP addresses may be used for communication between hosts on the global Internet. In a home situation, a public IP address is the IP address assigned to
IP addresses are not random. They are mathematically produced and allocated by the Internet Assigned Numbers Authority (IANA), a division of the Internet
A global IP address is meant to be publicly accessible from the Internet. A local-scope IP address is not routable to the Internet.
The RIRs are organizations responsible for allocation of address space within their respective global regions from their corresponding space allotments from
Still, with more than four billion IP addresses assigned worldwide, it's a bit overwhelming for just one single organization to handle, so IANA has some help
Since each IP address is administratively assigned to a specific server, it is not possible to share or transfer addresses between servers. If you have your own
Follow the procedure to launch an instance, and when you configure Network Settings
Because on the Internet should not be overlap to this number, such as the allocation of IP address management is each country of NIC (Network Information Center)