16.06.2014 Views

Cisco CCNA Study Guide - Router Alley

Cisco CCNA Study Guide - Router Alley

Cisco CCNA Study Guide - Router Alley

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>CCNA</strong> <strong>Study</strong> <strong>Guide</strong> v2.62 – Aaron Balchunas<br />

302<br />

NAT Terminology Example<br />

Consider the above example. For a connection from HostA to HostB, the<br />

NAT addresses are identified as follows:<br />

• Inside Local Address - 10.1.1.10<br />

• Inside Global Address - 55.1.1.1<br />

• Outside Global Address – 99.1.1.2<br />

• Outside Local Address – 99.1.1.2<br />

HostA’s configured address is 10.1.1.10, and is identified as its Inside Local<br />

address. When HostA communicates with the Internet, it is stamped with<br />

<strong>Router</strong>A’s public address, using PAT. Thus, HostA’s Inside Global address<br />

will become 55.1.1.1.<br />

When HostA communicates with HostB, it will access HostB’s Outside<br />

Global address of 99.1.1.2. In this instance, the Outside Local address is also<br />

99.1.1.2. HostA is never aware of HostB’s configured address.<br />

It is possible to map an address from the local network (such as 10.1.1.5) to<br />

the global address of the remote device (in this case, 99.1.1.2). This may be<br />

required if a legacy device exists that will only communicate with the local<br />

subnet. In this instance, the Outside Local address would be 10.1.1.5.<br />

Static NAT Translation<br />

99.1.1.2 = 192.168.1.5<br />

10.1.1.1 55.1.1.1<br />

Internet<br />

99.1.1.1 192.168.1.1<br />

HostA<br />

10.1.1.10<br />

<strong>Router</strong>A<br />

NAT-Enabled<br />

<strong>Router</strong>A<br />

NAT-Enabled<br />

HostB<br />

192.168.1.5<br />

SRC Address = 10.1.1.10<br />

DST Address = 99.1.1.2<br />

SRC Address = 55.1.1.1:31092<br />

DST Address = 99.1.1.2<br />

SRC Address = 55.1.1.1:31092<br />

DST Address = 192.168.1.5<br />

The above example demonstrates how the source (SRC) and destination<br />

(DST) IP addresses within the Network-Layer header are translated by NAT.<br />

(Reference: http://www.cisco.com/warp/public/556/8.html)<br />

* * *<br />

All original material copyright © 2013 by Aaron Balchunas (aaron@routeralley.com),<br />

unless otherwise noted. All other material copyright © of their respective owners.<br />

This material may be copied and used freely, but may not be altered or sold without the expressed written<br />

consent of the owner of the above copyright. Updated material may be found at http://www.routeralley.com.

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

Saved successfully!

Ooh no, something went wrong!