WHAT IS THE DIFFERENCE BETWEEN PRIVATE AND PUBLIC ADDRESSES ?
Public IP address– routable to internet
Private IP address – not routable to internet
The need of private IP address is that we can assign IP address to any device that does not need to be connected to internet.These are ip addresses like:
192.168.0.0-192.168.255.255
10.0.0.0-10.255.255.255
The first time I encountered these ip addresses especially 192.168.something is when I am trying to change the name of my Wi-Fi. I eventually realized that it is the gateway of the router. So come to think of this, there are lots of devices in the world. A single average person has cellphone and tablet that connects to internet. Also business depends on either service laptops and desktops. If we going to assign an IP address to each devices, we will not have enough space for IP address. The need for classification of IP address and the concept of NAT is the solution for this problem. NAT refers to Network Address Translation or simply translating private IP address to public IP address and vice versa.
Network efficiency was achieved using this NAT concept, how it works?, We’ll discuss it on the separate NAT post. As a summary, the private IP addresses are used for communication that does not need Internet service. Also, the biggest advantage of private IP address is that public IP addresses are costly. Public IP addresses are only bought by telco or ISP.
172.16.0.0-172.31.255.255
10.0.0.0-10.255.255.255
The first time I encountered these ip addresses especially 192.168.something is when I am trying to change the name of my Wi-Fi. I eventually realized that it is the gateway of the router. So come to think of this, there are lots of devices in the world. A single average person has cellphone and tablet that connects to internet. Also business depends on either service laptops and desktops. If we going to assign an IP address to each devices, we will not have enough space for IP address. The need for classification of IP address and the concept of NAT is the solution for this problem. NAT refers to Network Address Translation or simply translating private IP address to public IP address and vice versa.
Advantages of private ip addresses-
- Security
- Self-Containment
- Can be used without registration with IANA
WHAT IS THE NEED OF PRIVATE IP ADDRESSES?
We have so many devices that are connected to internet so they all must have an IP address, so if we use one IP for every single device then the IP address would have exhausted much earlier .
Hence, the we found out different ways to save routable addresses and one of them are PRIVATE IP addresses, that can be used in the internal network.