08-27-2007 09:13 PM - edited 03-03-2019 06:29 PM
HI all,
I wud just like to know differences between BGP Synchronisation, IBGP and IGP.
What does BGP Synchronisation does when it is ON ?
What does BGP Synchronisation does when it is OFF?
Warm Regards
Raghav
08-27-2007 10:29 PM
Hi Raghav,
Synchronization states that a BGP router with synchronization enabled will not advertise iBGP-learned routes to other eBGP peers if it is not able to validate those routes in its IGP.
> Assuming that IGP has a route to iBGP-learned routes, the router will announce the iBGP routes to eBGP peers (thus you'll have to redistribute BGP into IGP to have it working).
> Otherwise the router treats the route as not being synchronized with IGP and does not advertise it.
The best practice is to disable synchronization but have all routers in the network running BGP, and accordingly full meshed (or use a RR or Confederation) accordingly routing loop and back holes are prevented
HTH,
Mohammed Mahmoud.
08-28-2007 02:42 AM
Additionally to what Mohammed have said, here is an example:
Topology:
|internet| <-> |R1|
Operation:
1. Router R1 receives a route over BGP from internet (e.g. 69.0.0.0/8)
show ip bgp: "*>69.0.0.0/8"
and it has internal routes through IGP:
show ip route eigrp: "D 172.16.0.0/12"
2. SYNCHRONIZATION OFF:
Router R1 has following routes in the routing table:
sh ip route:
B 69.0.0.0/8
D 172.16.0.0/12
2. SYNCHRONIZATION ON:
Router R2 has following routes in the routing table:
D 172.16.0.0/12
Why doesn't it have BGP route you ask? Because Synchronization says that BGP can use the route only in case when IGP has that route too.
If you would add a static route, or redistribute routes into IGP, then the route would appear in IGP, and BGP will be able to use it.
Not a good idea for internet routes, and generally it is not used with modern design principles.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide