Tuesday, November 9, 2021

What is the difference between private and public ip addresses?

 Private IP Address

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

A private IP address is the address space allocated by Inter NIC (Network Interface Card) to allow organizations to create their own private network.

There are three IP blocks which are
reserved for a private use.
  1. Class A
  2. Class B  
  3. Class C

The computers, tablets and smartphones sitting behind your home, and the personal computers within an organizations are usually assigned private IP addresses.
 
Public IP Address

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

A public IP address is the address that is assigned to a computing device to allow direct access over the Internet.

A web server, email server and any server device directly accessible from the Internet are a candidate for a public IP address.

A public IP address is globally unique, and can only be assigned to a unique device.

Here is the difference between them..!!

PRIVATE IP ADDRESS
PUBLIC IP ADDRESS
Scope is local. 
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 uniform or non-uniform manner.
It works only in LAN.
It is used to get internet service.
It is controlled by network administrator of the private network
It is controlled by ISP.
It is available in free of cost. 
It is not free of cost.
Private IP can be known by entering “ipconfig” on 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.100 
Example: 17.5.7.8

 

No comments:

Post a Comment

Explain the purpose of Data Link Layer and also draw the diagram for the same.

The Data Link layer is responsible for  Communications between end-device network interface cards. It allows upper layer protocols to access...