10-03-2005 07:23 AM - edited 03-03-2019 10:39 AM
Hi,
I have a customer who is sending me a network with a prefix of /20 and I am also learing the same network with a prefix of /22 from one of my IX peers.
So if any one on my network wants to get to the customers network it uses the IX peer as the next hop instead of the customer since that is where I m learning a more specific prefix. The customer is not ready to send the specific prefix directly to me. Now I could modify my filters to stop learning the /22 from the IX peer but I dont want to do that as I use a pre-defined template for all the IX peers and dont want to mess around with that.
Is there any way to prefer the customer as the next hop for the more specific prefix?
P.S. The customer is setup with a local-pref of 210 and the IX peers are set with local-pref of 200.
Let me know,
Thanks
10-03-2005 10:06 AM
The only way to prefer the prefix from the customer is actually to receive that specific prefix from the customer as well as from the IX peer or to filter it out from the IX peer. Otherwise, the more specific prefix received from the IX peer will always be preferred as expexted.
Hope this helps,
10-03-2005 11:07 AM
Hi,
I think u can play with the Weight Attribute to prefer the /20 path instead of the more specific path /22.Weight has more preference than Local preference in BGP path selection.Im not sure what equipment ur using but remember Weight is a Cisco-proprietary attribute and is local to the router.
10-03-2005 01:03 PM
Playing with weight won't help here since these are two different prefixes and will therefore not be compared by BGP.
Hope this helps,
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