Specifications
NAT Overview
September 08, 2010 Page 5 of 18
Figure 2 Basic NAPT Static Inside Address Translation
Dynamic Inside Address Translations
Dynamicaddressbindingsareformedfromapre‐configuredaccess‐listoflocalinsideaddresses
andapre‐configuredaddresspoolofpublicoutsideaddresses.Access‐listsareconfiguredusing
theaccess‐listcommand.Addresspoolsareconfiguredusingtheipnatpoolcommand.
IPaddressesdefinedfordynamicbindingsare
reassignedwhenevertheybecomefree.Unlikea
statictranslation whichpersistsuntilthecommandthatdefinesthebindingisnegated,aNAT
translationtimeoutoptionisconfigurablefordynamictranslationsanddefaultsto240seconds.
ThedynamicinsideaddresstranslationdefaultstoNAT.Toconfigureadynamicinsideaddress
translationfor
NAPT,specifytheoverloadoptionwhencreatingthetranslationlist.Globalports
aredynamicallyassignedbetweentherangeof1024and4999.
YoucanalsospecifytheVLANinterfaceoverwhichthistranslationwillbeapplied.Otherwise,
thetranslationappliestoallinterfaces.
NAT Dynamic Inside Address Translation
Figure 3onpage 6displaysabasicNATdynamicinsideaddresstranslationoverview.The
overviewshowstwointernalnetworkclients:Client1andClient2.Theaccess‐listassignedtothis
dynamictranslationmustcontainpermitsfortheIPaddressofeachlocalclient(10.1.1.1and
10.1.1.2).ANATpoolmustbeconfiguredwith
atleastatwoaddressrangeofpubliclyavailableIP
addressesandassignedtothisdynamictranslation.InthiscasethepublicIPaddressrangeisfrom
200.1.1.1to200.1.1.2.ThisisaNATdynamictranslationsowedonotassigntheoverloadoption.
Client1 Walkthrough:
ApacketarrivesattheNATrouterfromClient1withasourceaddressof10.1.1.1,butleavesthe
NATrouterwithasourceaddressfromtheassignedpool,inthiscase:200.1.1.2.Inbothcasesthe
destinationisforServer1’sIPaddressof200.1.1.50.FromServer1’spointofview,Client1’sIP
addressis200.1.1.2.Server1doesn’tknowanythingaboutitsactualIPaddressof10.1.1.1.
WhenServer1respondstoClient1,itspacketarrivesattheNATrouterwithClient1’stranslated
addressof200.1.1.2asthedestinationaddress,butleavestheNATrouterwithClient1’sactual
addressof10.1.1.1asthedestination
address.Server1’sresponseisdeliveredtoIPaddress10.1.1.1.
Client2
10.1.1.2
Server1
200.1.1.50
NAT
ROUTER
DA: 200.1.1.50:80
SA: 200.1.1.1:1025
External
Public
Network
Internal
Private
Network
DA: 200.1.1.1:1025
SA: 200.1.1.50:80
DA: 200.1.1.50:80
SA: 10.1.1.2:125
DA: 10.1.1.2:125
SA: 200.1.1.50:80