[Pkg-utopia-maintainers] Bug#434462: avahi-autoipd: fix for #426918 is bogus

Martin Pitt mpitt at debian.org
Mon Oct 1 15:19:02 UTC 2007


Hi,

Lennart Poettering [2007-07-24  3:02 +0200]:
> Unless the route is created on all interfaces, things will get borked
> if you have two cards. First you ifup the first one -- the link-local
> route is created. Then the second one -- the link-local route is not
> created due to the bogus fix. Now the first iface is ifdown'ed -- the
> link-local route goes away, and we are lost with no link-local route
> at all.

That's true, but you cannot create the same route on two different
interfaces. I. e. if 169.254.0.0/16 is already routed through eth0,
trying to add it to eth1 will just fail with "RTNETLINK answers: File
exists" and the script aborts.

It might work to use different metrics for those multiple rules.
However, that would not make things much better; if you have multiple
interfaces, then it is simply not clear which one the user 'wants'.

Martin
-- 
Martin Pitt        http://www.piware.de
Ubuntu Developer   http://www.ubuntu.com
Debian Developer   http://www.debian.org





More information about the Pkg-utopia-maintainers mailing list