What is the difference between public ip and private ip?
Private IP addresses exist to save on the limited number of available public IP addresses. There are actually 4 ranges of private addresses: 10.0.0.0 to 10.255.255.255 when you need a lot (16,000,000+) of addresses in your internal network; 172.16.0.0 to 172.31.255.255 when you need up to a million or so; and 192.168.0.0 to 192.168.255.255 or 169.254.0.0 to 169.254.255.255 when you only need up to 254 addresses. These addresses must exist behind a router or gateway, not on the live Internet. The real genius of these private IPs is that you can get one IP from your ISP (let’s say 205.20.2.105), and your router / gateway basically splits that into however many internal (private) addresses you need.