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.

172.16.1.1<br />

172.16.1.2<br />

172.16.1.3<br />

172.16.1.1, Port 1000<br />

172.16.1.2, Port 2000<br />

PAT<br />

172.16.1.3, Port 3000 150.1.1.1, Port 1002<br />

NAT Table of PAT router<br />

Inside Local Inside Global<br />

172.16.1.1:1000<br />

172.16.1.2:2000<br />

172.16.1.3:3000<br />

Figure 17-6: Port Address Translation<br />

- Overlapping Address Translation is a special NAT operation that is being used when<br />

addresses in the inside network overlap with addresses in the outside network, which can exist<br />

when an organization does not use private addressing (illustrated in Figure 17-7), or when 2<br />

companies that have similar IP addressing scheme merge due to business requirements.<br />

200.1.1.2<br />

Private<br />

150.1.1.1:1000<br />

150.1.1.1:1001<br />

150.1.1.1:1002<br />

192.168.1.1<br />

Figure 17-7: Overlapping Address Translation<br />

- Figure 17-7 shows a network with overlapping addresses. Whenever the client sends a packet<br />

destined to www.yahoo.com (200.1.1.1), the packet would never arrive at the server, because the<br />

client might assume 200.1.1.1 is on the same LAN with it, hence it would not even try to<br />

forward packets destined to 200.1.1.1 to its default gateway!<br />

- NAT is able to solve this problem by translating both the source and destination addresses of<br />

the packet passes through the NAT router, by having a NAT static mapping configuration for<br />

translation between the outside global address – 200.1.1.1, and the outside local address –<br />

192.168.1.1, which represents the real outside host to the inside network.<br />

- The client first sends out a DNS request to www.yahoo.com. When the DNS reply comes back<br />

from the outside network, the NAT router would intercept and change the DNS reply so that the<br />

client in the private network would think that 192.168.1.1 is the IP address of www.yahoo.com.<br />

128<br />

150.1.1.1, Port 1000<br />

150.1.1.1, Port 1001<br />

NAT<br />

Internet<br />

150.1.1.1<br />

200.1.1.1, Port 80<br />

200.1.1.1, Port 80<br />

200.1.1.1, Port 80<br />

www.yahoo.com<br />

200.1.1.1<br />

Source Destination Source Destination<br />

200.1.1.2 192.168.1.1 data 150.1.1.1 200.1.1.1 data<br />

Source Destination<br />

Source Destination<br />

192.168.1.1 200.1.1.2 data 200.1.1.1 150.1.1.1<br />

data<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!