[quagga-users 8206] Re: Quagga-users Digest, Vol 44, Issue 30

Gobbledegeek gobbledegeek at gmail.com
Sat Mar 31 16:40:13 IST 2007


>
> hello, here is my test setup:
>
> .........
> !
> router ospf
>  network 172.16.0.0/16 area 0.0.0.0
>  network 172.16.0.0/30 area 1.1.1.1
> !
> .........
> gw.testdomain.local# sho ip ospf int lnc1
> lnc1 is up
>   Internet Address 172.16.0.2/30, Broadcast 172.16.0.3, Area 0.0.0.0
> gw.testdomain.local# sho ip ospf int lnc2
> lnc2 is up
>   Internet Address 172.16.0.6/30, Broadcast 172.16.0.7, Area 0.0.0.0
> ........
> some lines skipped, but other settings are by default
>
> the question is - shouldn't lnc1 be in area 1.1.1.1 ?
> i thought that router uses best-match algorythm.
> stepped into this trap on real-world config and spent half of day to
> figure that out.
>

The all inclusive network statement will eat up the rest.

Longest match is used in routea table lookups only.

Regards


More information about the Quagga-users mailing list