Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
From: RoMaN SoFt / LLFB!! <roman@madrid.com>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Combining bandwith of two or more ADSLs ?
Date: Tue, 10 Apr 2001 08:08:11 +0000	[thread overview]
Message-ID: <marc-lartc-98688998024236@msgid-missing> (raw)
In-Reply-To: <marc-lartc-98685679926457@msgid-missing>

On Tue, 10 Apr 2001 06:52:29 +0800, you wrote:

>Hi.
>
>Last time I have posted the situation in detail, but no response
>yet is got. Let's think of this problem. Is it possible to combine
>two ASDLs which goes to the same ISP via diferrent gateways?
>I've search throughout google and got only one chart in 1999, like
>this one:
>
>ISP1                  ISP2
>  |                    |
>Gateway1            Gateway2
>  `-------+     +------'
>        eth0   eth1
>
>And the response is okay, since packets with different to-IP can be
>sent either through ISP1/2. But how to implement it? Under this
>structure (but only one ISP behind the gateways) I've tried both teql
>and 'ip route add default equalize nexthop via ... dev ... nexthop via
>... dev ...' commands, but in vain.
>
>Any comments, please?

 This is my setup on a SuSE linux box (add to /etc/rc.d/route or
similar):

       /sbin/route del default 2> /dev/null
       /usr/sbin/ip route add default \
               nexthop dev eth0 via 192.168.0.1 \
               nexthop dev eth0 via 192.168.0.2 
       echo -e "Setting load balanced route (RoMaN) $rc_done"
       /usr/local/sbin/iptables -t mangle -A PREROUTING -j TOS
--set-tos 0x00
       /usr/local/sbin/iptables -t mangle -A OUTPUT -j TOS --set-tos
0x00
       echo -e "Hacking TOS to fix balance issue (RoMaN) $rc_done"

========

 192.168.0.1 y .2 are the adsl gateways. Iptables is used to trick the
TOS field and therefore sessions don't get messed.

 BTW, I've experienced some problems: from aprox 20 connections to my
stmp server I receive 1 connection failure. I don't know the reason.

 Try my config. Any feedback would be appreciated.

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
    ** RoMaN SoFt / LLFB **  
       roman@madrid.com
   http://pagina.de/romansoft
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/

      reply	other threads:[~2001-04-10  8:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-04-09 22:52 [LARTC] Combining bandwith of two or more ADSLs ? Lin Zhemin
2001-04-10  8:08 ` RoMaN SoFt / LLFB!! [this message]

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-98688998024236@msgid-missing \
    --to=roman@madrid.com \
    --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