ip nat




ip nat {inside | outside}

no ip nat {inside | outside}

Syntax Description:


Indicates the interface is connected to the inside network (the network subject to NAT translation).


Indicates the interface is connected to the outside network.

Command Description:

To designate that traffic originating from or destined for the interface is subject to Network Address Translation (NAT), use the ip nat interface configuration command. To prevent the interface from being able to translate, use the no form of this command.

Only packets moving between "inside" and "outside" interfaces can be translated. You must specify at least one inside interface and one outside interface for each border router where you intend to use NAT.


The following example translates between inside hosts addressed from either the or networks to the globally unique network:

ip nat pool net-208 prefix-length 28
ip nat inside source list 1 pool net-208
interface fastethernet 0/0
 ip address
 ip nat outside
interface fastethernet 0/1
 ip address
 ip nat inside
access-list 1 permit
access-list 1 permit


Related Commands:
clear ip nat translation
ip nat inside destination
ip nat inside source
ip nat pool
ip nat translation
show ip nat statistics
show ip nat translations

� Cisco Systems, Inc. 2001, 2002, 2003
World Wide Education

Converted from CHM to HTML with chm2web Pro 2.85 (unicode)