All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] Help on multipath
@ 2003-09-17 22:00 Lasse B. Jensen
  0 siblings, 0 replies; only message in thread
From: Lasse B. Jensen @ 2003-09-17 22:00 UTC (permalink / raw)
  To: lartc

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/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-09-17 22:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-17 22:00 [LARTC] Help on multipath Lasse B. Jensen

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.