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?
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.