Skip to content
Related Articles

Related Articles

Difference between Private and Public IP addresses

Improve Article
Save Article
  • Difficulty Level : Basic
  • Last Updated : 22 Jul, 2022
Improve Article
Save Article

Private IP address of a system is the IP address that is used to communicate within the same network. Using private IP data or information can be sent or received within the same network. 

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

Difference between Private and Public IP address:

S.No.PRIVATE IP ADDRESSPUBLIC IP ADDRESS
1.The scope of Private IP is local.The scope of Public IP is global.
2.It is used to communicate within the network.It is used to communicate outside the network.
3.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.
4.It works only on LAN.It is used to get internet service.
5.It is used to load the network operating system.It is controlled by ISP.
6.It is available free of cost.It is not free of cost.
7.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.
8.

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, the rest are public.
 Example: 192.168.1.10Example: 17.5.7.8
9.Private IP uses numeric code that is not unique and can be used againPublic IP uses a numeric code that is unique and cannot be used by other
10.Private IP addresses are securePublic IP address has no security and is  subjected to attack
11.Private IP addresses require NAT to communicate with devicesPublic IP does not require a network translation
My Personal Notes arrow_drop_up
Related Articles

Start Your Coding Journey Now!