From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi1-x229.google.com (mail-oi1-x229.google.com [IPv6:2607:f8b0:4864:20::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.bufferbloat.net (Postfix) with ESMTPS id 5169B3CB35 for ; Mon, 4 May 2020 07:40:13 -0400 (EDT) Received: by mail-oi1-x229.google.com with SMTP id 19so6307320oiy.8 for ; Mon, 04 May 2020 04:40:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ByDZ9sSBTHyvS2WG0qhkkLml8UxMQAMgk9h3OQRPW1s=; b=hVQn4t/9qPSBI4WSmE9W03FtUjcHvzZgVsctiMdwGU3HVdtGU/Q5qLb3VMc/izGgbU KvGVdOLz8haboRRw9rEVQ7U29D1rQZ2xUw39a6tEheqZxkdnoH7MAYKSckyrxJ7y30JJ PmisV6/eA2aBr10XVK7G+v/qZBCLF279tmgZwo5gdKmn4xLGADwT1WZYJvgGRZhR/aN+ xOFCL4A3Rh65XR4Gvu4x7bn9r3w2WVsHuA4KbuCcsOrVo1Jtwqb6coi7dkt5kKJ0uy7/ WWzwoy/6bBvzCXPy4H8fkxaM7Vh82nnPGLqNau0vrGc4e0QHD6a1jj9UZOkpMZivACW1 i2nw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ByDZ9sSBTHyvS2WG0qhkkLml8UxMQAMgk9h3OQRPW1s=; b=BBU3QIm2HR3fc/kgo69OVTA+uCZDNNTLnDIEvgf2Y3p98RysCC8wy6MagqckxytBVi oyEcbFDJGIdAMHK8/VAx8cA49C+ZlOBmb5ND5WEzMuH9eZW/1wf4bEOkT2YZ2siSaSv2 +uFV4O5jPxGKsMlxvKieygkyRz1afWMFiJBemGm5/jsxhHGA4O8azBffJ/TQPnx4wjDK UXJpx4cwVFDayj4riDP4PBsZKIaSvvsVX9WLnyAMcn4Tl+4EY86jli97jE3H54W3BEvi LsmLeeoiRZJtIn+gNDPIKeDH54J8WZSU19zArqzZi8Ndv9032FzeM0WLLo12BMg2VG1F FRoQ== X-Gm-Message-State: AGi0PubbkRUfQl3yNraz3WOJ8Y5nfWiC56OXSO11NAX+OHBGmVARjG5s RoYptewQ1kSSD+EQMWArHIm1ML52qqTc2ZXtNkUxhw== X-Google-Smtp-Source: APiQypLUhJoPKJM5SoQ42UE99I6iTG+K+H9NZeU3cjEG7u2A9GIUmrpG5IIWPbITd14P+GnXTnv8fok5bpeiSuv0eA0= X-Received: by 2002:a54:4383:: with SMTP id u3mr8012180oiv.8.1588592412578; Mon, 04 May 2020 04:40:12 -0700 (PDT) MIME-Version: 1.0 References: <3764C024-5F18-41C8-98F0-9FA423ED5860@gmail.com> In-Reply-To: From: Daniel Sterling Date: Mon, 4 May 2020 07:40:01 -0400 Message-ID: To: David Lang Cc: Dave Taht , Rich Brown , bloat Content-Type: multipart/alternative; boundary="00000000000071d95605a4d0fe2d" Subject: Re: [Bloat] Multiple WAN ports & SQM? X-BeenThere: bloat@lists.bufferbloat.net X-Mailman-Version: 2.1.20 Precedence: list List-Id: General list for discussing Bufferbloat List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 May 2020 11:40:13 -0000 --00000000000071d95605a4d0fe2d Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I assume mwan3 doesn=E2=80=99t need this patch set, so you can also look at= the openwrt code to see how it configures mwan3 Once you have the dual routing configured you can just apply cake on each WAN NIC directly On Mon, May 4, 2020 at 7:28 AM Daniel Sterling wrote: > This is what came up with when I was running both DSL and cable modems. = I > don=E2=80=99t use it any more but it should still work > > > https://gist.githubusercontent.com/eqhmcow/9967292/raw/d091ed7430d3c16197= 1cbf0d20c3267b77f0c5ce/multi-routes.sh > > This script lets you use multiple internet connections, both simultaneous= ly and transparently, both from the router itself and via boxes behind the = router through NAT. > > > For this to actually work with NAT, you most definitely need to recompile= your linux kernel with the "Routing and > # Netfilter" patches from http://www.ssi.bg/~ja/#routes . (Using the late= st full patchset is fine.) > > > > On Sun, May 3, 2020 at 8:26 PM David Lang wrote: > >> I've been wanting to set this sort of thing up (the best DSL I can get i= s >> 8/1, >> and that's with a bondd DSL setup) but have not been able to find a good >> tutorial in setting things up. >> >> anyone have any pointers? >> >> David Lang >> >> On Sun, 3 May 2020, Dave Taht wrote: >> >> > Date: Sun, 3 May 2020 07:33:56 -0700 >> > From: Dave Taht >> > To: Daniel Sterling >> > Cc: Rich Brown , bloat < >> bloat@lists.bufferbloat.net> >> > Subject: Re: [Bloat] Multiple WAN ports & SQM? >> > >> > not huge on bonding, simpler to just get the two uplinks and split >> > flows across them with an sqm instance for each and a tc hash >> > directing flows at one or another. >> > >> > On Sun, May 3, 2020 at 7:30 AM Daniel Sterling >> > wrote: >> >> >> >> When I had both DSL and cable modem, I compiled Linux with this patch >> set to make multi gateway NAT work and it worked great >> >> >> >> http://ja.ssi.bg/#routes >> >> >> >> Should be able to use that plus ifb+cake on each NIC to do the right >> thing, aye? >> >> >> >> As an aside, I'm kind of furious that NAT fix never got merged >> upstream :( it's so useful for multiple uplinks >> >> >> >> -- Dan >> >> >> >> On May 3, 2020, at 10:23 AM, Rich Brown >> wrote: >> >> >> >> =EF=BB=BFGiven the crummy internet service in my area (DSL, max of >> 15mbps/1mbps), I wonder if we could improve things by getting a second >> connection from our ISP and "bonding" the two links together in my OpenW= rt >> router. >> >> >> >> I see both Multiwan (which is self-described as old) and mwan3. >> >> >> >> But neither would seem to offer the kinds of latency control >> (SQM/fq_codel/cake) that the cool kids in networking have come to expect= . >> >> >> >> Any recommendations from this group for such an effort? Thanks. >> >> >> >> Rich >> >> _______________________________________________ >> >> Bloat mailing list >> >> Bloat@lists.bufferbloat.net >> >> https://lists.bufferbloat.net/listinfo/bloat >> >> >> >> _______________________________________________ >> >> Bloat mailing list >> >> Bloat@lists.bufferbloat.net >> >> https://lists.bufferbloat.net/listinfo/bloat >> > >> > >> > >> > -- >> > Make Music, Not War >> > >> > Dave T=C3=A4ht >> > CTO, TekLibre, LLC >> > http://www.teklibre.com >> > Tel: 1-831-435-0729 >> > _______________________________________________ >> > Bloat mailing list >> > Bloat@lists.bufferbloat.net >> > https://lists.bufferbloat.net/listinfo/bloat > > --00000000000071d95605a4d0fe2d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I assume mwan3 doesn=E2=80=99t need this patch = set, so you can also look at the openwrt code to see how it configures mwan= 3

Once you h= ave the dual routing configured you can just apply cake on each WAN NIC dir= ectly=C2=A0

On Mon, May 4, 2020 at 7:28 AM Daniel Sterling <sterling.daniel= @gmail.com> wrote:
This is what came up with when I was running both DSL and ca= ble modems.=C2=A0 I don=E2=80=99t use it any more but it should still work<= /div>

This script lets y=
ou use multiple internet connections, both simultaneously and transparently=
, both from the router itself and via boxes behind the router through NAT.<=
/pre>

For this to actually work with NAT, you most definit=
ely need to recompile your linux kernel with the "Routing and
# Netfilter" patches from http://www.ssi.bg/~ja/#routes . (Using the latest full =
patchset is fine.)


On Sun, May 3, 202= 0 at 8:26 PM David Lang <david@lang.hm> wrote:
I've been wa= nting to set this sort of thing up (the best DSL I can get is 8/1,
and that's with a bondd DSL setup) but have not been able to find a goo= d
tutorial in setting things up.

anyone have any pointers?

David Lang

=C2=A0 On Sun, 3 May 2020, Dave Taht wrote:

> Date: Sun, 3 May 2020 07:33:56 -0700
> From: Dave Taht <dave.taht@gmail.com>
> To: Daniel Sterling <sterling.daniel@gmail.com>
> Cc: Rich Brown <richb.hanover@gmail.com>, bloat <bloat@lists.bufferbloat.net>
> Subject: Re: [Bloat] Multiple WAN ports & SQM?
>
> not huge on bonding, simpler to just get the two uplinks and split
> flows across them with an sqm instance for each and a tc hash
> directing flows at one or another.
>
> On Sun, May 3, 2020 at 7:30 AM Daniel Sterling
> <
ste= rling.daniel@gmail.com> wrote:
>>
>> When I had both DSL and cable modem, I compiled Linux with this pa= tch set to make multi gateway NAT work and it worked great
>>
>> http://ja.ssi.bg/#routes
>>
>> Should be able to use that plus ifb+cake on each NIC to do the rig= ht thing, aye?
>>
>> As an aside, I'm kind of furious that NAT fix never got merged= upstream :( it's so useful for multiple uplinks
>>
>> -- Dan
>>
>> On May 3, 2020, at 10:23 AM, Rich Brown <richb.hanover@gmail.com> wrot= e:
>>
>> =EF=BB=BFGiven the crummy internet service in my area (DSL, max of= 15mbps/1mbps), I wonder if we could improve things by getting a second con= nection from our ISP and "bonding" the two links together in my O= penWrt router.
>>
>> I see both Multiwan (which is self-described as old) and mwan3. >>
>> But neither would seem to offer the kinds of latency control (SQM/= fq_codel/cake) that the cool kids in networking have come to expect.
>>
>> Any recommendations from this group for such an effort? Thanks. >>
>> Rich
>> _______________________________________________
>> Bloat mailing list
>> B= loat@lists.bufferbloat.net
>> https://lists.bufferbloat.net/listinfo/bloat
>>
>> _______________________________________________
>> Bloat mailing list
>>
B= loat@lists.bufferbloat.net
>> https://lists.bufferbloat.net/listinfo/bloat
>
>
>
> --
> Make Music, Not War
>
> Dave T=C3=A4ht
> CTO, TekLibre, LLC
>
http://www.teklibre.com
> Tel: 1-831-435-0729
> _______________________________________________
> Bloat mailing list
> Bloat= @lists.bufferbloat.net
> https://lists.bufferbloat.net/listinfo/bloat
--00000000000071d95605a4d0fe2d--