Monday, 14 October 2013

Difference Between Public And Private IP Address'

Public IP Addresses and Private IP Addresses:

Global IP address:(Public)
Global IP addresses are UNIQUE and that are only assigned to a SINGLE computer or device.
A Global IP address is assigned to a computer or Modem by ISP(Internet Service Provider) and that can be communicated with from any where on the internet.


Local IP address:
Local IP addresses (Private IP Addresses) are assigned by a router.

That includes IP addresses like :-
*---> 10.0.0.0 to 10.255.255.255,
*---> 172.16.0.0 to 172.31.255.255 and
*---> 192.168.0.0 to 192.168.255.255.
Local IP addresses can only be used to communicate within a closed network or LAN.


This can be done via something known as NAT (Network Address Translation):

NAT:
In computer networking, Network Address Translation (NAT) is the process of modifying IP address information in IPv4 headers while in transit across a traffic routing device

Example for understanding NAT:
There is a office. If you wants to communicate with one employee in that office. what we actually do
1. We request to Reception.
2. Reception will redirect your call to that employee.

The same process in reverse
(i.e.) The Employee wants to communicate to outside world . The process is
1. The employee will connect to reception and
2. The reception will redirect the call to out side world.

Note: The Number of Employee is hidden. The outside world peoples only get the reception Number of the Office.

The same process is in NAT. That is instead of Reception that is something called NAT.
(i.e.) Nat will hide the internal IP addresses and shown to the internet is Public IP address.


-Admin (Zakir)

No comments:

Post a Comment