[LARTC] Latest techniques for multiple PPP load-balancing

Linux Advanced Routing and Traffic Control

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

 



--xHFwDpU9dbj6ez1V
Content-Type: text/plain; charset=iso-8859-15
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Jan 19, 2003 at 01:32:15AM -0000, Andy Coates wrote:

> I currently have 2 ADSL modems, provided by the same ISP and terminating
> on the same gateway (I think having the same gateway is what is causing
> the problems, since the nexthop is always the same for each interface).
> I've tried using equal cost multipath (using ip route to set two
> nexthops with equal weights).  Problem is I believe this uses route
> lookups to determine which interface to use, and thus for sending data
> to common destinations it only ever uses 1 interface.
>=20
> Does anyone know if its even possible to send packets over each
> interface "equally"?  I read somewhere that you might be able to clear
> the route cache after every packet, but I've only seen people talk about
> it and don't know if its true.
>=20
> Can anyone help?
>=20
> I'm running 2.4.20 on Debian (woody), with both ADSL modems using PPPoA
> and with most of the QoS and network queuing modules installed.  AFAIK,
> my provider doesn't support multilink.

I've done this in a previous life on a [patched] 2.2 kernel with using
ISDN-interfaces, using the 'equalize' parameter in the nexthop statement.
Possibly, 2.4 supports this natively - but I cannot test it at home.

You could try something along the lines of the following though (note the
equalize!):

ip route add default scope global equalize nexthop dev ppp0 via 12.34.56.78=
 \
      nexthop dev ppp1 via 12.34.56.78

(It won't give you doubled download speed of course, this will only help you
while uploading - but only if your provider isn't doing per-connection
egress filtering in the upstream gateway)

Regards,
--=20
Jasper Spaans
http://jsp.vs19.net/contact/

--xHFwDpU9dbj6ez1V
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+KnSe1Bo4HffkuxYRAlYYAJ0YCGz9T6DfsVYkBiP+Jxx0YPJoQQCgy7ia
cthn95JfTtxs9SHjN2lhkOc=
=loVO
-----END PGP SIGNATURE-----

--xHFwDpU9dbj6ez1V--


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