09.12.2012 Views

Understanding the network.pdf - Back to Home

Understanding the network.pdf - Back to Home

Understanding the network.pdf - Back to 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.

The IOS NAT implementation can provide translation services for unregistered<br />

inside addresses <strong>to</strong> registered outside addresses (<strong>the</strong> most common application of<br />

NAT). Additionally, it can provide overlapping NAT translation. Overlapping<br />

translation occurs when <strong>the</strong> inside address range is officially registered <strong>to</strong> ano<strong>the</strong>r<br />

publicly accessible <strong>network</strong>. NAT is also capable of providing round-robin TCP load<br />

sharing across multiple hosts. With load sharing, a virtual host is created that is<br />

announced as <strong>the</strong> legitimate address of <strong>the</strong> service. The NAT router serves as <strong>the</strong><br />

gateway <strong>to</strong> <strong>the</strong> virtual host, and as service requests come in, <strong>the</strong>y are directed <strong>to</strong><br />

<strong>the</strong> "real" hosts that respond <strong>to</strong> <strong>the</strong> service request.<br />

NOTE<br />

In scenarios where PAT is used, in addition <strong>to</strong> inside/outside address translation<br />

information, <strong>the</strong> transport layer (TCP/UDP) source and destination port information<br />

are retained in <strong>the</strong> NAT translation table as well.<br />

Inside Address Translation<br />

Inside address translation is provided statically or dynamically. Static NAT mapping<br />

translates an inside unregistered host address <strong>to</strong> an outside registered address.<br />

Static mappings are used when an inside host needs <strong>to</strong> be accessed by external<br />

hosts, as with an SMTP mail server. Static entries are created with <strong>the</strong> global<br />

configuration command . Dynamic entries are inside-<strong>to</strong>-outside address translations made on a<br />

temporary basis. A pool of outside addresses is allocated, and addresses are drawn<br />

from <strong>the</strong> pool as translations are required. Dynamic inside-<strong>to</strong>-outside translations<br />

remain until <strong>the</strong>y expire (after 24 hours) or are cleared by an administra<strong>to</strong>r. Here is<br />

an example of a static translation entry:<br />

sartre(config)#ip nat inside source static 192.168.4.36 12.14.116.5<br />

The global configuration command is used <strong>to</strong><br />

create <strong>the</strong> outside NAT translation pool. The pool name is an identifier needed for<br />

<strong>the</strong> global configuration command , which establishes dynamic NAT translation. The outside address range<br />

should ideally be allocated within a classful or classless <strong>network</strong> range.

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

Saved successfully!

Ooh no, something went wrong!