blog

What Is Public Ip and Private Ip?

pblic ip
pblic ip

What are Public IP Addresses?

The public IP address of a system is the IP address that is used to communicate outside the network. The public IP address is basically given by ISP (Internet Service Provider). Public IP addresses are required for any publicly accessible network hardware such as home routers and servers that host websites.

What is a Private IP Address?

A private IP address, sometimes called a local IP address, is an IP address reserved for use on devices in a private network. These devices cannot be accessed by devices outside their private network.

In IP networking, a private network is a network that uses the private IP address space. Both, the IPv4 and IPv6 specifications define the private IP address range. These addresses are commonly used for local area networks in residential, office, and enterprise environments.

Private IP addresses are both static and dynamic, but these IPs are different from public IP addresses; private IP addresses are not unique; other devices can use the same address, provided they are not on the same network. This is because devices on private networks cannot communicate with external devices.

Which IP Addresses Are Private IPs?

The Internet Assigned Numbers Authority (IANA) reserves the following IP address blocks for use as private IP addresses

10.0.0.0 to 10.255.255.255- In this, IP addresses can be given to more than 16 million devices.
172.16.0.0 to 172.31.255.255- In this, IP addresses can be given to more than 1 million devices.
192.168.0.0 to 192.168.255.255 In this, IP addresses can be given to more than 65,000 devices.
Another range of private IP addresses is 169.254.0.0 to 169.254.255.255, but IP addresses in this range are only for Automatic Private IP Addressing (APIPA). In 2012, IANA allocated 4 million addresses of 100.64.0.0/10 for use in carrier-grade NAT environments.

What are the advantages and disadvantages of using a private IP?


Private IP addresses have both advantages and disadvantages, but one of the main reasons for choosing a private IP address over a public IP address is that it can enhance security. Read below to know what are the advantages and disadvantages of private IP addresses.

Advantages of private IP :


Data protection and privacy. One of the biggest reasons to use a private IP is privacy. Since private networks cannot communicate with any external devices, no data can enter or exit the network. This means sensitive data can only be accessed from your Network LE devices, making this setup perfect for small businesses that handle a lot of data.
Security. A private IP address is usually more secure than a public IP network, due to the lack of access, it becomes more secure and therefore it is more difficult for malware and viruses to make their way onto a network when it Closes from outside access.

Disadvantages of Private Ip:

Higher maintenance requirements. Private networks can be slightly more expensive to maintain than a typical public network, mostly due to the non-standard configuration and additional setup for the network interface.
Lack of outside communication. The biggest advantage of a private network is that you cannot communicate with the outside network and this is also its biggest disadvantage. Since the devices on the network cannot communicate with the Internet at large. A small business with all of its computers on a private network, for example, won’t be able to access vendor and supplier websites or send emails outside the company. Doing so would require a second, open network, which could further increase the cost.

What is the difference between a Public IP address and a Local IP address?

The private IP address of a system is the IP address that is used to communicate within the same network. Information can be sent or received within the same network using a private IP.

The public IP address of a system is the IP address that is used to communicate outside the network. The public IP address is basically given by ISP (Internet Service Provider).

Difference between PRIVATE IP ADDRESS PUBLIC IP ADDRESS

Following are the differences between private IP and public IP addresses.


The scope is local. The scope is global.
It is used to communicate within the network. It is used to communicate outside the network.
Private IP addresses of the systems connected in a network differ in a uniform manner. Public IP may differ in a uniform or non-uniform manner.
It works only in LAN. It is used to get internet service.
It is used to load the network operating system. It is controlled by ISP.
It is available free of cost. It is not free of cost.
Private IP can be known by entering “ipconfig” on the command prompt. Public IP can

be known by searching “what is my IP” on google.
Range:
10.0.0.0 – 10.255.255.255,
172.16.0.0 – 172.31.255.255,
192.168.0.0 – 192.168.255.255
Range:
Besides private IP addresses, rest are public.
Example: 192.168.1.10Example: 17.5.7.8


What is the range of Public IP Addresses?

Some IP addresses are reserved for public use and others for private use. That’s why with private IP addresses you cannot access public networks, meaning the Internet, because they are not able to communicate properly unless they are allowed to access the Internet through a router.

The following categories are reserved by the Internet Assigned Numbers Authority (IANA) for use as private IPv4 addresses:

Class Starting IP Address Ending IP Address # of Hosts
A 10.0.0.0 10.255.255.255 16,777,216
B 172.16.0.0 172.31.255.255 1,048,576
C 192.168.0.0 192.168.255.255 65,536

Note – To know the public IP address of your system, type “whatismyipaddress” on Google and enter and see your public IP.

admin
the authoradmin