default bgp_med not working

Wolfgang Hennerbichler wh at univie.ac.at
Thu Nov 19 08:40:44 CET 2009


Hi Birdies, 

I've got a good reason to belive that the option 'default bgp_med' is not working (at all), at least in my setup. I do something like this in a filter: 

  export filter {
    if from = 1.2.3.4 then {
      print bgp_med;
      print from;
      print net;
      bgp_med = bgp_med + 1;
      accept;
    }

and I have output like that: 

0
1.2.3.4
194.0.2.0/24
0
1.2.3.4
194.0.1.0/24
(void)
1.2.3.4
213.135.40.0/23
(void)
1.2.3.4
213.135.32.0/21
0
1.2.3.4
143.224.0.0/16

=> those void's are disturbing, aren't they?
Even adding the option default bg_med 10 doesn't change the bgp metric. So I guess I found a bug? I could only work around it by setting the bgp_med in the import filter. 

Wolfgang

-- 
www.vix.at | www.aco.net
wh at univie.ac.at | WH844-RIPE
Vienna University Computer Center



More information about the Bird-users mailing list