Hi, ALL.

 

Part of bird.conf

:

protocol static {

#       disabled;               # Disable by default

#       table testable;         # Connect to a non-default table

        preference 254; # Default preference of routes

#       debug { states, routes, filters, interfaces, events, packets };

#       debug all;

        route 1.1.1.0:255.255.255.0 via "lo";

        route 2.2.2.0:255.255.255.0 via "lo";

        route 3.3.3.0/24 reject;

        route 0.0.0.0/0 via 93.191.9.205;

 

}

:

Console output of birdc

bird> show static static1

3.3.3.0/24 unreachable

0.0.0.0/0 via 93.191.9.205

1.1.1.0/24 dev lo

2.2.2.0/24 dev lo

bird>

bird> show route where source=RTS_STATIC

0.0.0.0/0          via 93.191.9.205 on eth2.701 [static1 2010-05-09
16:31:10] * (254)

3.3.3.0/24         unreachable [static1 2010-05-08 18:54:13] * (254)

bird>

 

Why 1.1.1.0/24 and 2.2.2.0/24 have no attribute source = RTS_STATIC in the
bird routing table despite the fact that what 1.1.1.0/24 and 2.2.2.0/24 are
configured in protocol static?

 

 

Vladislav Grishin

Reply via email to