Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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.
But the 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?

share|improve this question

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.