Command
IP NAT Enable
Use
This command is used to enable NAT on an interface. This command figures out whether the interface is inside or outside based on the source IP addresses of packets.
IP NAT enable can not translate local router traffic.
Syntax
Router(config-if)#ip bandwidth-percent eigrp <AS> <percent>
Example
In this example we will configure NAT and configure the interfaces to use IP NAT Enable
First we configure NAT and the interfaces.
R2(config)#access-list 25 permit 10.1.1.0 0.0.0.255 *Mar 1 15:33:14.080: %LINEPROTO-5-UPDOWN: Line protocol on Interface NVI0, changed state to up R2(config)#int fa0/0 |
Here we verify with a ping that routing has been disabled on all routers.
R1(config-if)#do ping 10.2.2.3 Type escape sequence to abort. |
Checking show ip nat translation we see NAT has translated the packet.
R2(config-if)#do show ip nat trans |