cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
243
Views
0
Helpful
2
Replies

Diff between NAT statement

Just Kennie
Level 1
Level 1

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 2

paolo bevilacqua
Hall of Fame
Hall of Fame

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.

adamclarkuk_2
Level 4
Level 4

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

Getting Started

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: