Professional Documents
Culture Documents
Network Address Translation: Laura Jeanne Knapp Network Consultant 1-919-224-2205
Network Address Translation: Laura Jeanne Knapp Network Consultant 1-919-224-2205
Network Address Translation: Laura Jeanne Knapp Network Consultant 1-919-224-2205
Session 109
Other Considerations
Summary
SA SA
10.21.99.23 99.99.99.4
DA
209.109.217.59 DA
209.109.217.59
NAT
Router
10.21.6.21 99.99.99.4
10.21.99.23
SA
25c 25c 209.109.217.59
209.109.217.59 SA
209.109.217.59
DA DA
10.21.99.23 99.99.99.4
SA SA
10.21.15.188:2022 99.99.99.5:1080
DA
209.109.217.59:80 DA
209.109.217.59:80
NAT
Router
10.21.6.20 99.99.99.5
10.21.15.188 25c
25c
SA SA
10.21.101.90:1080 99.99.99.5:2080
DA DA 209.109.217.59
209.109.217.59:80 209.109.217.59:80
10.21.101.90
PAT will try and use the same port as the source,
but if it is already used, it will assign an
available free port number
IBM Networking - Connecting people to information through technology 040
NATVPN_
Port Address Translation
(PAT) in a Nutshell without DNS
Private Network Internet
25c
25c
SA SA
10.21.15.188:2022 99.99.99.5:1080
DA
10.21.6.20:2324 DA
209.109.217.59:80
NAT
Router
10.21.6.20 99.99.99.5
10.21.15.188 25c
25c
SA SA
10.21.101.90:1080 99.99.99.5:2080
DA DA 209.109.217.59
10.21.6.20:2324 209.109.217.59:80
10.21.101.90
Without DNS name resolution the destination
internal address is the NAT router internal address
defined to the outside address
IBM Networking - Connecting people to information through technology 040
NATVPN_
NAT and PAT
Outside Zone
Internet/Public address
Registered addresses only
“Global address” is the virtual host address
Routable in the Internet
Static
Commonly used for inbound traffic
Permanent
“Local” address is always known by the same “global” address
‘ip nat inside source static 10.21.99.23 99.99.99.4’
Dynamic
Typically used for outbound traffic
Changes
“Local” address may have variable “global” address
‘ ip nat inside source list 1 pool nat-pool’
IBM Networking - Connecting people to information through technology 060
NATVPN_
Why do we need NAT?
Private Network Internet
25c
25c
SA SA
10.21.15.188:2022 99.99.99.5:1080
DA
209.109.217.59:80 DA
209.109.217.59:80
NAT
Router
10.21.6.20 99.99.99.5
10.21.15.188 25c
25c
SA SA
10.21.101.90:1080 99.99.99.5:2080
DA DA 209.109.217.59
209.109.217.59:80 209.109.217.59:80
10.21.101.90
PAT will try and use the same port as the source,
but if it is already used, it will assign an
available free port number
SA SA
10.21.15.188:2022 99.99.99.5:1080
DA
209.109.217.59:80 DA
209.109.217.59:80
NAT
Router
10.21.6.20 99.99.99.5
10.21.15.188 25c
25c
SA SA
10.21.101.90:1080 99.99.99.5:2080
DA 209.109.217.59
Routers DA
209.109.217.59:80 209.109.217.59:80
Firewalls 10.21.101.90
PAT will try and use the same port as the source,
VPN devices but if it is already used, it will assign an
available free port number
Each translation = 160 - 200 bytes
Performance/latency is negligible
SA SA
10.21.15.188:2022 99.99.99.5:1080
DA
209.109.217.59:80 DA
209.109.217.59:80
NAT
Router
10.21.6.20 99.99.99.5
10.21.15.188 25c
25c
SA SA
10.21.101.90:1080 99.99.99.5:2080
DA DA 209.109.217.59
209.109.217.59:80 209.109.217.59:80
10.21.101.90
PAT will try and use the same port as the source,
but if it is already used, it will assign an
available free port number
SA
10.21.15.188:2022 25c
SA
DA 10.21.15.188
10.21.6.20 DA
10.21.6.21
NAT NAT
Router Router
SA
10.21.101.90:1056 209.109.217.59
DA
10.21.6.20
10.21.101.90
Inside Local: The IP address assigned to a device on the inside network
SA
10.21.15.188:2022 25c
SA
DA 10.21.15.188
209.109.217.59:80
DA
209.109.217.59
NAT NAT
Router Router
SA
10.21.101.90:1056 209.109.217.59
DA
209.109.217.59:23
10.21.101.90
SA
10.21.15.188:2022 25c
SA
DA 10.21.99.23
10.21.6.20 DA
10.21.6.21
NAT NAT
Router Router
SA
10.21.101.90:1056
DA
10.21.6.20
209.109.217.59
10.21.101.90
SA
10.21.15.188:2022 25c
SA
DA 10.21.99.23
10.21.6.20 DA
10.21.6.21
NAT NAT
Router Router
SA
10.21.101.90:1056
DA
10.21.6.20
209.109.217.59
10.21.101.90
Inside Source
25c
Translate Translate
source address destination address
Inside adapter Outside adapter
25c
Outside Source
25c
Translate Translate
destination address source address
Inside adapter Outside adapter
SA
10.21.15.188:2022 25c
SA
DA
10.21.15.188
10.21.6.20
To be delivered DA
10.21.6.21
to 209.109.217.59
To be delivered
NAT NAT to 209.109.217.59
Router Router
SA
10.21.101.90:1056
DA
10.21.6.20
209.109.217.59
To be delivered
to 209.109.217.59
10.21.101.90
Other Considerations
Summary
HTTP IP Multicast
Telnet VOIP
Archie ICMP
Finger PPTP
NTP H.323
rlogin SMTP
rsh FTP
rcp NetBios over IP
NFS RealAudio
TFTP CuSeeMe
DNS “a”
DNS “ptr”
Most DVC
Inside
Address
Translation
Outside
Which address will the end system use for the response?
IBM Networking - Connecting people to information through technology 150
NATVPN_
IPSec - ESP Considerations
NAT Encrypted
Authenticated
Authenticated
HDR + Data = Checksum
BREAKS
IP Header : SA = 99.99.99.5 IPSec Header Data : IP = 10.21.15.188
Packet Flow
Packet Flow
95.95.95.2 99.99.99.2
Internet
95.95.95.2 99.99.99.2
10.103.1.75 10.50.50.50
Internet
Other Considerations
Summary
10.1.1.1 NAT
Router 10.1.1.1
inside outside
10.1.1.2 10.1.1.2
10.1.1.1 NAT
Router 10.1.1.1
inside outside
Where is
10.1.1.2 Blue??? 10.1.1.2
10.1.1.1 NAT
Router 10.1.1.1
inside outside
Where is
10.1.1.2 Blue??? 10.1.1.2
192.168.1.2 10.1.1.2
172.16.1.2 10.1.1.2
10.1.1.1 NAT
Router 10.1.1.1
inside outside
25c
SA
10.1.1.2 172.16.1.2 10.1.1.2
25c
SA DA
10.1.1.2 10.1.1.3
DA
192.168.1.2
IETF : http://www.ietf.org/html.charters/nat-charter.html