Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
From: Jasper Spaans <lartc@spaans.ds9a.nl>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Latest techniques for multiple PPP load-balancing
Date: Sun, 19 Jan 2003 09:49:18 +0000	[thread overview]
Message-ID: <marc-lartc-104296977412941@msgid-missing> (raw)
In-Reply-To: <marc-lartc-104294009631701@msgid-missing>

[-- Attachment #1: Type: text/plain, Size: 1722 bytes --]

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.
> 
> 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.
> 
> Can anyone help?
> 
> 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,
-- 
Jasper Spaans
http://jsp.vs19.net/contact/

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2003-01-19  9:49 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-19  1:32 [LARTC] Latest techniques for multiple PPP load-balancing Andy Coates
2003-01-19  9:49 ` Jasper Spaans [this message]
2003-01-19 14:12 ` Andy Coates
2003-01-20  6:51 ` Patrick McHardy
2003-01-20 18:16 ` Andy Coates
2003-01-20 19:58 ` Andreas Hasenack

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-lartc-104296977412941@msgid-missing \
    --to=lartc@spaans.ds9a.nl \
    --cc=lartc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox