Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
From: "Jan Gerritsen" <artur@gmx.net>
To: lartc@vger.kernel.org
Subject: [LARTC] Traffic shaping over two different lines
Date: Mon, 13 Oct 2003 14:50:36 +0000	[thread overview]
Message-ID: <marc-lartc-106605771029440@msgid-missing> (raw)

Hi all,

I want to connect my LAN to the Internet over two different Connections. One is a static E1 (2Mbit) connection with a permanent IP, the other one is a so called DSL-Light connection (ADSL with 64kbit up and 384kbit downstream) with a dynamic IP. The reason is that I have to pay the traffic on the E1 and the DSL is flat fee. So of course I want to push as mush as traffic over the DSL line.
                 ________
            E1  |        | Ethernet
 Internet <---->| Router |<---------> LAN
          <---->|        |
           DSL  |________|

What I want to do is something like the following:

Basic model:
Because the upstream from the DSL connection is really to slow, I want to use the E1 for uplink and the DSL as downlink. (Can I do this by Masquerading with the IP of the DSL-Line and sending over the E1, so the Answer comes back over the DSL-Line?)

Exemptions:
- Some services, like SMTP, should always use the DSL-Line as uplink.
- Some services, like HTTP or SSH, should use the E1-Line as downlink.
- And my last wish, if the DSL-Uplink is not in use, this link should be used for sending data, until its bandwidth limit is reached, and only then traffic should be send over the E1, too.

I know its still some days till Christmas, but I don't want to shorten my wish list until you all tell me its not possible,.. but my problem is I don't know where to start.
I am good at using iptables/netfilter and already used tc for setting up some QoS rules for traffic shaping on different services,.. but I didn't do something like I want to do now.

So I want to ask you, to give some tips what techniques / services to use, to do something like this. How to set up the basic model and how to break it to complete my whish list ;).

Thanks,
Jan GerritsenÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿË\x01\x14™¨¥Šx%ŠË\x7f,\x04S\vùšŠYšŸ÷lõ¯ç–^[m§ÿÿ™¨¥™©ÿvÏZþy\x7f™¨¥™©ÿ–+-ŠwèþV«µÁÎY3ÿ†Ûiÿÿåj»\þŠà

                 reply	other threads:[~2003-10-13 14:50 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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-106605771029440@msgid-missing \
    --to=artur@gmx.net \
    --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