09-28-2009 05:43 AM - edited 03-04-2019 06:11 AM
Per the Cisco documentation,
"The BGP synchronization rule states that if an AS provides transit service to another AS, BGP should not advertise a route until all of the routers within the AS have learned about the route via an IGP."
In the above rule, is this assuming that the IGP is distributing it's routes into BGP?
09-28-2009 05:49 AM
Hi Richard,
You must include the previous paragraph so this paragraph can be understood properly and not taken out of context.
The preceding paragraph states:
"When an AS provides transit service to other ASs and if there are non-BGP routers in the AS, transit traffic might be dropped if the intermediate non-BGP routers have not learned routes for that traffic via an IGP."
In other words, routers not running BGP must have the routes from BGP in their IGP. Routers running BGP must redistribute their routes into IGP and from IGP back into BGP to avoid the route to be dropped.
HTH,
__
Edison.
09-28-2009 06:12 AM
Thanks Edison,
So, we are talking mutual redistribution between the IGP and BGP then, when synchronization enters the picture either enabled or not correct?
09-28-2009 06:22 AM
Richard,
That's correct and that's the reason Cisco changed its default from enabled to disabled.
The rule stipulates;
If BGP synchronization is enabled, there must be a match for the prefix in the IP routing table in order for an internal BGP (iBGP) path to be considered a valid path.
HTH,
__
Edison.
09-28-2009 05:49 AM
Hello,
Frankly, yes, it is. This is also the reason why the synchronization is by default off in newer IOSes - it is hardly thinkable today to redistribute thousands of BGP networks into an IGP.
Best regards,
Peter
09-28-2009 06:10 AM
hi,
synchronization rule will come into the picture when your topology is not full-mesh ibgp peership or lack of RR or confederation and therefore for reachability from external AS to another AS via transit AS, you need to redistrbute external network into IGP and via IGP, end to end reachability will occure.
hope this help u!!
09-28-2009 06:17 AM
Hello,
I am sorry but I believe you are incorrect here. The synchronization feature in BGP requires that the networks known by iBGP must be also advertised by an IGP protocol before the BGP advertises them further. Note that even if you have a full BGP mesh or properly running route reflector, an active synchronization will cause each of these BGP speakers to just store the BGP-advertised networks in their BGP databases and wait for the IGP to advertise these networks. Until that, these networks will not be considered usable for BGP purposes.
Best regards,
Peter
09-28-2009 07:49 AM
hi,
means if we turn on synch. on all bgp routers after conf full mesh ibgp or RR or confederation, then we need to redistribute external routes into igp and then bgp router will check into the igp table before advertising to ibgp neighbor or ebgp neighbor and after this we can correctly assume that internet table and ibg table are synchronized properly..
am i correct..
regards
sourabh,
09-28-2009 09:53 AM
Hello,
Yes, you are correct. Whenever a BGP is about to select the best path for each destination, it considers only valid paths in the BGP database. If the synchronization is turned on, then the path must be also advertised by an IGP protocol, otherwise the path will be considered invalid.
Check these documents for more detail:
http://www.cisco.com/en/US/tech/tk365/technologies_tech_note09186a0080094431.shtml
http://www.cisco.com/en/US/tech/tk365/technologies_tech_note09186a00800c95bb.shtml#synch
Best regards,
Peter
09-28-2009 10:19 AM
hi peter,
thank you for correcting me...
thanks and regards,
sourabh d
10-01-2009 10:10 PM
10-02-2009 07:40 AM
From what I have read,
You would need synchronization turned off and a full mesh of the IGP between R1, R2, R3, R4, R5.
From what you described, it looks like sychronization is doing what it is supposed to do.
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