All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Lasse B. Jensen" <gymer@odense.kollegienet.dk>
To: lartc@vger.kernel.org
Subject: [LARTC] Help on multipath
Date: Wed, 17 Sep 2003 22:00:52 +0000	[thread overview]
Message-ID: <marc-lartc-106383618318080@msgid-missing> (raw)

hey all

I have a setup with 4 adsl lines with gw 192.168.1.1-4 connected to a 
switch and then to eth1 i my linux box (ip 192.168.1.10) currently i 
mark connection via iptables and via:

ip rule add fwmark 1 table m1
ip rule add fwmark 2 table m2

i send connection to the 2 tables. My problem is now that i would like to 
do something like this:

ip route add default table m1 via 192.168.1.1 dev eth1

this part works fine the next doesnt

ip route add default table m2 \
    nexthop via 192.168.1.2 dev eth1 \
    nexthop via 192.168.1.3 dev eth1 \
    nexthop via 192.168.1.4 dev eth1

Can anyone help me the erro message is: RTNETLINK answers: Invalid 
argument

Lasse B. Jensen
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

                 reply	other threads:[~2003-09-17 22:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-lartc-106383618318080@msgid-missing \
    --to=gymer@odense.kollegienet.dk \
    --cc=lartc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.