BIRD: route selection question

Mikhail A. Grishin magr at ripn.net
Mon Mar 28 11:46:50 CEST 2011


Hi,

Why in the example below, the route via 194.226.100.51 is the best?

According http://bird.network.cz/?get_doc&f=bird-6.html#ss6.1
Route selection rules
...
"Prefer the lowest value of the Multiple Exit Discriminator."

And at both peers we have commented string
---
# default bgp_med 0; # MED value we use for comparison when none is defined
---
and the default value is 0.

Probably, for the route via 194.226.100.45 , the MED should be counted
as zero, and this route should win?

BIRD 1.2.5 ready.

bird> show route 194.105.192.0/19 all
194.105.192.0/19   via 194.226.100.51 on em0 [R20632x1 2011-03-22
21:37:36] * (100) [AS6820i]
         Type: BGP unicast univ
         BGP.origin: IGP
         BGP.as_path: 20632 6820
         BGP.next_hop: 194.226.100.51
         BGP.med: 160
         BGP.local_pref: 100
                    via 194.226.100.45 on em0 [R3277x1 2011-03-16
12:47:37] (100) [AS6820i]
         Type: BGP unicast univ
         BGP.origin: IGP
         BGP.as_path: 3277 6820
         BGP.next_hop: 194.226.100.45
         BGP.local_pref: 100





More information about the Bird-users mailing list