Go Back   AnandTech Forums > Hardware and Technology > Networking

Forums
· Hardware and Technology
· CPUs and Overclocking
· Motherboards
· Video Cards and Graphics
· Memory and Storage
· Power Supplies
· Cases & Cooling
· SFF, Notebooks, Pre-Built/Barebones PCs
· Networking
· Peripherals
· General Hardware
· Highly Technical
· Computer Help
· Home Theater PCs
· Consumer Electronics
· Digital and Video Cameras
· Mobile Devices & Gadgets
· Audio/Video & Home Theater
· Software
· Software for Windows
· All Things Apple
· *nix Software
· Operating Systems
· Programming
· PC Gaming
· Console Gaming
· Distributed Computing
· Security
· Social
· Off Topic
· Politics and News
· Discussion Club
· Love and Relationships
· The Garage
· Health and Fitness
· Merchandise and Shopping
· For Sale/Trade
· Hot Deals with Free Stuff/Contests
· Black Friday 2013
· Forum Issues
· Technical Forum Issues
· Personal Forum Issues
· Suggestion Box
· Moderator Resources
· Moderator Discussions
   

Reply
 
Thread Tools
Old 02-24-2013, 02:28 PM   #1
sunnyvikash
Junior Member
 
Join Date: Feb 2013
Posts: 1
Red face BGP Community

Hi all,
I am new to this forum. I want to know what the does Rule of sunchronization exactly says in BGP ?
sunnyvikash is offline   Reply With Quote
Old 02-24-2013, 03:27 PM   #2
Fardringle
Diamond Member
 
Fardringle's Avatar
 
Join Date: Oct 2000
Posts: 7,324
Default

http://www.cisco.com/en/US/docs/ios/...html#wp1041409
__________________
"I did RC5, but I didn't flush." - Bill Clinton
"I invented distributed computing." - Al Gore
"I had a dream where every American would be free to run SETI@Home!" - Martin Luther King Jr.
"Greendale is a bodaciously small town, Lane... I can't even Find-A-Drug here!" - Charles De Mar (Better Off Dead)
"I did not have BOINC relations with that woman, Rosetta@Home!" - Bill Clinton
Fardringle is offline   Reply With Quote
Old 02-28-2013, 09:59 AM   #3
m1ldslide1
Platinum Member
 
m1ldslide1's Avatar
 
Join Date: Feb 2006
Location: PDX
Posts: 2,322
Default

Basically that an iBGP speaker won't advertise a prefix to an iBGP peer unless it is also in the routing table via IGP. This is something I know for exam-taking purposes, but I don't think you will see it in real life. Recent versions of IOS have it disabled by default. Does anyone know of a scenario where you would actually want to enable it??
__________________
One's mind, once stretched by a new idea, never regains its original dimensions.
--Oliver Wendell Holmes

Crunching for Team AnandTech!
m1ldslide1 is offline   Reply With Quote
Old 02-28-2013, 10:26 AM   #4
Gryz
Senior Member
 
Gryz's Avatar
 
Join Date: Aug 2010
Posts: 412
Default

Synchronization is that a BGP-speaker will not advertise an iBGP learned route to an eBGP-neighbor, before it has learned that same route via the IGP. (BGP never advertises iBGP-learned routes to iBGP-neighbors (unless it's a route-reflector)).

You want to enable synchronization when you run BGP only on the outer routers in your AS, and when you do not run BGP on the inner routers in your network. (Implying that those "inner routers" are (or can be) transit-routers)).

The idea was once that you would redistribute all BGP routes into your IGP.
Example: AS1 - eBGP speaker 1A - eBGP speaker 2A (in AS2) - IGP-only router 2B (in AS2) - eBGP speaker 2C (in AS2) - eBGP speaker 3A (in AS3) - AS3.

We are AS2.
We have 3 routers. 2A and 2C speak iBGP. 2B does not run BGP.

Suppose someone wants to send a packet from AS1 to AS3. Via AS2.
The packet will go from AS1 to 1A -> 2A -> 2B -> 2C -> 3A -> AS3.
All the BGP speakers will know the route to the enddestination in AS3.
But router 2B does not. Because it doesn't speak BGP.
So if we don't do anything, 2B will drop the packet.

There are 2 solutions.
1) Make 2B a BGP-speaker. This is current common practice nowadays. We configure 2B to speak iBGP with 2A and 2C. I've only seen this since I looked at BGP (which was in 1994).
or 2) Make 2A and 2C redistribute their eBGP routes into the IGP.
This was the initial idea of BGP. Many years ago. (20+).

A problem happened when BGP would learn a route before the IGP would learn the route. Suppose 2C advertises a prefix from AS3 to 2A. Can 2A advertise it immediately to 1A ? Suppose the IGP is slow, and 2B has not learned the prefix yet. That means 2A will actually advertise a blackhole. Remember that in those everybody was still running RIP and IGRP.
The solution was: 2A needs to wait until it has learned the prefix from AS3 via the IGP. Only then it knows that 2B knows the route too. And then it can advertise the prefix to 1A. This is called synchronization.

Old stuff.
But if you work with BGP, you should at least understand how and why it works. Even if you don't use it. It is similar to the reason why your area-0 in OSPF needs to be contiguous. Or why you L2-backbone in IS-IS needs to be contiguous.

Last edited by Gryz; 02-28-2013 at 10:35 AM.
Gryz is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 07:13 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.