August 2005
Intermediate to advanced
798 pages
31h 12m
English
ip nat — interface
ip nat {inside | outside} [log {translations syslog}]
no ip nat {inside | outside} [log {translations syslog}]IP Network Address Translation (NAT)
Disabled
This command configures an interface for NAT. The translation can occur for inside or outside addresses.
In the following configuration, ethernet0 is our internal network with the internal IP address; serial0 is our external interface to the Internet. The NAT translation should be inside on ethernet0 and outside on serial0. The optional log command enables NAT logging. translations enables NAT logging translation. The syslog keyword enables syslog logging for NAT.
interface ethernet0 ip address 10.10.1.1 255.255.255.0 ip nat inside interface serial0 ip address 192.168.1.1 255.255.255.0 ip nat outside