An IP address, short for Internet Protocol address, is an identifying number for a piece of network hardware. An IP address allows a device to communicate with other devices over an IP-based network like the internet.

Most IP addresses look like this:
151.101.65.121 (this is an IP exam.)

Other IP addresses you might come across could look more like this:
2001:4860:4860::8844

Below is much more on what those differences mean in the IP Versions (IPv4 vs. IPv6) section.

What is your IP address
What is your IP address

What Is an IP Address Used For?

An IP address provides an identity to a networked device. Similar to a home or business address supplying that specific physical location with an identifiable address, devices on a network are differentiated from one another through IP addresses.

If I send a package to my friend in another country, I have to know the exact destination. It’s not enough to just put a package with his name on it through the mail and expect it to reach him. I must instead attach a specific address to it, which you could do by looking it up in a phone book.

This same general process is used when sending data over the internet. However, instead of using a phone book to look up someone’s name to find their physical address, your computer uses DNS servers to look up a hostname to find its IP address.

For example, when I enter a website like www.black.host into my browser, my request to load that page is sent to DNS servers that look up that hostname (black.host) to find its corresponding IP address (xxx.xxx.xx.xxx).

Without the IP address attached, my computer will have no clue what it is that I’m after.

Different Types of IP Addresses

Even if you’ve heard of IP addresses before, you may not realize that there are specific types of IP addresses. While all IP addresses are made up of numbers or letters, not all addresses are used for the same purpose.

There are three types of IP addresses:

  • Private IP address
  • Public IP address
  • Static IP address

That’s quite a variety! Following those links will give you more information on what they each mean. To add to the complexity, each type of IP address can be an IPv4 or IPv6 address. But you can find more on that at the bottom of this page.

In short, private IP addresses are used “inside” a network, like the one you probably run at home. These types of IP addresses are used to provide a way for your devices to communicate with your router and all the other devices in your private network. Private IP addresses can be set manually or assigned automatically by your router.

Public IP addresses are used on the “outside” of your network and are assigned by your ISP. It’s the main address your home or business network uses to communicate with the rest of the networked devices worldwide (i.e. the internet). It provides a way for the devices in your home, for example, to reach your ISP and, therefore, the outside world, allowing them to access websites and communicate directly with other people’s computers.

Both private IP addresses and public IP addresses are either dynamic or static, meaning that they either change or don’t.

An IP address assigned by a DHCP server is a dynamic IP address. If a device does not have DHCP enabled or does not support it, then the IP address must be assigned manually, in which case the IP address is called a static IP address.

How to Find Your IP Address

Different devices and operating systems require unique steps to find the IP address. There are different steps to take if you’re looking for the public IP address provided to you by your ISP or if you need to see the private IP address that your router handed out. You can check these steps below 👇

Finding Your Public IP Address

There are many ways to find your router’s public IP address but sites like Black.HOSTIP ChickenWhatsMyIP.org, or WhatIsMyIPAddress.com make this super easy.

These sites work on any network-connected device that supports a web browser, like your smartphone, iPod, laptop, desktop, tablet, etc. However, finding the private IP address of the specific device you’re on is more complex.

Linux users can launch a terminal window and enter the command hostname -I (that’s a capital “i”), ifconfig, or ip addr show.

For macOS, use the command ifconfig to find your local IP address.

iPhone, iPad, and iPod touch devices show their private IP address through the Settings app in the Wi-Fi Menu. To see it, tap the small “i” button next to the connected network.

You can see the local IP address of an Android device through Settings âž› Wireless Controls âž› Wi-Fi Settings. Just tap on the network you’re on to see a new window that shows network information that includes the private IP address.

IP Versions (IPv4 vs IPv6)

There are two versions of IP:

  • IPv4
  • IPv6. 

If you’ve heard of these terms, you probably know that the former is the older and now outdated version, while IPv6 is the upgraded IP version.

One reason IPv6 is replacing IPv4 is that it can provide a much larger number of IP addresses than IPv4 allows. With all the devices we have constantly connected to the internet, there must be a unique address available for each one of them.

The way IPv4 addresses are constructed means it can provide over 4 billion unique IP addresses (232). While this is a huge number of addresses, it’s just not enough for the modern world with all the different devices people use on the internet.

Think about it – there are several billion people on earth. Even if everyone on the planet had just one device they used to access the internet, IPv4 would still be insufficient to provide an IP address for all of them.

IPv6, on the other hand, supports a whopping 340 trillion, trillion, trillion addresses (2128). That’s 340 with 12 zeros! That means every person on earth could connect billions of devices to the internet. True, a bit of an overkill, but you can see how effectively IPv6 solves this problem.

Visualizing this helps understand just how many more IP addresses the IPv6 addressing scheme allows over IPv4. For example, pretend a postage stamp could provide enough space to hold each and every IPv4 address. IPv6, then, to scale, would need the entire solar system to contain all of its addresses.

In addition to the greater supply of IP addresses over IPv4, IPv6 has the added benefit of no more IP address collisions caused by private addresses, auto-configuration, no reason for Network Address Translation (NAT), more efficient routing, easier administration, built-in privacy, and more.

IPv4 displays addresses as a 32-bit numerical number written in decimal format, like 207.241.148.80 or 192.168.1.1. However, because there are trillions of possible IPv6 addresses, they must be written in hexadecimal to display them, like 3ffe:1900:4545:3:200:f8ff:fe21:67cf.

Was this article helpful?