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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide