Labels

Configure NAT on a cisco router

Hello all,
today I'll show you simple Nat Configuration.


1. need to define access-list that permit our lan to natted out.


conf t
#ip access-list ex NAT
(config-ext-nacl)#permit ip 192.168.1.0 0.0.0.255 any


2. apply the nat command globally.


(config)#ip nat inside source list NAT interface (Virtual-PPP1 / Dialer1) overload


3. apply IP nat inside on the leg to the lan, and ip nat  outside on the wan interface / dialer


(config)#int vlan 1
(config-if)#ip nat inside
(config-if)#int Dialer1
(config-if)#ip nat outside


Command to check if NAT start to work

#show ip nat translations

Command to clear the NAT table


#clear ip nat translation *

2 comments: