Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Community Member

Diff between NAT statement

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

2 REPLIES
Hall of Fame Super Gold

Re: Diff between NAT statement

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.

Re: Diff between NAT statement

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

119
Views
0
Helpful
2
Replies
CreatePlease to create content