[quagga-dev 4120] Re: Inconsistent "inactive" route in OSPF

Paul Jakma paul at clubi.ie
Fri May 5 17:02:23 BST 2006


On Fri, 5 May 2006, Erik Tromp wrote:

>  root at OspfOlsrNode:/etc/rc2.d# ip route
>  10.0.3.0/24 dev eth1  proto kernel  scope link  src 10.0.3.2

> Step 10.)
> Now, we add the route to host 10.0.3.3 *first*
>
>  root at OspfOlsrNode:/etc/rc2.d# route add -host 10.0.3.3 eth1

>  10.0.3.3 dev eth1  scope link
>  10.0.3.0/24 dev eth1  proto kernel  scope link  src 10.0.3.2

>  C>* 10.0.3.0/24 is directly connected, eth1
>  K>* 10.0.3.3/32 is directly connected, eth1
>  C>* 10.0.42.0/24 is directly connected, eth2

> Zebra says that is ok. We have a kernel route to host 10.0.3.3.

> Now we add the static route to network 10.0.43.0/24 again.
>
>  OspfOlsrNode(config)# ip route 10.0.43.0/24 10.0.3.3

>  C>* 10.0.3.0/24 is directly connected, eth1
>  K>* 10.0.3.3/32 is directly connected, eth1
>  C>* 10.0.42.0/24 is directly connected, eth2
>  S   10.0.43.0/24 [1/0] via 10.0.3.3 inactive
>                                      ^^^^^^^^

> Why is this???

Because the 10.0.43.0/24 static is via 10.0.3.3. The nexthop must 
resolve to a connected route for zebra to consider it valid. With the 
above, 10.0.3.3 matches the 'K>* 10.0.3.3/32' route.

Remove that route, and the 10.0.3.3 nexthop will match 'C>* 
10.0.3.0/24' and will work.

regards,
-- 
Paul Jakma	paul at clubi.ie	paul at jakma.org	Key ID: 64A2FF6A
Fortune:
After all, it is only the mediocre who are always at their best.
 		-- Jean Giraudoux



More information about the Quagga-dev mailing list