A public IP address is assigned to you by your internet service provider. It’s a unique alphanumeric string used by your router to identify you to websites and apps online. A private IP is assigned by your router to devices on your local area network. It helps the router relay information received from websites to the correct device. Private IP addresses needn’t be unique since and can be reused.

Public and private IPs differ in the functions they perform and their uniqueness. They also differ in terms of traceability: public IP addresses can be tracked by sites, ISPs, and the government. Conversely, private IP addresses are only visible to other devices on your local network and cannot be tracked by websites or ISPs. Hackers can also use your private IP to track down connected devices. Hence, it makes sense to safeguard both your public and private IP addresses by using a virtual private network. A VPN encrypts your internet activity and changes your IP address. This helps prevent tracking, surveillance and hacking. NordVPN is an excellent VPN provider as it’s safe, reliable, and fast. While most users know about an IP address, many aren’t aware that there are two kinds of IP addresses. These are private IP addresses and public IP addresses. Both play an important role in connecting users to the internet. This article breaks down the differences between public and private IP addresses. We explain the utility of each and highlight the role they can play in keeping your internet activity private and secure.

Public IP Address vs. Private IP Address: Overview

A public IP address refers to the unique identifier assigned to your internet connection by your internet service provider. Your router uses your public IP address to identify you to the rest of the internet. This ensures that websites, emails, and other content on the internet reach you correctly. On the other hand, the private IP address identifies different devices connected to the same local network. Once your router has received information from the global network, it needs to know which device to send it to. The private IP address helps the router identify different devices on your network and forward the information correctly. The following table captures the major differences between a public and a private IP address. A breakdown of both kinds of IP addresses is provided in the next section.

What Is a Public IP Address?

A public IP address is an IP assigned to your router by your internet service provider. It’s also known as an external IP address since websites, servers, and apps on the global network use it to identify you. The visualization below should help understand how a public IP address works.

A public IP address acts as your gateway to the internet, and you usually can’t go online without one. Your public IP address must be visible to sites and web pages to correctly communicate with websites.

What Is a Private IP Address?

Your router sends data packets from connected devices to servers on different websites. Once packets are received, they need to be forwarded to the relevant device. With several devices connected to the router at one time, it uses your private IP address to distinguish and relay this information. It can do this by using your device’s private IP address, a numerical identifier assigned to each device on the local network. A private IP address is also known as the local IP address. Think of the private IP address as the room, floor, or dorm number on your postal address. Once the letter arrives at your building, the specific room/floor number helps ensure the letter reaches you instead of any other residents. Unlike a public IP address, your private IP address is not visible to other websites. Instead, it’s only visible to other devices on your network. You can usually check the private IP addresses of all devices connected to the router via its settings.

What Are the Differences Between Private and Public IP Addresses?

Now that we know what public and private IP addresses are, let’s understand the key differences between them.

Utility

As the previous section illustrates, both public and private IP addresses serve different purposes. While your router uses the public IP address to identify you to websites on the internet, the private IP address is used to identify different devices on your local network. However, both private and public IP addresses work together to provide internet connectivity. Websites on the internet send information to your router using a public IP address. Your router then forwards this information to the relevant device’s private IP address using network access translation (NAT). But why are private IP addresses needed in the first place? Why can’t each device have its own unique external IP? To answer this question, let’s first understand what IPv4 is. IPv4 is the most widely used internet protocol. It was launched in 1970 and comprises 32-bit numeric strings. As a result, it can only support 4 billion unique addresses, which is obviously less than the number of connected devices out in the world today. Therefore, allotting private IP addresses to devices on the same network is a way to conserve IPv4 addresses. However, we are in the midst of a transition to IPv6 which comprises 128-bit alphanumeric strings. Hence, IPv6 supports 340 undecillion possible combinations, which should be more than enough for the foreseeable future!

Predetermined ranges

Both public and private IP addresses fall within certain predetermined ranges of numeric strings to make the entire framework systematic and logical. The Internet Assigned Numbers Authority (IANA) distributes private IP addresses to companies worldwide. IP addresses used by some of the leading router manufacturers are: Conversely, public IP addresses usually comprise numeric strings not assigned to any private ID addresses. Moreover, each public IP address is unique and cannot be reused while private IP addresses are regularly reused across different routers.

How to check your public and private IP address

At this stage, you’re probably curious about the public and private IP addresses currently assigned to you. Well, it’s rather easy to view your public IP address. You can search for “what is my IP address?” on Google, or just visit NordVPN to check it. In fact, the table below should show your IP address and location. While this may seem cool, it opens up possibilities for tracking and surveillance on the internet (discussed in the next section). function geoip(json) { var div = document.getElementById(‘ip-adres’); div.innerHTML=”+json.ip+”; var div = document.getElementById(‘land’); div.innerHTML=”+json.country+”; var div = document.getElementById(‘stad’); div.innerHTML=”+json.city+”; var div = document.getElementById(‘provincie’); div.innerHTML=”+json.region+”; var div = document.getElementById(‘tijdzone’); div.innerHTML=”+json.timezone+”; var div = document.getElementById(‘organisatie’); div.innerHTML=”+json.organization+”; } Determining your private IP address requires a few more steps. You can follow the steps outlined below to check your private IP address on Mac and Windows. Determining your private IP address on a Mac: View your private IP address on Windows:

Traceability

As we mentioned earlier, websites and servers use the public IP address to identify you online. Hence, the public IP must be visible to these sites. While this is important to facilitate the flow of information from websites to your router, it also opens up possibilities for surveillance and tracking. Many websites, advertisers, governments, and ISPs use your public IP address to track and monitor your activity. Conversely, a private IP address is visible only to other devices on your network. This usually does not lead to any problems or security risks. However, if a hacker or third-party gains access to your local network, the private IP address can be used to target different devices on your network and infect them with malware, such as killware, worms, and trojans. Hence, it makes sense to hide both your public IP address to protect your anonymity online. Using a virtual private network is an easy way to do this. A VPN encrypts your internet activity and changes your public IP address. As a result, your internet activity can no longer be tracked online. Furthermore, a VPN also hides your device’s private IP from other devices on the network. It also helps avoid state-imposed censorship and geo-blocks imposed by streaming websites, such as Netflix and Hulu. We highly recommend NordVPN as it’s safe and reliable, offers excellent speeds, and has servers all over the world. There are other ways to change a public IP address as well, such as by using a proxy. However, this isn’t as effective as using a VPN.

Public vs. Private IP: Conclusion

This article explains the difference between public and private IP addresses. Both are vital to internet connectivity but serve very different purposes. A public IP address helps identify you to websites on the internet. However, a private IP address identifies different devices on the same network. It’s sensible to use a VPN to hide both your public and private IP address as it helps avoid possible surveillance and tracking. A private IP address is used by your router to identify different devices on your local network. Unlike a public IP address, it can only be viewed by other devices on your network and needn’t be unique. These are just some of the several differences between public and private IP addresses. Finding out your private IP address requires you to play around with system settings a little bit. On a Mac, for example, you’ll need to follow the steps listed below to determine your private IP: You can get more information in our article on the main differences between public and private IP addresses.

Public vs  Private IP Address  How Are They Different  - 27Public vs  Private IP Address  How Are They Different  - 26Public vs  Private IP Address  How Are They Different  - 27Public vs  Private IP Address  How Are They Different  - 41Public vs  Private IP Address  How Are They Different  - 45Public vs  Private IP Address  How Are They Different  - 42Public vs  Private IP Address  How Are They Different  - 29Public vs  Private IP Address  How Are They Different  - 44Public vs  Private IP Address  How Are They Different  - 42Public vs  Private IP Address  How Are They Different  - 19Public vs  Private IP Address  How Are They Different  - 51Public vs  Private IP Address  How Are They Different  - 68