I ran into this problem trying to setup multiple ISPs in Shorewall.
In the attached trace, you can see that a startup dies with:
+ ip route add table 1 169.254.0.0/16 dev eth0 scope link metric 10
RTNETLINK answers: File exists
+ error_message ''ERROR: Command "ip route'' add table 1
169.254.0.0/16
dev eth0 scope link metric ''10" Failed''
I traced this down to a problem with Zeroconf, which in the distro I am
using (Mandriva 2007), is enabled for all interfaces by default. I
don''t particularly need or care for this Zeroconf feature, but saw no
reason to disable it.
My workaround is to disable it, and maybe that is simply what should be
done in this case.
I did some experimenting, and found that what actually exists in table 1 is:
169.254.0.0/16 dev eth1 scope link metric 10
A manual "ip route add table 1 169.254.0.0/16 dev eth0 scope link metric
10" fails, unless I remove the above route on that table.
I could also add the new route if I changed the metric.
I noticed the "main" table does in fact have both routes
169.254.0.0/16 dev eth0 scope link metric 10
169.254.0.0/16 dev eth1 scope link metric 10
..so I presume there is a way to add them both on one table, but I
don''t
how that is done.
Marc
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net''s Techsay panel and you''ll get the chance
to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV