netdev
[Top] [All Lists]

Re: multipath routing doesn't work with netlink

To: Julian Anastasov <ja@xxxxxx>
Subject: Re: multipath routing doesn't work with netlink
From: Rik van Riel <riel@xxxxxxxxxxxxxxxx>
Date: Mon, 28 Oct 2002 21:04:17 -0200 (BRST)
Cc: netdev <netdev@xxxxxxxxxxx>, Arnaldo Carvalho de Melo <acme@xxxxxxxxxxxxxxxx>
In-reply-to: <Pine.LNX.4.44.0210282228120.1369-100000@u.domain.uli>
Sender: netdev-bounce@xxxxxxxxxxx
On Mon, 28 Oct 2002, Julian Anastasov wrote:
> On Mon, 28 Oct 2002, Rik van Riel wrote:
> > # ip route add default via 10.0.16.1
> > # ip route add default via 10.0.17.2
> > RTNETLINK answers: File exists
>
>       And this is "ip route prepend" (NLM_F_REQUEST|NLM_F_CREATE
> without NLM_F_APPEND):

"ip route prepend" doesn't work here, but "ip route append" does
exactly what is wanted.

Thank you,

Rik
-- 
Bravely reimplemented by the knights who say "NIH".
http://www.surriel.com/         http://distro.conectiva.com/
Current spamtrap:  <a href=mailto:"october@xxxxxxxxxxx";>october@xxxxxxxxxxx</a>


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