Internet Protocol (IP) addresses are usually of two types: Public and Private. If you have ever wondered to know what is the difference between a public and a private IP address, then you are at the right place.
In this post I will try to explain the difference between a public and a private IP address in layman’s terms so that it becomes simple and easy to understand.
What are Public IP Addresses?
A public IP address is assigned to every computer that connects to the Internet where each IP is unique. In this case, there cannot exist two computers with the same public IP address all over the Internet. This addressing scheme makes it possible for the computers to “find each other” online and exchange information. User has no control over the IP address (public) that is assigned to the computer. The public IP address is assigned to the computer by the Internet Service Provider as soon as the computer is connected to the Internet gateway.
A public IP address can be either static or dynamic. A static public IP address does not change and is used primarily for hosting web pages or services on the Internet. On the other hand, a dynamic public IP address is chosen from a pool of available addresses and changes each time one connects to the Internet.
Most Internet users will only have a dynamic IP assigned to their computer which goes off when the computer is disconnected from the Internet. Thus when it is re-connected it gets a new IP.
You can check your public IP address by visiting www.whatismyip.com
What are Private IP Addresses?
An IP address is considered private if the IP number falls within one of the IP address ranges reserved for private networks such as a Local Area Network (LAN). The Internet Assigned Numbers Authority (IANA) has reserved the following three blocks of the IP address space for private networks (local networks):
172.16.0.0 - 172.31.255.255 (Total Addresses: 1,048,576)
192.168.0.0 - 192.168.255.255 (Total Addresses: 65,536)
Private IP addresses are used for numbering the computers in a private network including home, school and business LANs in airports and hotels which makes it possible for the computers in the network to communicate with each other.
Say for example, if a network X consists of 10 computers, each of them can be given an IP starting from 192.168.1.1 to 192.168.1.10. Unlike the public IP, the administrator of the private network is free to assign an IP address of his own choice (provided the IP number falls in the private IP address range as mentioned above).
Devices with private IP addresses cannot connect directly to the Internet. Likewise, computers outside the local network cannot connect directly to a device with a private IP. It is possible to interconnect two private networks with the help of a router or a similar device that supports Network Address Translation.
If the private network is connected to the Internet (through an Internet connection via ISP), then each computer will have a private IP as well as a public IP. Private IP is used for communication within the network where as the public IP is used for communication over the Internet. Most Internet users with a DSL/ADSL connection will have both a private as well as a public IP.
You can know your private IP by typing ipconfig command in the command prompt. The number that you see against “IPV4 Address:” is your private IP which in most cases will be 192.168.1.1 or 192.168.1.2. Unlike the public IP, private IP addresses are always static in nature.
Common Myth about Private IP Address:
Most people assume that a private IP is the one used for stealth Internet activities and hence cannot be detected. But this is NOT TRUE!.
Unlike what most people think, a private IP address (unlike the private telephone number) is just like any other IP address that belongs to a private network. In reality, there is no public IP address that is impossible to trace as the protocol itself is designed for transparency.







I am Srikanth Ramesh, a computer engineer from India.
36 Comments
Harsh
July 8, 2010 at 1:31 PMVamshi
July 8, 2010 at 2:22 PMVamshi
July 8, 2010 at 2:24 PMSrikanth
July 8, 2010 at 6:10 PMhighnurse
July 8, 2010 at 6:36 PMshivlu jain
July 16, 2010 at 4:21 PMwaffles
July 17, 2010 at 5:04 AMTeddy
August 7, 2010 at 1:34 AMAnand
August 7, 2010 at 8:51 PMsilver-star
August 13, 2010 at 4:33 PMDeep
November 15, 2010 at 1:42 PMHELLHAWK0311
December 17, 2010 at 10:47 PMbasky
January 13, 2011 at 10:14 PMmomo
January 26, 2011 at 7:28 AMRhodz Star
January 26, 2011 at 12:07 PMDheeraj
February 15, 2011 at 6:52 PMFrank Jovine
February 21, 2011 at 1:41 AMRanjith
March 11, 2011 at 2:22 AMUnah
July 17, 2011 at 8:49 AMSrikanth
July 27, 2011 at 2:51 PMwilbert Daniel
September 16, 2011 at 11:27 PMahmed
October 22, 2011 at 2:33 AMdaljeet
April 15, 2012 at 4:03 PMricky
April 29, 2012 at 1:48 AMpavan
May 13, 2012 at 3:00 PMhow can i trace a private ip address
June 12, 2012 at 6:14 PMPranjal
July 15, 2012 at 3:26 PMSrikanth
September 4, 2012 at 2:21 PMShubham Agarwal
July 21, 2012 at 9:05 PMsanju
August 15, 2012 at 10:39 PMKoushik
August 21, 2012 at 4:43 PMnirav DESAi
September 14, 2012 at 8:20 PMShree
September 25, 2012 at 7:59 PMRajkamal
October 1, 2012 at 11:59 AMSAM
October 2, 2012 at 8:57 PMsaad saleem
October 6, 2012 at 11:28 AM