Article View: comp.dcom.sys.cisco
Article #2318Re: BGP Announcements
From: Barry Margolin
Date: Wed, 27 Jun 2001 18:20
Date: Wed, 27 Jun 2001 18:20
43 lines
3037 bytes
3037 bytes
In article <3B39DA75.B5BEAB3B@inrete.it>, Marco Meinardi <marcom@inrete.it> wrote: >A question on BGP announces. >On a WORLD EBGP4 router, I will see the followning announcements. > >CARRIER1 = AS4 >CARRIER1 announce 192.168.0.0/16 path 1 2 3 4 >CARRIER1 announce 192.168.100.0/24 path 1 2 3 4 5 > >CARRIER2 = AS6 >CARRIER2 announce 192.168.100.0/24 path 11 2 8 6 5 > >CARRIER3 = AS7 >CARRIER3 announce 192.168.100.0/24 path 12 10 7 5 > >The first /16 announce, given by CARRIER1, contains the more specific >one given by CARRIER1,2,3. >Which announce will other BGP routers consider? I think it's the most >specific announce, so everyone will get the /24 announce with 3 >different paths, EVEN if the /16 announce contains that network, and its >path is shorter than other ones. >If AS5 link to CARRIER1 is down, WORLD will consider announces given by >CARRIER2,3. >The first announce (192.168.0.0/16) will be considered ONLY if all >CARRIERS withdraw /24 announces. > >Is it a fair explanation? Or, excluding all those BGP routers which do >not accept small announcement, there may be situations in which the /16 >announcement is taken as the best path one? The question you're asking is not about BGP, but about how a router searches the routing table when it's making forwarding decisions. It always uses the most specific route it can find. BGP only considers attributes like AS path length when choosing among routes with the *same* prefix and prefix length, to decide which one to enter into the routing table. -- Barry Margolin, barmar@genuity.net Genuity, Burlington, MA *** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups. Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.
Technical Details
Message-ID:
<xtp_6.37$0v4.778@burlma1-snr2>Path:
arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!cpk-news-hub1.bbnplanet.com!news.gtei.net!burlma1-snr2!not-for-mailReferences:
<3B39DA75.B5BEAB3B@inrete.it>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 102702,eee2aa4dcbff4f55 X-Google-Attributes: gid102702,public X-Google-Thread: 101522,eee2aa4dcbff4f55 X-Google-Attributes: gid101522,public X-Google-ArrivalTime: 2001-06-27 11:20:14 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!cpk-news-hub1.bbnplanet.com!news.gtei.net!burlma1-snr2!not-for-mail From: Barry Margolin <barmar@genuity.net> Newsgroups: comp.dcom.sys.cisco,it.comp.reti.cisco Subject: Re: BGP Announcements References: <3B39DA75.B5BEAB3B@inrete.it> Organization: Genuity, Cambridge, MA Mail-Copies-To: never X-Newsreader: trn 4.0-test72 (19 April 1999) Originator: barmar@genuity.net (Barry Margolin) Lines: 43 Message-ID: <xtp_6.37$0v4.778@burlma1-snr2> X-Trace: +r4CDjBSdxKdG2J3LAcnNMFT8XGw8uAyF9nWdz8ccO1S2iS8l/dFGFUGExj0gbrGdgHZVxYqflsK!rnG6ph02hdWxbxE389IPqPcUS6UuwvujwyDDQa9PqT8PMPYKFxYt1TmgPQ== X-Complaints-To: abuse@genuity.net X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we will be unable to process your complaint properly NNTP-Posting-Date: Wed, 27 Jun 2001 18:20:13 GMT Distribution: world Date: Wed, 27 Jun 2001 18:20:13 GMT