Specifications
LSNAT Overview
September 8, 2010 Page 9 of 28
addressthatreturnstrafficbackthroughtheLSNATrouter.SincetheclientIPaddressesare
usuallyunknowntotherealserver,mostrealserversendupsettingtheirdefaultroutertothe
LSNATrouter.IftheLSNATrouterisnotconfiguredasthedefaultrouter,theLSNATrouterand
realserver
mustbelocatedsomewhereinthenetworktopologythatguaranteesthatreturntraffic
flowsthroughtheLSNATrouter.
Ifinstead,theclientIPaddressisNATed,thisallowstherealserverstobelocatedanywhereina
network,sincethepacketsfromroutertoreal‐serverwillbesourceNATedwith
anIPaddress
ownedbytherouteritself.
UsethesourcenatpoolcommandtospecifyaNATpooltouseforsourceNATing.TheNATpool
isusedinanoverloadmode.
The FTP Control Port
TheFTPportassignmentdefaultstoport21.Youcangloballyassignanon‐stan dardFTPcontrol
portinglobalconfigurat ionmodethatwillbeusedbyallvirtualservers.
The Virtual Server Virtual Port and Real Server Port
Whenconfiguringavirtualserverandrealserver,theportmustbeconfiguredforaprotocoltype
andportvalue.Thissectionspecifiesportprotocolandportvalueconsiderationstotakeinto
accountwhenconfiguringavirtualserverorrealserver.
Virtual Server Virtual Port
Theconfigurationofthevirtualservervirtualporthastwomeaningsdependinguponwhether
theporthasazeroornon‐zerovalue:
•Ifanon‐zerovalueisset,thenincomingpackets’destinationportsarematchedtothatport.
•Ifazerovalueisset,thentheincomingpackets’destination
portswillonlymatchthatvirtual
serverifthereisnonon‐zeroportmatchwithanothervirtualserver.Inthiscasethezeroport
isacatchallthatmeansmatchanyport.
Thevirtualservervirtualportprotocol(UDP/TCP)mustalwaysmatchtherealserverport
protocol.
Thevirtualserver
isidentifiedbyitsVirtualIPAddress(VIP),portprotocol,andportnumber.A
virtualserverconfiguredforagivenVIPandportnumbermustbeconfiguredforeitherUDPor
TCP,butcannotbeconfiguredforboth.
Real Server Port
Theconfigurationoftherealserverporthastwomeanings:
•Ifanon‐zerovalueissettotherealserverport,thenanybindingscreatedusingthatreal
serverwillusetherealserver’sdestinationport.
•Ifazerovalueissettotherealserverport,thenanybindings
createdusingthatrealserver
willusetheclient’soriginaldestinationport.
Iftherealserver’sportissetto0,theonlyvalidfaildetecttypesfortherealserverisnoneor
ping.