Multipath Routing in same subnet - Please take a look

Linux Advanced Routing and Traffic Control

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

 



Hello.

I have the problem that I have two gateways on the same subnet, 80.237.244.1 and 80.237.244.33. Both gateways are 100 MBit cards, so I have 2 times 100 MBit to the Internet. The NIC in the server is a gigabit-card, so this card is easy able to use both gateways for outgoing traffic.

Now I just want to use both gateways for my outgoing traffic but no matter what I do, it doesnt work. I tried "ip route replace default scope global nexthop via 80.237.244.1 dev eth1 weight 100 nexthop via 80.237.244.33 dev eth1 weight 100" but it only either sends all traffic to .1 or all to .33. I have many downloaders so it shouldnt be a problem, should it? Its a 2.6.12rc3 kernel with advanced router enabled and all multipath-options enabled as well. "ip" doesnt give an error and "ip route ls" shows the following:

80.237.244.0/26 dev eth1  proto kernel  scope link  src 80.237.244.52
default
        nexthop via 80.237.244.1  dev eth1 weight 100
        nexthop via 80.237.244.33  dev eth1 weight 100


I have read postings on the net but all of them are using huge scripts because they are on different networks. My problem seems to be a much easier problem but I just cant get this to work..... :(


Please help.

Best regards,
Chris
_______________________________________________
LARTC mailing list
LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

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