ip nat Configuring Network Address Translation (NAT)
Enterasys Matrix DFE-Gold Series Configuration Guide 18-3
ip nat
UsethiscommandtoenableNATonthisinterface.
Syntax
ip nat {inside | outside}
no ip nat {inside | outside}
Parameters
Defaults
None.
Mode
Routercommand,Interfaceconfiguration:Matrix‐>Router(config‐if)#.
Usage
Thiscommanddesignatesthattrafficoriginatingfromordestinedfortheinterfaceissubjectto
NAT.
ThenoversionofthecommanddisablesNATforthespecifiedinterfacetype.
Example
ThisexampleenablesinterfaceVLAN1asaninside NATinterface:
Matrix(rw)->router
Matrix->router>enable
Matrix->router#configure terminal
Enter configuration commands:
Matrix->Router(config)#interface vlan 1
Matrix->Router(config-if(Vlan 1))#ip nat inside
Matrix->Router(config-if(Vlan 1))#
ip nat pool
UsethiscommandtodefineaNATaddresspoolusedbythedynamicaddressbindingfeaturefor
NATtranslation.
Syntax
ip nat pool name start-ip-address end-ip-address [netmask netmask | prefix-length
prefix-length]
no ip nat pool name [start-ip-address end-ip-address] [netmask netmask | prefix-
length prefix-length]
inside SpecifiesthatthisinternalnetworkinterfaceshouldbeenabledforNAT
asaprivateinterface.
outside Specifiesthatthisexternalnetworkinterfaceshouldbe enabledforNAT
asapublicinterface.