OSPF: how distance parameter is calculated ?

Piotr piotr.1234 at interia.pl
Fri May 22 13:48:22 CEST 2015


Hi,

I have two ospf routers in the same vlan and subnet but with different 
metrics (20 vs 50). I'd like to prefer router with metric=20  but 
distance parameter is more prefered. How can i change distance parameter 
or just  ?

thanks for help

bird> show ospf state

area 0.0.0.133

         router 10.10.10.252
                 distance 10
                 network 8.8.2.0/28 metric 1
                 network 20.20.20.240/28 metric 1
                 nssa-ext 0.0.0.0/0 metric 50

         router 10.10.10.254
                 distance 11
                 network 20.20.20.240/28 metric 1
                 stubnet 8.8.2.0/28 metric 1
                 nssa-ext 0.0.0.0/0 metric 20


server config:
protocol ospf MyOSPF {
             tick 2;
             rfc1583compat yes;
             area 0.0.0.133 {
                    nssa;
                    interface "bond0" {
                              hello 10;
                              priority 0;
                              type nbma;
                              neighbors {  10.10.10.252 eligible;
                                           10.10.10.254 eligible;      };


}









More information about the Bird-users mailing list