Chapter5BGPConguration
theirconnectionmode.Otherwise,ifthetworoutersbelongtodifferentASs,thenthey
adoptEBGPastheirconnectionmode.
AsshowninFigure5-2,S1andS2areEBGPneighbors,S2andS3areIBGPneighbors.
Figure5-2IBGPandEBGP
lEstablishingEBGPNeighborhood
Makesurethatthephysicalconnectionbetweentwonodesisnormalandthenodes
belongtodifferentASsbeforecongureEBGPneighbor.
InmostofEBGPcases,tworoutersaredirectlyconnectedbyphysicalinterfaces.
Usually,usetheIPaddressesoftheinterconnectedinterfacestosetupBGP
connection,butalsocanuseloopbackaddressestosetupBGPconnection.
Whatdrawsspecialattentionduringthecongurationisthatmulti-hopconnection
hastobespeciedifdonotusephysicalconnectiontosetupEBGPconnection.
ThatbecausetheroutersetstheTTLvalueofBGPprotocolpacketas1bydefault.
Therefore,evenifTCPconnectionissetup,OPENpacketsstillcannotbesenttothe
CPUofthepeer.Inthisway,BGPconnectioncannotenterEstablishedstate.
ToestablishEBGPneighborhood,performthefollowingsteps.
5-5
SJ-20150114102049-003|2015-01-15(R1.0)ZTEProprietaryandCondential