From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Jan Gerritsen" Date: Mon, 13 Oct 2003 14:50:36 +0000 Subject: [LARTC] Traffic shaping over two different lines Message-Id: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable To: lartc@vger.kernel.org Hi all, I want to connect my LAN to the Internet over two different Connections. On= e 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 ov= er 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 u= se the E1 for uplink and the DSL as downlink. (Can I do this by Masqueradin= g 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 us= ed for sending data, until its bandwidth limit is reached, and only then tr= affic should be send over the E1, too. I know its still some days till Christmas, but I don't want to shorten my w= ish 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 so= me QoS rules for traffic shaping on different services,.. but I didn't do s= omething 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 i= t to complete my whish list ;). Thanks, Jan Gerritsen=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF= =FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=CB=01=14=C2=99=A8=A5=8Ax%=8A= =CB=7F,=04S=0B=F9=9A=8AY=9A=9F=F7l=F5=AF=E7=96=1Bm=A7=FF=FF=99=A8=A5=99=A9= =FFv=CFZ=FEy=7F=99=A8=A5=99=A9=FF=96+-=8Aw=E8=FEV=AB=B5=C1=CEY3=FF=86=DBi= =FF=FF=E5j=BB\=FE=8A=E0