An Internet Protocol address (IP address) is a numerical sequence used to identify a connected device on a network. The internet relies on IP addresses to locate connected devices, just as you use a mailing address to find the nearest Taco Bell or send fan mail to your favorite influencers.
From a user’s perspective, the internet seems simple. You turn on your favorite device, open a browser, and you’re off. However, behind the scenes, things are much more complicated. And with nearly 30 billion connected devices by 2023, keeping track of each device is no easy task.
That’s why networking devices follow built-in protocols to route online requests. An IP address is a critical component of the equation.
We’ll explain what you should know about IP addresses, including different types; how they relate to DHCP, domains, and VPNs; and how to find yours.
Private IP address vs. public IP address
The private IP address, also known as the local or internal IP address, is the identifier used by your network router to recognize connected devices. A public IP address, also called an external or global IP address, is the public-facing identifier assigned to your router by your internet service provider (ISP) to connect your network to the broader internet.
Dynamic IP address vs. static IP address
As the names imply, a dynamic IP address changes, while a static address stays the same. ISPs typically rely on dynamic IP addresses that they automatically assign and reassign. This is generally easier to maintain and more secure.
Static IP addresses provide more consistent access, making them well suited to businesses that allow employees to log in remotely via VPN and those that host their own internet services or websites. However, static IP addresses are typically more expensive and easier for hackers to target.
Dedicated IP address vs. shared IP address
A domain may have its own unique IP address, which is known as a dedicated IP address. However, in many cases, the domain will share its IP address with other websites on the server. This is particularly common with WordPress hosting providers. Businesses can generally get a dedicated IP address at an additional cost. In some cases, it may be beneficial for speed and security.
IPv4 is the fourth version of the Internet Protocol originally deployed in 1983. While IPv4 has been the standard since well before the internet became popular, it’s at a major turning point. With more and more devices connected to the internet and only 4.3 billion possible IPv4 addresses, there aren’t enough to go around. Therefore, IPv4 is likely to become obsolete by 2040.
What do the numbers in an IPv4 address mean?
This internet protocol version uses a 32-bit address divided into four 8-bit parts or octets separated by dots. Each octet consists of a number between 0 and 255 that represents a binary number. The first portion is the network ID, while the last section is the host ID.
IPv4 addresses for devices on a Class A network (up to 17 million computers) identify the network in the first octet and the host in the last three octets.
IPv4 addresses for devices on a Class B network (up to 65,000 computers) have two octets for the network ID and two for the host ID.
IPv4 addresses for devices on a Class C network (up to 254 computers) use the first three octets to indicate the network ID and the last octet for the host ID.
An IPv4 address might look like this: 126.96.36.199
IPv6 is the sixth IP version. The Internet Engineering Task Force (IETF) ratified it as an Internet Standard in 2017, and IPv6 is now poised to take the place of IPv4. With 340 undecillion possible IPv6 addresses, the supply is unlikely to run out anytime soon.
What do the numbers in an IPv6 address mean?
IPv6 uses a 128-bit address divided into eight 16-bit parts or hextets separated by colons. Each hextet consists of letters and numbers that represent a binary sequence. Hextets consisting of just zeros can be omitted, so some IPv6 addresses contain double colons.
Each IPv6 address includes the following parts:
The first 64 bits (four hextets) is the network part, consisting of the routing prefix (48 bits) and the subnet ID (16 bits). The remaining 64 bits (four hextets) is the node part, which contains the interface ID.
An IPv6 address might look like this: 5856:80bf:a3ac:30b0:069b:31ab:b981:50f4
How does DHCP relate to IP addresses?
Dynamic Host Configuration Protocol (DHCP) automatically assigns IP addresses to network-connected devices via a DHCP server. When an address is no longer in use, it is returned to the address pool for reuse. This carries several potential benefits:
Lower likelihood of errors and typos
IP address optimization
IPv4 DHCP servers and DHCPv6 servers are available. For businesses transitioning from IPv4 to IPv6, a dual-protocol DHCP server that supports both IPv4 and IPv6 may be the best solution.
How does an IP address relate to a business's website domain?
Computers, servers, and other devices use numbers to communicate with each other, but humans use plain language. Let’s face facts: It’s easier to remember a name than a number. For instance, Google.com has more of a ring to it than 188.8.131.52. That’s why humans use the alphabetic Domain Name System (DNS) for easy-to-remember domain names that translate to the website's actual IP address. Think of the domain name as a link that channels internet traffic to the IP address.
How do VPNs relate to IP addresses?
A VPN masks your IP address and encrypts your data, essentially creating a private tunnel to protect your internet activity. Since your IP address can reveal your geolocation and online identity, threat actors could use this information to impersonate you or target you with cyber attacks. With your IP address, a savvy cybercriminal could potentially:
Monitor your activity: Monitoring activity is nothing new. Many advertisers do this to display more targeted ads. But in the wrong hands, this information can be used for more targeted social engineering attacks or spam.
Determine your location: Once someone has your IP address, they can often suss out your location. For many businesses, this isn’t a problem. However, if you don’t publicly disclose where your employees are located, you might prefer to maintain their privacy.
Engage in illegal activity: An adversary might use your IP address to impersonate you and access illegal content, make threats, or commit other online crimes.
Attack you: Distributed denial of service (DDoS) attacks flood the server with traffic until it slows or crashes. Alternatively, a hacker may attempt to force a connection to steal information or install malware.
How do you locate your IP address?
Locating your public IP address
Finding your public IP address is remarkably simple. Just Google “find my IP address,” and it will appear in the results. Many websites, like WhatIsMyIPAddress.com, also offer to show you your public IP address if you want to double-check to make sure Google knows what it’s talking about.
Locating your private IP address
Finding your private IP address is a bit more complicated. Here’s how to do it for common devices:
Inputcmd in the Windows search box
Open the Command Prompt app
Go to System Preferences
Go to Settings
Find the network you are on
Click the i in the circle next to it