On mån, 2010-03-22 at 21:30 +0100, Thomas Dekker wrote:
[...]
> But, when using ip to do the same, it fails after the first route:
> $ ip route add 192.168.1.0/20 dev eth0 scope link
> $ ip route add 192.168.1.0/20 dev eth1 scope link
> $ RTNETLINK answers: File exists

Please try to explicitly set the preferred order by specifying the
metric (or preference) number.

e.g.
# ip route add 192.168.1.0/20 dev eth0 scope link #metric 0
# ip route add 192.168.1.0/20 dev eth1 scope link metric 10


-- 
Regards,
Andreas Henriksson



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to