Package: avahi-autoipd Version: 0.6.31-5 Followup-For: Bug #533233 I'm experiencing the same issue. A default route with metric 1002 is being added that is overriding the real default route of my machine's actually- connected wireless interface. Even if autoconfiguration on other interfaces is desirable, a metric of 1002 is entirely too low for an auto-configuration "we're not sure if it'll even work" route.
Here are the routes on my machine, as configured by the default configuration: default dev eth0 scope link metric 1002 default via 10.202.100.1 dev wlan0 proto static metric 1024 Changing the default base metric in the script (like in message #26) fixed it for me, but it took a while to track this issue down. -- System Information: Debian Release: 8.4 APT prefers stable APT policy: (990, 'stable'), (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages avahi-autoipd depends on: ii adduser 3.113+nmu3 ii libc6 2.19-18+deb8u4 ii libdaemon0 0.14-6 Versions of packages avahi-autoipd recommends: ii iproute2 3.16.0-2 ii isc-dhcp-client 4.3.1-6+deb8u2 avahi-autoipd suggests no packages. -- Configuration Files: /etc/avahi/avahi-autoipd.action changed: set -e PATH="$PATH:/usr/bin:/usr/sbin:/bin:/sbin" METRIC=$((1100 + `cat "/sys/class/net/$2/ifindex" 2>/dev/null || echo 0`)) if [ -x /bin/ip -o -x /sbin/ip ] ; then # We have the Linux ip tool from the iproute package case "$1" in BIND) ip addr add "$3"/16 brd 169.254.255.255 label "$2:avahi" scope link dev "$2" ip route add default dev "$2" metric "$METRIC" scope link ||: ;; CONFLICT|UNBIND|STOP) ip route del default dev "$2" metric "$METRIC" scope link ||: ip addr del "$3"/16 brd 169.254.255.255 label "$2:avahi" scope link dev "$2" ;; *) echo "Unknown event $1" >&2 exit 1 ;; esac elif [ -x /bin/ifconfig -o -x /sbin/ifconfig ] ; then # We have the old ifconfig tool case "$1" in BIND) ifconfig "$2:avahi" inet "$3" netmask 255.255.0.0 broadcast 169.254.255.255 up route add default dev "$2:avahi" metric "$METRIC" ||: ;; CONFLICT|STOP|UNBIND) route del default dev "$2:avahi" metric "$METRIC" ||: ifconfig "$2:avahi" down ;; *) echo "Unknown event $1" >&2 exit 1 ;; esac else echo "No network configuration tool found." >&2 exit 1 fi exit 0 -- no debconf information