ip nat inside source static (NAT) Configuring Network Address Translation (NAT)
Enterasys Matrix DFE-Gold Series Configuration Guide 18-5
Mode
Routercommand,Globalconfiguration:Matrix‐>Router(config)#
Usage
Packetsfromaddressesthatmatchthoseonthespecifiedaccesslistaretranslatedusingglobal
addressesallocatedfromthenamedpool.TheoptionaloverloadkeyenablesNAPTtranslation.
TheoptionalinterfaceVLANparameterensuresthatthetranslationonlyappliestopacketsbeing
transmittedoutthespecifiedVLAN.
Thenoversionof
thecommanddisablesdynamictranslationofinsidesourceaddressesforthe
specifiedNATpool.
Example
Thisexampleenablesdynamictranslationofinsideinterfacesforpacketsmatchingaccesslist1
criteriawithIPaddressesmatchingpooldoc1oninterfacevlan1:
Matrix->Router(config)#ip nat inside source list 1 pool doc1 interface vlan 1
ip nat inside source static (NAT)
UsethiscommandtoenablestaticNATtranslationofinsidesourceaddresses.
Syntax
ip nat inside source static local-ip global-ip
no ip nat inside source static local-ip global-ip
Parameters
Defaults
None.
Mode
Routercommand,Globalconfiguration:Matrix‐>Router(config)#
Usage
ThenoversionofthecommanddeletesthespecifiedstaticNATtranslation.
Example
ThisexampleenablesastaticNATtranslation ofinsidesourceaddressesforprivatelocaladdress
10.10.10.50destinedforandtransmittingfromuniquepublicaddress45.20.10.5:
Matrix->Router(config)#ip nat inside source static 10.10.10.50 45.20.10.5
local‐ip Specifiestheprivate(local)addresstobeassociatedwithapublic
(global)addressforthistranslation.
global‐ip Specif iesthepublic(global)addresstobeassociatedwithaprivate
(local)addressforthistranslation.