02-13-2009 11:10 PM - last edited on 03-25-2019 03:22 PM by ciscomoderator
please whats the different btw the two NAT statements .
ip nat source static 10.0.0.1 192.168.100.1
and
ip nat inside source static 10.0.0.1 192.168.100.1
02-14-2009 03:35 AM
First statement translates source address no matter the direction of the packet, this is not usually required.
Second statement translates only packets going to inside to outside interface, and is the correct way to use NAT in most cases.
02-14-2009 08:23 AM
also the first statement is used by NVI using the interface level commands
Ip nat enable
and the second is when you have inside and outside domains defined with theinterface level commands
Ip nat inside
Ip nat outside
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: