Chapter5BGPConguration
Figure5-18BGPCongurationExampleOne
1.EstablishanIBGPconnectionbetweenS1andS2.EstablishanEBGPconnection
betweenS1andS4.EstablishanEBGPconnectionbetweenS2andS3.
2.S3andS5areinterconnectedbystaticroutesandOSPFroutes.
3.S3distributesOSPFroutestoBGP ,andsetthemetricvalueoftheOSPFrouteis122.
4.Therearestaticroutespointingto192.168.0.0/24,192.168.1.0/24,192.168.2.0/24,
192.168.3.0/24and192.168.100.0/24and10.1.1.0/24onR4.
5.S4distributesitsstaticroutestoBGPandsetsthemetricvalueto33.Therouteof
192.168.100.0/24requiresltering.
6.ImplementrouteaggregationonS4andadvertisethedetailedroutes.
7.EnsurethatPCsinAS2canintercommunicatewith20.1.1.0/24connectingtoS5.
8.AllroutersusetheaddressofLoopback1asthesourceaddressforconnection,and
thelengthoftheinterconnectionaddressmaskis30bits.
CongurationFlow
1.Congureastaticroute.
2.CongureanIGP(OSPF).
3.EnableBGP .
4.Congureaneighbor.
5.Modifyasourceaddress.
6.Congurerouteaggregation.
5-61
SJ-20150114102049-003|2015-01-15(R1.0)ZTEProprietaryandCondential