Internet.com
Get your
ISP-News
courtesy of
internetnews.com




Search ISP-Lists
Search:
ISP Channel
CLEC-Planet
ISP Glossary
ISP News
ISP-Planet
ISP-Lists
E-mail Newsletters
Opt-in Announcements
Discussion Forums
internet.com
IT
Developer
Internet News
Small Business
Personal Technology
International

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers

The ISP-Lists.com Email Discussion List Community

<- Previous Message | Next Message ->
Thread Index
[isp-bgp] Re: BGP administrative distance question
  • To: isp-bgp@isp-bgp.com
  • Subject: [isp-bgp] Re: BGP administrative distance question
  • From: Iljitsch van Beijnum <iljitsch@...>
  • Date: Fri, 7 May 2004 23:18:53 +0200

On 7-mei-04, at 17:41, Thanh_Mai@... wrote:

This is in reference to IBGP and EBGP distances only, so If I set EBGP to
20 and IBGP to 200, I will always preferr EBGP regardless of AS-PATH, etc.
NO IGP routes involved.
Actually it's the default for eBGP routes to overrule any IGP routes.

If what you want to do is prefer eBGP routes over iBGP ones: it doesn't work that way. The administrative distance is used to select the best route when more than one routing protocol has a route for a destination. This happens AFTER each routing protocol has selected the best route for inclusion in the master routing table ("show ip route") as per the algorithm pertinent to that protocol. (Least number of hops for RIP, lowest cost for OSPF, the list of 15 or so rules for BGP...)

In other words: BGP first selects a route for inclusion in the routing table using the regular BGP route selection algorithm (or "path selection algorithm" if you prefer). Then, if this route happens to be learned over eBGP, it gets an administrative of 20. If not, it gets a distance of 200.

I haven't tried this, but you should be able to reach the desired effect by using a "match route-type external" clause in a route map that increases the local preference (or weight).

Imagining what kind of bad stuff will happen if you prefer internal routes over external ones instead is left as an exercise for the reader.

--
Iljitsch van Beijnum - http://www.bgpexpert.com/ (updated: Apr 24, 23:25:01)







To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016

Please include the email address which you have been contacted with.

Replies
[isp-bgp] Re: BGP administrative distance question, Terry Baranski
Replies
[isp-bgp] Re: BGP administrative distance question, Thanh_Mai
<- Previous Message | Next Message ->
Thread Index

ISP Glossary
Find an ISP Term

Need Help?

JupiterOnlineMedia

internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info


Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy.

Advertise | Newsletters | Tech Jobs | Shopping | E-mail Offers