IP NAT Enable Command on CISCO Router/Switch


IP NAT Enable


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.


Router(config-if)#ip bandwidth-percent eigrp <AS> <percent>


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
R2(config)#ip nat inside source list 25 interface fa1/0 overload
R2(config)#int fa0/0

*Mar 1 15:33:14.080: %LINEPROTO-5-UPDOWN: Line protocol on Interface NVI0, changed state to up

R2(config)#int fa0/0
R2(config-if)#ip nat enable
R2(config-if)#int fa1/0
R2(config-if)#ip nat enable

Here we verify with a ping that routing has been disabled on all routers.

R1(config-if)#do ping

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to, timeout is 2 seconds:

Checking show ip nat translation we see NAT has translated the packet.

R2(config-if)#do show ip nat trans
Pro Inside global Inside local Outside local Outside global


Inline Feedbacks
View all comments
Would love your thoughts, please comment.x