[Olsr-dev] Short netmask lenghts
Tue Aug 10 12:41:35 CEST 2010
On Tue August 10 2010 10:20:23 Teco Boot wrote:
> >>>> 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.
> 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.
Hmm... would be nice (but difficult) to patch pppd or dhcpd so that you can
specify the metric value for the default route.
Diplom-Informatiker Henning Rogge , Fraunhofer-Institut für
Kommunikation, Informationsverarbeitung und Ergonomie FKIE
Neuenahrer Straße 20, 53343 Wachtberg, Germany
Telefon +49 228 9435-961, Fax +49 228 9435 685
GPG: E1C6 0914 490B 3909 D944 F80D 4487 C67C 55EC CFE0
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 198 bytes
Desc: This is a digitally signed message part.
More information about the Olsr-dev