Help on multipath

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux