NAT: Network Address Translation: Local Network (E.g., Home Network) 10.0.0/24 Public Network Internet
NAT: Network Address Translation: Local Network (E.g., Home Network) 10.0.0/24 Public Network Internet
Public network
Internet
outside/public/untrusted
138.76.29.7
local network
(e.g., home network)
10.0.0/24
10.0.0.4
10.0.0.1
10.0.0.2
inside/private/trusted
10.0.0.3
range of addresses not needed from ISP: just one IP address for all
devices
138.76.29.7, 5001
updates table
1: host 10.0.0.1
sends datagram to
128.119.40.186, 80
S: 10.0.0.1, 3345
D: 128.119.40.186,
80
S: 138.76.29.7,
5001
D: 128.119.40.186,
80
138.76.29.7
S: 128.119.40.186,
80
138.76.29.7,
3: D:
Reply
arrives
5001
dest. address:
138.76.29.7, 5001
10.0.0.4
S: 128.119.40.186,
80
D: 10.0.0.1, 3345
10.0.0.1
10.0.0.2
10.0.0.3
4: NAT router
changes datagram
dest addr from
138.76.29.7, 5001 to 10.0.0.1, 3345