I have two hosts physically connected to the same network.
One of them has only an IPv4LL address configured with
avahi-autoipd (169.254.xxx.xxx), while the other has a static routable IP address (192.168.xxx.xxx) and a default gateway for Internet traffic.
On avahi-autoipd man page I read
To allow communication between hosts that have only an IPv4LL address assigned and hosts that only have a routable IP address assigned you may add the following routes to both network configurations:
route add -net 169.254.0.0 netmask 255.255.0.0 dev eth0 metric 99 route add default dev eth0 metric 99
If I add both routes to the host with just IPv4LL address everything works.
route add default dev eth0 metric 99 added to the other host, in my opinion, is useless.
Why do I should route the "default" traffic in the link-local net? I prefer to route it through my default gateway.
Isn't it right?