07-23-2008 04:13 PM - edited 03-03-2019 10:52 PM
I have a common setup with 2 BGP routers going to 2 different ISPs and taking in full BGP routes. Is there an easy way to get router 1 to use the least AS hops if it is through router 2? The eBGP routes have a lower admin value and will always be preffered over iBGP routes even if they are more AS hops. I would prefer not to run OSPF or get a 3rd router. Can the admin value of iBGP just be decreased to 20 to solve this?
Solved! Go to Solution.
07-24-2008 09:22 AM
Administrative distance are used when comparing between 2 different routing protocols. For instance, eBGP vs OSPF.
Within BGP (eBGP vs iBGP), the BGP Path Algorithm is used instead.
HTH,
__
Edison.
07-23-2008 06:02 PM
Please take a moment and read the "BGP Best Path Selection" at:
http://www.cisco.com/en/US/tech/tk365/technologies_tech_note09186a0080094431.shtml
"Prefer the path with the shortest AS_PATH."
goes before
"Prefer eBGP over iBGP paths"
__
Edison.
07-24-2008 08:47 AM
That is the way that I assumed that it worked until I read some Cisco doc that said that eBGP with an admin distance of 20 will always be preferred over the same iBGP route with an admin distance of 200. That made sense to me since admin distances are normally considered before a routing protocols metric.
07-24-2008 09:22 AM
Administrative distance are used when comparing between 2 different routing protocols. For instance, eBGP vs OSPF.
Within BGP (eBGP vs iBGP), the BGP Path Algorithm is used instead.
HTH,
__
Edison.
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