19.07.2013 Views

CCNA Complete Guide 2nd Edition.pdf - Cisco Learning Home

CCNA Complete Guide 2nd Edition.pdf - Cisco Learning Home

CCNA Complete Guide 2nd Edition.pdf - Cisco Learning Home

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

- Port Address Translation (PAT) was introduced to overcome the limitations of static and<br />

dynamic NAT methods. It performs many-to-one mapping between multiple unregistered<br />

private IP addresses and a single registered public IP address by using transport layer ports.<br />

PAT is also known as Overload NAT or Dynamic NAT with Overloading.<br />

172.16.1.1<br />

172.16.1.2<br />

172.16.1.3<br />

172.16.1.1<br />

172.16.1.1, Port 1000<br />

172.16.1.2, Port 2000<br />

172.16.1.3, Port 3000<br />

Internet<br />

Internet<br />

Figure 17-5: TCP Connections from Multiple Hosts and a Single Host<br />

- Figure 17-5 shows that a server doesn’t care how many clients are connected to it at a time.<br />

The server is able to differentiate connections to it by the combination of client IP addresses<br />

(network layer) and port numbers (transport layer).<br />

- PAT utilizes the advantage of the TCP/IP multiplexing feature, where connections are unique<br />

with the combination of IP addresses and port numbers. A NAT router would have a NAT table<br />

entry for storing every unique combination of IP addresses and port numbers when hosts in<br />

private network traverse through it to the Internet. The port numbers assigned are random and<br />

will not be from the well-known port number range – 1 to 1023. These entries are used for<br />

reverse-translation upon reply packets from the Internet back to the hosts in private network.<br />

- PAT does not only translate IP addresses, it also translates port numbers. Theoretically, 65536<br />

connections to the hosts on the Internet can be made with a single registered public IP address.<br />

127<br />

200.1.1.1, Port 80<br />

200.1.1.1, Port 80<br />

200.1.1.1, Port 80<br />

Figure 17-5A: 3 TCP connections from 3 different hosts<br />

172.16.1.1, Port 1000<br />

172.16.1.1, Port 1001<br />

172.16.1.1, Port 1002<br />

200.1.1.1, Port 80<br />

200.1.1.1, Port 80<br />

200.1.1.1, Port 80<br />

Figure 17-5B: 3 TCP connections from 1 single host<br />

200.1.1.1<br />

200.1.1.1<br />

Copyright © 2008 Yap Chin Hoong<br />

yapchinhoong@hotmail.com

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!