Configuring Load Sharing Network Address Translation (LSNAT)
Enterasys Matrix DFE-Gold Series Configuration Guide 19-3
wouldonlyrequiretheuseofonebindinghardwareresource(insteadofoneperserviceper
client).
Inordertousestickypersistence,thefollowingconfigurationcriteriaarerequired:
•Stickypersistencemustbeconfiguredfortheserverfarmgroup(withthestickycommand)as
wellasforthevirtualserver(withthe
persistencelevelcommand).
•Therealserversinthisserverfarmaretobeusedforallservices.Theserversarenotallowed
tobeusedwithotherserverfarmstosupportothervirtualserverservices.Thereisone
exceptiontothisrule,describedinthenextbulletitem.
•Stickymeansall
TCPportsorallUDPportsonthevirtualserveraresupported,butnotboth.
YoucancreatetwovirtualserverswithdifferentIPaddresses(oneforTCPprotocolsandone
forUDPprotocols/ports)andusethesamerealservers(withdifferentserverfarmnames).
ThatwayallTCPandUDPports
aresupportedbythesamesetofrealservers.
•Port0inthevirtualserverhastobeusedtosupportthisserviceandisreservedforthis
purpose.
•TheserviceFTPconfigurationisnotneededforthistypeofpersistence.(Seethevirtual
command,“virtual”onpage 19‐22.)
Configuring Direct Access to Real Servers
WhentheLSNATrouterhasbeenconfiguredwithloadbalancingserverfarmgroups,withreal
serversandvirtualserversconfiguredand“inservice,”therealserversareprotectedfromdirect
clientaccessforallservices.Loadsharingclientscanonlyaccessspecificservicesonthereal
serversbymeansofthe
virtualserversconfiguredtoprovidethoseservices.
Ifyoualsowanttoprovidedirectclientaccesstorealserversconfiguredaspartofaserverfarm
group,therearetwomechanismsthatcanprovidedirectclientaccess.
Thefirstmechanism,configuredwithinvirtualserverconfigurationmodewiththeallow
accessserverscommand,
allowsyoutoidentifyspecificclientswhocansetupconnections
directlytoarealserver’sIPaddress,aswellascontinuetousethevirtualserverIPaddress.
Thesecondmechanism,configuredinGlobalconfigurationmodewiththeipslballowaccess_all
command,allowsallclientstodirectlyaccessallservices
providedbyrealservers,exceptforthose
servicesconfiguredtobeaccessedbymeansofaconfiguredvirtualserver.Therealserversarestill
protectedfromdirectclientaccessforconfiguredservicesonly.Forexample,usingthis
mechanism,ifyouconfiguredaloadbalancingservergroupcontaining“realserver1”and
“realserver2”
toprovideHTTPservicethroughvirtualserver“vserver‐http,”clientscanonly
accesstheHTTPserviceonthoserealserversbymeansofthe“vserver‐http”virtualserver.
However,clientscandirectlyaccess“realserver1”and“realserver2”foranyservicesotherthan
HTTP.
Ifyoucombinethetwomechanisms,thatis,configure
ipslballowaccess_allattheGlobal
configurationmodeandalsoconfigureallowaccessserverswithinavirtualserver’sconfiguration
mode,theclientsidentifiedwiththeallowaccessserverscommandwillhavedirectaccesstothe
realserversforallservices(includingthoseprovidedbyavirtualserver)andbeblockedfrom
using
thevirtualserver.Soforexample,an“allowed”clientcanaccess“realserver1”and
“realserver2”directlyforallservices,includingHTTP,butcannotaccessthoseserversforHTTP
bymeansofthe“vserver‐http”virtualserver.
Service Verification
UPDportserviceverificationcanbeenabledononeormoreloadbalancingservers.Thefirmware
accomplishesthisbysendingaUDPpacketwith“\r\n”(CarriageReturn/LineFeed)asdatato