NAT Configuration


dean6868

http://www.cisco.com/c/en/us/support/docs/ip/network-address-translation-nat/13772-12.html

!— Defines Ethernet 0 with an IP address and as a NAT inside interface.

interface ethernet…

ip address 10.10.10.1 255.255.255.0

ip nat inside 

!— Defines Ethernet 1 with an IP address and as a NAT inside interface.

interface ethernet 1

ip address 10.10.20.1 255.255.255.0

ip nat inside 

!— Defines serial 0 with an IP address and as a NAT outside interface.

interface serial…

ip address 172.16.10.64 255.255.255.0

ip nat outside 

!— Defines a NAT pool named dean6868 with a range of a single IP address: 172.16.10.1

ip nat pool dean6868172.16.10.1 172.16.10.1 prefix 24

! ! !— Indicates that any packets received on the inside interface that!— are permitted by access-list 7 has the source address translated to an address out of the NAT pool “dean6868“. 

ip nat inside source list 7 pool dean6868

access-list 7 permit 10.10.10.0 0.0.0.31

access-list 7 permit 10.10.20.0 0.0.0.31

 

View original post 20 more words

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: