Re: Unequal Multipath Routing?

Linux Advanced Routing and Traffic Control

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

 



On Tuesday 27 June 2006 08:33, Andrew Lyon wrote:
> Hi,
>
> I am currently using a 2.4 kernel with multipath routing patch v5 to send
> outgoing packets in a 1:1 ratio over two lines, however the lines do not
> actually have equal upstream bandwidth, one has 800kbit and the other
> 600kbit, so ideally I would like to send packets in a 4:3 ratio, is there
> anything in 2.6 or a patch for 2.4 that could be used to do that?
>
> I tried this ugly hack but it didn't seem to work:
>
> ip route add default src my.ip.add.res  equalize nexthop via a.a.a.a weight
> 1 nexthop via b.b.b.b weight 1 nexthop via a.a.a.a weight 1 exthop via
> b.b.b.b weight 1 nexthop via a.a.a.a weight 1 nexthop via b.b.b.b weight 1
> nexthop via a.a.a.a weight 1

how about:
ip route add default nexthop via a.a.a.a weight 4 nexthop via b.b.b.b weight 3 

Not tested but i think it can work.

--
Luciano
_______________________________________________
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