[LARTC] Equal-cost multipath
N N Ashok
nalkunda@cse.msu.edu
Sun, 23 Nov 2003 01:19:03 -0500
On Wednesday 19 November 2003 03:59, Brett Cav=E9 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 configure=
d
> 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=E9
> =20
> Nerds On-Site
> Email: brett@nerdsonsite.co.za
>
You could use the nano-patch (http://www.ssi.bg/~ja/nano.txt) and the equ=
alize=20
option in the multipath route configuration. but from what i understand, =
the=20
traffic is coming 'into' your machine, the splitting of the incoming traf=
fic=20
has to occur on the other end of the connection. The nano patch will equa=
lize=20
the traffic that goes 'out' of your system. So if somebody downloads data=
=20
from the gateway, then the data will be split equally (or according to th=
e=20
weights) over the outgoing connections.
hope that helps,
ashok