[Olsr-dev] Short netmask lenghts
Teco Boot
(spam-protected)
Tue Aug 10 10:20:23 CEST 2010
>>>>
>>>> Linux has problems with multiple, independent same routes (0/0 to
>>>> different next_hops, maintained independently). Now I use different
>>>> metrics: metric=0 # DHCP from eth1
>>>> metric=1 # from ppp ip-up / ip-down scripts
>>>> metric=2 # from olsrd
>>>
>>> Is the routing metric not enough to create multiple 0/0 routes ?
>>
>> The 0/0 routes have independent originators.
>> For example, pppd can replace the dhcp 0/0 route, but old route is not
>> restored when pppd dies.
> Linux does erase a 0/0 metric 1 rule if you set a 0/0 metric 2 one ?
> I thought the kernel could handle multiple rules with the same target but
> different metrics.
Yes.
But pppd and dhcp on ethernet use same "0/0 metric 0".
pppd replace the dhcp owned route (or not, when noreplacedefaultroute set).
Not tested with dhcp clients removing pppd owned 0/0.
Teco
> Henning Rogge
>
> --
> Diplom-Informatiker Henning Rogge , Fraunhofer-Institut für
> Kommunikation, Informationsverarbeitung und Ergonomie FKIE
> Kommunikationssysteme (KOM)
> Neuenahrer Straße 20, 53343 Wachtberg, Germany
> Telefon +49 228 9435-961, Fax +49 228 9435 685
> mailto:(spam-protected) http://www.fkie.fraunhofer.de
> GPG: E1C6 0914 490B 3909 D944 F80D 4487 C67C 55EC CFE0
More information about the Olsr-dev
mailing list