资源描述:
《各种系统的loopback设置》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、LoopbackInterfacesChapterB,LoopbackInterfaces,describesthesetupofloopbackinterfacesonthecommonlyusedoperatingsystems,andinstructshowtoconfigurethealiasIPaddressesforeachloopbackinterface.LoopbackaddressesarerequiredonserverswhenusingtheAppDirectornetworkconfigurationwit
2、hlocaltriangulation.Definitionsareprovidedforloopbackconfigurationonthefollowingoperatingsystems:•SectionB-1:AIX,pageB-4•SectionB-2:HP-UX,pageB-5•SectionB-3:Linux,pageB-6•SectionB-4:Solaris,pageB-8•SectionB-5:WindowsNT,pageB-9•SectionB-6:Windows2000,pageB-12B-2AppDirect
3、orUserGuideExample-LoopbackInterfaceFigureB-1presentstheloopbackconfigurationexample.FigureB-1LoopbackInterfaceExampleInthisexample,theAppDirectorloadbalancesamongtheservers:•Server1:10.1.1.1•Server2:10.1.1.2•Server3:10.1.1.3Eachserverhasaloopbackaliasof10.1.1.100,which
4、isthesameastheAppDirectorVirtualIPaddress(VirtualIPaddress).Eachserverhasthenetworkrouter(10.1.1.20)configuredasthedefaultrouter,sotrafficfromtheservertotheclientcangodirectlybacktotheclientthroughtherouter,withoutpassingthroughAppDirector.Server2IP:10.1.1.2Loopback:10.
5、1.1.100Defrouter:10.1.1.20Server3IP:10.1.1.3Loopback:10.1.1.100Defrouter:10.1.1.20Server1IP:10.1.1.1Loopback:10.1.1.100Defrouter:10.1.1.20AppDirectorVIP:10.1.1.100IP:10.1.1.10RouterIP:10.1.1.20AppendixB-LoopbackInterfacesAppDirectorUserGuideB-3ServersaredefinedinAppDire
6、ctor,alongwiththeirIPaddresses,andareconfiguredasLocalTriangulationparticipants.Formoreinformation,seeLocalTriangulation,page4-68.WhenInternettrafficfromclientsarrivesatanAppDirectorVIP,AppDirectorselectstheleastbusyserverasitsdestinationandforwardstherequesttoit,usingt
7、hepredefinedloopbackIP(VirtualIP).Theserverthensendsthereplydirectlytothedefaultgateway,eliminatingtheneedtogothroughAppDirector.AIXB-4AppDirectorUserGuideSectionB-1AIXForloopbackontheAIXoperatingsystem,thecommandsyntaxis:ifconfiglo0aliasnetmask8、tmask>Thiscommandsetsthefirstaliasoftheloopbackinterface“lo0”tohavethesameIPaddressastheIPaddressoftheAppDirec