Home / Network / Routing / I-BGP synchronization with IGP

I-BGP synchronization with IGP

RIPv2…

Instead of using static routes, we advertise route Rt1 in RIP.

Changing the administrative distance of RIP routes in R4 is more coherent (makes sense) than the precedent case (using static route), in fact:

  • Router R4 would prefer RIP-synchronized BGP routes if they have a better administrative distance;
  • but deleting RIP route would cause BGP routes to get non synchronized in Loc-RIB;
  • what is beautiful is that the corresponding paths get deleted also from RIB… forever!

let’s check with an OSPF route

In a normal situation, how a routing information bloc, included in the description of an OSPF route installed in RIB, would differ from the corresponding route information in Loc-RIB? a part from the prefix, subnet, mask, via interface, information, the router-id is shared between both RIB and Loc-RIB route descriptions but in the first case it corresponds the the advertising peer (R1) OSPF router-id and in the second case to the BGP router-id of the same router (R1)…

We’ve got a chance to have both router-id the same. The next figure shows that Rt1 is synchronized

In case R1 BGP router-id is different from R1 OSPF router-id, Rt1 gets not synchronized in R4.

Let’s test the administrative distance…

We check that:

  • similiarily to static route case, the BGP routes are not deleted from the routing table!
  • the routes are not synchronized in Loc-RIB nor advertised to peers (R5).
  • Using a different subnet mask prevents the route from getting synchronized, installed in RIB and advertised to peers.

what about EIGRP?

Testing administrative distance and subnet match results are the same as RIP but we observe in EIGRP topolgy that the corresponding route is marked as Active and the router is actively querying the neighbors for an alternative successor.

A debug on ip routing shows that:

  • the process add the EIGRP route first,
  • the route in the Loc-RIB get marked as synchronized,
  • having a better administrative distance, BGP route is installed in RIB,
  • the process deletes the EIGRP route and EIGRP put the corresponding route in topology into active state,
  • but BGP detects that EIGRP route has disappeared and put Rt1 into a non synchronized state,
  • BGP paths get deleted from the RIB,
  • the loop starts again from the beginning…

This is not resource efficient…

Conclusion

BGP IGP synchronization concerns only I-BGP peerings.

A matching route from an IGP or static sources should have the same prefix and subnet as the BGP route. The nexthop does not match necessarily and might be any resolvable address (direct or intermediate address).

Pages: 1 2 3 4

Leave a Reply

802.11 (4) application (2) architecture (4) asm (4) automatisation (2) cagd (3) chd (2) cisco (6) command (5) controller (1) cost (6) coverage (5) debug (10) distance (6) dtls (2) dynamic rrm (5) firewall (2) fortinet (2) ieee (4) igmp (5) igp (8) interference (2) internet (3) ip (2) logique (2) loop (5) mac (3) machine learning (3) meraki (1) model (2) mpls (3) mroute (4) multicast (5) nat (2) ndp (2) network (3) next-hop (5) nurbs (3) osi (6) pat (2) pim (4) poisoning (6) projet (2) qos (2) radio (5) rib (5) rip (5) route (6) router (6) routing (15) rpf (4) rrm (10) security (3) show (5) simulation (2) sla (2) snr (2) solution (2) split-horizon (5) sql (1) ssl (2) ssm (4) static (6) stp (2) summarization (5) tcp (2) translation (1) travail (2) udp (2) vpn (3) vrf (3) wifi (11) wireshark (2) wlan (7) wlc (5)

October 2025
M T W T F S S
 12345
6789101112
13141516171819
20212223242526
2728293031  
Table of Contents
Copied!