netdev
[Top] [All Lists]

multipath routing doesn't work with netlink

To: netdev <netdev@xxxxxxxxxxx>
Subject: multipath routing doesn't work with netlink
From: Rik van Riel <riel@xxxxxxxxxxxxxxxx>
Date: Mon, 28 Oct 2002 14:10:24 -0200 (BRST)
Cc: Arnaldo Carvalho de Melo <acme@xxxxxxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
Hi,

Am I doing something wrong or is there a kernel bug that
prevents multipath routing from working with NETLINK ?

# ip route add default via 10.0.16.1
# ip route add default via 10.0.17.2
RTNETLINK answers: File exists
# route add default gw 10.0.17.2
#

... of course, this last command just works and results in
a routing table like this:

# ip route
10.0.16.0/21 dev eth0  proto kernel  scope link  src 10.0.17.3
127.0.0.0/8 dev lo  scope link
default via 10.0.17.2 dev eth0
default via 10.0.16.1 dev eth0

Is there a fundamental reason that iproute2 (using NETLINK) should
fail here, or is this a bug for which patches will be accepted ?

regards,

Rik
-- 
A: No.
Q: Should I include quotations after my reply?

http://www.surriel.com/         http://distro.conectiva.com/


<Prev in Thread] Current Thread [Next in Thread>