blog posts

It Is Important To Know The Meaning Of Private And Public IP Addresses And Their Differences. In This Article, We Will Review The Differences And How These Two Types Of Ips Work.

What Are Public And Private IP Addresses And What Are The Differences Between The Two?

It Is Important To Know The Meaning Of Private And Public IP Addresses And Their Differences. In This Article, We Will Review The Differences And How These Two Types Of Ips Work.

When it comes to IP addresses, “public” and “private” modifications may seem familiar. If you are unfamiliar with these two terms, explaining them may seem confusing, but understanding them is essential.

Before explaining private and public IPs, it is better to talk about how IPs work. This article will compare public and private IP addresses to see how these protocols work on the modern Internet.

What is an IP address?

Before examining private and public IP addresses, Mikozu suggests that we first read the IP address. An IP address stands for “Internet Protocol Address” and, as its name implies, includes numbers used to identify computers and other devices on the network.

You may have assigned a name to your computer to identify your device. Of course, computers work better with numbers; Therefore, when your computer tries to communicate with another device or computer on the network or the Internet, it will send the information to that destination’s IP address. Today, we still generally use IPv4 addresses with a general format of 192.168.10.1.

Like when you send a letter to a specific address in a region, the IP address allows the computer to send the data to another device. When you visit websites, your computer connects to the IP address of the webserver in question to download content.

What is a public IP address?

A public IP address refers to an address that points your home network to the rest of the Internet. Because most personal networks use a router to connect to the Internet, your router’s public address is reserved.

Then, since all your home devices are connected to the Internet through the router, they use the router’s public IP address when going online.

It does not matter what device you use, desktop, phone, happy home devices, or …, because it will make the Internet connection through your public IP. Each computer can also use its public IP to access the router.

Post

Some users pay extra for Internet Service Providers (ISPs) to get a fixed IP address, An address that most users probably do not need. If you have not purchased a static IP, your public IP address will be dynamic. It means that your ISP uses a new IP address to connect to the Internet and changes it from time to time.

It is historical; Because in the early days of the Internet, most people only connected to the network for a short time. It should note that assigning a fixed IP address to each user is not reasonable if their connection time is not long enough. Public IP addresses are also called global or foreign IPs. All of these terms ultimately refer to the same meaning.

What is a Private IP Address?

A private IP address is an address that is only used for devices inside your home network, and other devices on the Internet outside of your home will not have access to these addresses. Instead, a private IP address connects the home network’s internal devices; Therefore, your router knows where to send the received information.

Private IP addresses used on the home network are also used on thousands of other networks. For example, the IP address of your smartphone on your home network maybe 192,169,100.17. This address is not unique, and people in your neighborhood may use the same private IP address to connect their devices to the router and, eventually, the Internet.

Private IP

It is worth noting that these addresses do not overlap; Because they are used in separate networks. If you have two identical ID addresses on a private network, you will have an IP conflict. In addition, personal IP addresses may be known as local IPs or internal IPs; But in the end, the meaning of all these terms is the same.

How do public and private IP addresses work together?

To illustrate how private and public IP addresses. If you lived on campus and wanted to send a letter to the holder of box 561, you could write “box 561” on the envelope and drop it in the university mailbox. Then, the staff will quickly deliver your mail to the recipient.

However, if you lived off-campus and wanted to send a letter to the owner of box 561, you could not just put the word “box 561” in the envelope and put it in the standard mailbox. Post staff, in this case, do not know to which building the letter should send; Because there are many 561 fund locations in the country.

If you did not enter the fund number, the post office staff would not know which fundholder at the university is the primary recipient of the letter. Instead, you should send the letter to the address of the university building and use the phrase “Box 561” to continue the lesson. In this example, the address of the university building is similar to the public IP address, while the student fund number acts as a private IP address.

NAT and the evolution of the Internet Protocol

NAT, “Network Address Translation,” is a crucial term for in-home networks associated with private and public IP addresses. Then NAT allows your router to share a public IP on many personal IP addresses.

Your router uses NAT to track incoming traffic and then send it to the device on your network; For this reason, you can play online games while one instrument is playing music from another input, in which case both operations will work properly.

NAT is critical; Because in the world, IP addresses under IPv4, the current version of the Internet Protocol, are gone. There are just over four billion potential IP addresses, and due to the large number of Internet-connected devices worldwide, the stock of unused IPs has been depleted.

The solution to this problem is to use IPv6, which can be considered a new generation of Internet protocol. This protocol uses 128-bit (2 128 ) addresses and has ample space to provide many IP addresses (3.4 times 10 to the power of 38). This figure is so large that it is impossible to understand. Our IPv6 addresses will not run out for very long. An example of a version 6 IP address is: 2001: db8: 8a2e: 370: 7334.

How to find your public and private IP address?

Finding both types of IP addresses for Internet-connected devices is not easy, and most of the time, you do not need to worry about it; But there are situations where it is essential to know the IP address.

IP in Google

  • Speed ​​up browsing with a few clicks: Learn about DNS.

To check the public IP address of your home network, you can enter the phrase “What’s My IP” in the Google search engine. After entering the words, Google will show you a box containing your public IP address. Note that this address may change from time to time; So, so if you try to get your public IP again in a few days or weeks, you will probably come across a new address, and you should not be too surprised.

Finding your private IP address depends on the platform you are using. You can use the following methods for Android and IOS operating systems for smartphones.

Find IP address in Android.

  • First, enter the settings of your Android phone and then go to Network & Internet> Wi-Fi.
  • If you are not already connected to the Wi-Fi network, tap the network’s name you want and connect to it.
  • Tap the network name and enter the Advanced section.
  • This section can view your IP address and other network information.

Android IP

Find an IP address in Iowa

  • Go to Settings> Wi-Fi.
  • If you are not already connected to your home network, tap the network name you want to connect to it.
  • Tap on the network name and open the Options section to show you the various network information.
  • In this section, you can see the IP address under the heading IPv4 Address.

IPhone ip address

 

Private and public IP addresses make the Internet work.

Both private and public IP addresses are essential, and in most cases, they work correctly without the need for user intervention. Understanding how both IP addresses work will help you better understand how the Internet works. Public IPs allow all local area networks to be widely identified on the Internet, While private IP addresses reduce the use of IPv4 addresses. As a result, your router can manage the traffic of all your home devices.