User's Manual Part 2
47JadeOSUserManual
latestheprivate(notgloballyunique)addressesintheinternalnetworkintolegal
addresses,beforepacketsareforwardedtoanothernetwork.
Aspartofthiscapability,NATcanbeconfiguredtoadvertiseonlyoneaddressforthe
entirenetworktotheoutsideworld.Thisprovidesadditionalsecuritybyeffectively
hidingtheentireinternalnetworkbehindthataddress.NAToffersthedualfunctions
ofsecurityandaddressconservationandistypicallyimplementedinremote‐access
environments.
Basically,NATallowsasingledevice,suchasarouter,toactasanagentbetweenthe
Internet(orpublicnetwork)andalocalnetwork(orprivatenetwork),whichmeans
thatonlyasingleuniqueIPaddressisrequiredtorepresentanentiregroupofcom‐
puterstoanythingoutsidetheirnetwork.
7.3.1ConfiguringSNAT
Figure7‐1sourceaddresstransfer
TocreateNATpool,use thefollowingcommandinconfigmode:
ip nat pool <pool-name> <start-ip> <end-ip> <dest-ip>
TocreateSNATruleinsessionACL,usethefollowingcommand:
network <subnet> <mask> any any src-nat pool <pool-name>
Usingfigure7‐1asanexample,step1andstep2showhowtospecifytheuserpolicy
inVLAN100.Letthetrafficfromuserson200.0.0.0/24subnetbeSNATedwhenthey
accesspublicinternetserver155.0.0.150.
Step1CreateNATaddresspool
(JadeOS)(config)# ip nat pool nat_pool 150.0.0.1 150.0.0.1 160.0.0.1
Step2ConfiguresessionACL,addaSNATrulesspecifyingwhattrafficistobe
translatedandNATpool
(JadeOS)(config)#ip access-list session tacl
(JadeOS)(config-sess-tacl)# network 200.0.0.0 255.255.255.0 any any
src-nat pool nat_pool