834
C
56: BGP C
HAPTER
ONFIGURATION
IBGP and IGP
Information
Synchronization
Figure 240 Network diagram for BGP load balancing
AS 100
Router A
Router E
AS 200
In the above figure, Router D and Router E are IBGP peers of Router C. Router A
and Router B both advertise a route destined for the same destination to Router C.
If load balancing is configured and the two routes have the same AS_PATH
attribute, ORIGIN attribute, LOCAL_PREF and MED, Router C adds both the two
routes to its route table for load balancing. After that, Router C forwards routes to
Router D and Router E only once, with AS_PATH unchanged, NEXT_HOP changed
to Router C's address. Other BGP transitive attributes apply according to route
selection rules.
BGP route advertisement rule
The current BGP implementation supports the following route advertisement rules:
When multiple available routes exist, a BGP speaker advertises only the best
■
route to its peers.
A BGP speaker advertises only routes used by itself.
■
A BGP speaker advertises routes learned from EBGPs to all BGP peers, including
■
both EBGP and IBGP peers.
A BGP speaker does not advertise routes learned from IBGPs to IBGP peers.
■
A BGP speaker advertises routes learned from IBGPs to EBGP peers. Note that if
■
information synchronization is disabled between BGP and IGP, IBGP routes are
advertised to EBGP peers. If enabled, only IGP advertises the IBGP routes can
these routes be advertised to EBGP peers.
A BGP speaker advertises all routes to a newly connected peer.
■
The routing Information synchronization between IBGP and IGP is for avoidance of
giving wrong directions to routers outside of the local AS.
If a non-BGP router works in an AS, a packet forwarded via the router may be
discarded due to unreachable destination. As shown in
learned a route 8.0.0.0/8 from Router D via BGP. Then Router E sends a packet to
Router A through Router D, which finds from its routing table that Router B is the
next hop (configured using the peer next-hop-local command). Since Router D
learned the route to Router B via IGP, it forwards the packet to Router C using
Router B
Router C
Router D
Figure
241, Router E
Need help?
Do you have a question about the MSR 50 Series and is the answer not in the manual?
Questions and answers