side by side
lines around each change
White space changes
09/04/08 00:48:26 (
For an explanation of these routes, see [http://lists.freedesktop.org/archives/avahi/2006-September/000878.html this thread].
=== Multihomed hosts ===
Linux doesn't allow setting more than one route with the same metric that point to the same network. To work around this issue and still have kind of deterministic setup we recommend setting up the routes like this:
ip route add 169.254.0.0/16 dev realtek0 metric $((1000 + `cat /sys/class/net/realtek0/ifindex`)) scope link
ip route add default dev realtek0 metric $((1000 + `cat /sys/class/net/realtek0/ifindex`)) scope link
This will make sure that each route will get its own unique metric and the routes don't conflict anymore. Of course, you may reach ipv4ll adresses only on one of those interface at a time, the one one with the lowest ifindex.
== Modes of Operation ==
The Avahi Team, 2005-2007