Natting NAT Network Address Translation Notes | EduRev

: Natting NAT Network Address Translation Notes | EduRev

 Page 1


Natting 
 
 
NATTING 
Page 2


Natting 
 
 
NATTING 
Private vs Public IP Addresses 
Whatever connects directly into Internet must have 
public (globally unique) IP address 
There is a shortage of public IPv4 address 
So Private IP addresses can be used within a 
private network 
Three address ranges are reserved for private 
usage 
10.0.0.0/8 
172.16.0.0/16 to 172.31.0.0/16 
192.168.0.0/24 to 192.168.255.0/24 
A private IP is mapped to a Public IP, when the 
machine has to access the Internet 
Natting 
Page 3


Natting 
 
 
NATTING 
Private vs Public IP Addresses 
Whatever connects directly into Internet must have 
public (globally unique) IP address 
There is a shortage of public IPv4 address 
So Private IP addresses can be used within a 
private network 
Three address ranges are reserved for private 
usage 
10.0.0.0/8 
172.16.0.0/16 to 172.31.0.0/16 
192.168.0.0/24 to 192.168.255.0/24 
A private IP is mapped to a Public IP, when the 
machine has to access the Internet 
Natting 
NAT 
NAT (Network Address Translation) Maps Private 
IPs to Public IPs 
It is required because of shortage of IPv4 Address 
Natting 
H1
 Router/NAT
H2
10.0.1.3
10.0.1.1
10.0.1.2
H3
Router/NAT
H4
10.0.1.3
10.0.1.2
Private network 2
Internet
H5
10.0.1.1
Private network 1
128.195.4.119 128.143.71.21
 213.168.112.3
Page 4


Natting 
 
 
NATTING 
Private vs Public IP Addresses 
Whatever connects directly into Internet must have 
public (globally unique) IP address 
There is a shortage of public IPv4 address 
So Private IP addresses can be used within a 
private network 
Three address ranges are reserved for private 
usage 
10.0.0.0/8 
172.16.0.0/16 to 172.31.0.0/16 
192.168.0.0/24 to 192.168.255.0/24 
A private IP is mapped to a Public IP, when the 
machine has to access the Internet 
Natting 
NAT 
NAT (Network Address Translation) Maps Private 
IPs to Public IPs 
It is required because of shortage of IPv4 Address 
Natting 
H1
 Router/NAT
H2
10.0.1.3
10.0.1.1
10.0.1.2
H3
Router/NAT
H4
10.0.1.3
10.0.1.2
Private network 2
Internet
H5
10.0.1.1
Private network 1
128.195.4.119 128.143.71.21
 213.168.112.3
NAT 
Static NAT : Maps unique Private IP to unique 
Public IP  
Dynamic NAT : Maps Multiple Private IP to a Pool of 
Public IPs (Port Address Translation : Maps a 
Public IP and Port Number to a service in Private IP) 
Natting 
H1
Private address:   10.0.1.2
Private network
Source = 10.0.1.2
Source port = 2001
Source = 128.143.71.21
Source port = 3200
NAT
H2
Private address:   10.0.1.3
Source = 10.0.1.3
Source port = 1090
Internet
Source = 128.143.71.21
Destination = 4444
128.143.71.21
Page 5


Natting 
 
 
NATTING 
Private vs Public IP Addresses 
Whatever connects directly into Internet must have 
public (globally unique) IP address 
There is a shortage of public IPv4 address 
So Private IP addresses can be used within a 
private network 
Three address ranges are reserved for private 
usage 
10.0.0.0/8 
172.16.0.0/16 to 172.31.0.0/16 
192.168.0.0/24 to 192.168.255.0/24 
A private IP is mapped to a Public IP, when the 
machine has to access the Internet 
Natting 
NAT 
NAT (Network Address Translation) Maps Private 
IPs to Public IPs 
It is required because of shortage of IPv4 Address 
Natting 
H1
 Router/NAT
H2
10.0.1.3
10.0.1.1
10.0.1.2
H3
Router/NAT
H4
10.0.1.3
10.0.1.2
Private network 2
Internet
H5
10.0.1.1
Private network 1
128.195.4.119 128.143.71.21
 213.168.112.3
NAT 
Static NAT : Maps unique Private IP to unique 
Public IP  
Dynamic NAT : Maps Multiple Private IP to a Pool of 
Public IPs (Port Address Translation : Maps a 
Public IP and Port Number to a service in Private IP) 
Natting 
H1
Private address:   10.0.1.2
Private network
Source = 10.0.1.2
Source port = 2001
Source = 128.143.71.21
Source port = 3200
NAT
H2
Private address:   10.0.1.3
Source = 10.0.1.3
Source port = 1090
Internet
Source = 128.143.71.21
Destination = 4444
128.143.71.21
SNMP 
 
 
SNMP 
Read More
Offer running on EduRev: Apply code STAYHOME200 to get INR 200 off on our premium plan EduRev Infinity!