Dear all,

I thought I know now almost everything about the BGP route selection process. But obviously not yet?!

example:

sh ip bgp regexp _3320_ (next hop addrs removed)

   Network          Next Hop     Metric LocPrf Weight Path
* i81.201.32.0/20   x.x.x.x          90     50      0 702 3320 ?
*>i                 y.y.y.y         100     50      0 286 3320 ?

We have:
1. same local pref.
2. equal as-path length
3. metric on incoming (!) route map set manually to 90 for next hop
   x.x.x.x, and to 100 for y.y.y.y because I would prefer x.x.x.x over
   y.y.y.y if 1. and 2. are equal, because I learned once that
   smaller metric wins.

Still, y.y.y.y is always preferred over x.x.x.x. In real world, the IP address x.x.x.x starts with 212.x.x.x, while y.y.y.y starts with 134.y.y.y.

I tried to exchange the metric 90 and 100, but no effect.

Could anyone point me how to make sure that x.x.x.x is always preferred if 1. and 2. is equal (no prepend, no local-pref change possible).

Thanks,
Fredy

_______________________________________________
swinog mailing list
[EMAIL PROTECTED]
http://lists.init7.net/cgi-bin/mailman/listinfo/swinog

Reply via email to