Re: Equal-cost multipath

Linux Advanced Routing and Traffic Control

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

 



On Wednesday 19 November 2003 03:59, Brett Cavé scrawled:
> Hi all,
>
> I have a network with a Redhat 8.0 gateway. It has 3 nic's, 1 connected
> to the lan, and the other 2 connected to ADSL routers. I have configured
> split access with load-balancing, using ip rules and ip routes (with
> weight 1 for both external interfaces).
>
> The load-balancing is working to a degree, but is not giving me exactly
> what I want - the gateway is caching routes, so if I download a large
> file from a site, the route to that site is cached, and it is all
> traffic is routed down 1 ADSL connection. What I would like to do is
> split the traffic, so that all traffic is split equally down both lines
> (equal cost multipath I think). Is what I am trying to do possible, or
> should it be working as I have configured it? Is it possible to specify
> to the kernel not to cache routes?
>
> Regards,
>
> Brett Cavé
>  
> Nerds On-Site
> Email: brett@xxxxxxxxxxxxxxxxx
>

You could use the nano-patch (http://www.ssi.bg/~ja/nano.txt) and the equalize 
option in the multipath route configuration. but from what i understand, the 
traffic is coming 'into' your machine, the splitting of the incoming traffic 
has to occur on the other end of the connection. The nano patch will equalize 
the traffic that goes 'out' of your system. So if somebody downloads data 
from the gateway, then the data will be split equally (or according to the 
weights) over the outgoing connections.

hope that helps,
ashok
_______________________________________________
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