Configuring Load Sharing Network Address Translation (LSNAT)
19-4 LSNAT Configuration
theUDPport.IftheserverrespondswithanICMP“PortUnreachable”message,itisconcluded
thattheportisnotactiveandtheserverisreportedas“DOWN”.Otherwise,iftheservereither
getsdatabackfromtherequesttotheserverordoesnotgetanyresponseatall,itisassumedthat
theportisactiveandtheserverisreportedas“UP”.Thelackofaresponsecouldalsobethe
resultoftheserveritselfnotbeingavailableandcouldproduceanerroneousindicationofthe
serverbeing“UP”.ToavoidthiswhenrequestinganAPPUDPonaUDPport,anICMPpingis
issuedfirsttoinsurethattheserverisavailablebeforesubmittingtheAPPUDPrequest.This
preventsasituationwheretheUDPportwillnotreturna“PortUnreachable”becauseofthe
serveritselfbeingdown,resultinginLSNATrespondingwithafalseindicationthattheUDPport
is“UP”.

Application Content Verification (ACV)

ApplicationContentVerification(ACV)canbeenabledonaporttoverifythecontentofan
applicationononeormoreloadbalancingservers.ACVisamethodofensuringthatdatacoming
fromyourserversremainsintactanddoesnotchangewithoutyourknowledge.ACVcan
simultaneouslyprotectagainstserveroutages,accidentalfilemodificationordeletion,andservers
whosesecurityhavebeencompromised.Bynature,ACVisprotocolindependentandisdesigned
toworkwithanytypeofserverthatcommunicatesviaformattedASCIItextmessages,including
HTTP,FTP,andSMTP.ForACVverification,youspecifythefollowing:
•Astringthattheroutersendstoasingleserver.ThestringcanbeasimpleHTTPcommandto
getaspecificHTMLpage,oritcanbeacommandtoexecuteauserdefinedCGIscriptthat
teststheoperationoftheapplication.
•Thereplythattheapplicationoneachserversendsisbackusedbytheroutertovalidatethe
content.InthecasewhereaspecificHTMLpageisretrieved,thereplycanbeastringthat
appearsonthepage,suchas“OK”.IfaCGIscriptisexecutedontheserver,itshouldreturna
specificresponse(forexample,“OK”)thattheroutercanverify.
ACVworksbysendingacommandtoyourserverandsearchingtheresponseforacertainstring.
Ifitfindsthestring,theserverismarkedasUp.Ifthestringisnotfound,theserverismarkedas
Down.
Forexample,ifyousentthefollowingstringtoyourHTTPserver,“HEAD/HTTP/
1.1\\r\\nHost:www.enterasys.com\\r\\n\\r\\n”,youcouldexpecttogetaresponseofa
stringreturnedsimilartothefollowing:
HTTP/1.1 200 OK
Date: Tue, 11 Dec 2007 20:03:40 GMT
Server: Apache/2.0.40 (Red Hat Linux)
Last-Modified: Wed, 19 Sep 2007 13:56:03 GMT
ETag: “297bc-b52-65f942c0”
Accept-Ranges: bytes
Content-Length: 2898
Youcansearchforareplystringof“200OK”thiswouldresultinasuccessfulverificationofthe
service.
BecauseACVcansearchforastringinonlythefirst255bytesoftheresponse,inmostHTTPcases
theresponsewillhavetobeinthepacketʹsHTTPheader(i.e.,youwillnotbeabletosearchfora
stringcontainedinthewebpageitself).
SomeprotocolssuchasFTPorSMTPrequireuserstoissueacommandtoclosethesessionafter
makingtherequest.Afaildetectacvquitcommandallowsfortheinputofthequitstring
required.