From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mout.gmx.net (mout.gmx.net [212.227.15.18]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.bufferbloat.net (Postfix) with ESMTPS id 1A76C3B2A2 for ; Mon, 28 Mar 2016 08:02:40 -0400 (EDT) Received: from hms-beagle.lan ([93.237.70.232]) by mail.gmx.com (mrgmx001) with ESMTPSA (Nemesis) id 0MgKUo-1aQDIe2eFa-00NkAe; Mon, 28 Mar 2016 14:02:38 +0200 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) From: moeller0 In-Reply-To: Date: Mon, 28 Mar 2016 14:02:37 +0200 Cc: Jonathan Morton , cake@lists.bufferbloat.net Content-Transfer-Encoding: quoted-printable Message-Id: <7D7BCA08-365B-4102-9F81-968E01A85161@gmx.de> References: <34953EAA-4C76-456E-9B9E-3A73D0DACCDE@gmail.com> To: Allan Pinto X-Mailer: Apple Mail (2.2104) X-Provags-ID: V03:K0:hYB10Az4QoUN6Ikv+/Kb0yj5/jYKrdWwPYhQEsNCmMBb7lkMF86 j7G1WPbqBrjkAamslsAWb7FW4FpY/YTfm/DWKQsBcGjcxLAYGxHh2ojlqr53qzg4ERv2QgA ayZaaRZja2SHZAnDts60XUrpKSz61TeUVN3BQh3F4d0fTVTsQKJnFSs6W72UaPueiuBEiC9 1fV1X7xJgsbAfgu+1uSkQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:1OHsoMkalmI=:JENEvx7FlAKziTFlzhJpAZ DpaYo2WswXxurRZq776MMPjUjRRLcpuUT2lryv5S1Nd7KS3HfQ1MBuiNVQfSX8G++T79LbP7P j4Sh7UpvNh+RpLsQ510WSoNub3SxDQ28PWkbkRukK5dM2l6ww1s3las4cQQH59XdOK3dlTDOx KW4ogodSBQgTqpT+p++5bEictMMOwvHOPqTfZ3EcJigKXrB68DLE0c1QVjJxgn12x+fF68xwJ oKVj7/96h/ZsuhYpuGFcVxJqIm4Intoo157lnUGpZzDpOdl8cKoYwC6EekmwDidUGCmzE+MeX f1ajLruei0EbM+2XR7a5ahQKboVLVwiYzTJNU2k50/Q27qkIk87n562MPB+bO+yab5S0+Bh60 0HW9wpxdIjDjodszi7bUVQx1DOp5j0Q8hlUQqKbobhzSwL2v9hQDadJohGL2TYacItez5303H kO6q61c/WRfnV9N20Sccq0VymNYbZfVjAnGA8+hVGTOM9/T3/DM+RLQq+k3W1UJquvZ+YleP5 6kV42cl1z6rx85z2DGHMrK3AJ+pLT+8G2YbyaI2neUXgrGr84EN1urDsdDJcXKRjQzjm+UGvv Yo3unX6pXBzA8LlwJdoYnnb59XboQHBSrwxiieREj2Kl1zlFRO4zsmg3ARYSoVGSO98V/ZfUo nM/Azd9ddd067RasmkowsIf0rI30IAnBPX2iUYBgVV17YpCJmYFFMskYrVH0FCvChW4NnjHf/ MPwCiwK9TyTa9vuo4zQAJheQP9YNlENyftqJkCj4BGg8G4FW4mgQEq3qRx3GH8x49KjPr849V +1pHtlF Subject: Re: [Cake] cake separate qos for lan X-BeenThere: cake@lists.bufferbloat.net X-Mailman-Version: 2.1.20 Precedence: list List-Id: Cake - FQ_codel the next generation List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2016 12:02:41 -0000 Hi Allan, > On Mar 27, 2016, at 07:31 , Allan Pinto wrote: >=20 > > Is the cache inside or outside the point where the router is fitted > outside.. >=20 > Cache-Server > | > internet Gateway =E2=80=94> L2 switch --> LInux router with cake - - = [ pppoe connection ] --> customer Looking at this I would assume you can skip ingress shaping = completely, just shape on the pppoe devices egress (for customer = ingress) as well as on egress to the L2-switch for customer egress. This = should allow to completely avoid IMQ/IFB and the associated computation = cost. On the other hand I am not sure how well this will scale with its = two cake instances per customer=E2=80=A6 >=20 >=20 >=20 > >Also, the command shown will apply a limit to *egress* traffic on the = given port. If you need to do *ingress* shaping, there=E2=80=99s a = different sequence of commands > i have put the ingress commands, i did not mention them as i did not = have any need of changes there. > =20 >=20 >=20 > On Sun, Mar 27, 2016 at 3:44 AM, Jonathan Morton = wrote: >=20 > > On 26 Mar, 2016, at 17:14, Allan Pinto wrote: > > > > I'm experimenting in replacing a mikrotik router with plain linux. = by following the instructions on the cake page, i have setup the = following line in the /etc/ppp/ip-ip script so that the user will be = limited to bandwidth using cake. > > > > /usr/sbin/tc qdisc add dev $pppdev root cake bandwidth = ${BURST_DOWN}bit > > > > but i have certain lan traffic available to the customer which = should be available at higher speed, for eg. cache traffic and i want to = set that speed to 20mbit default . > > > > if i understand correctly i will have to mark traffic coming in from = that lan source using iptables, can someone guide me how to set = bandwidth only for that source to be higher. >=20 > I=E2=80=99m not certain what your topology is here. Is the cache = inside or outside the point where the router is fitted, or is it within = the router, or off to the side on a separate port? >=20 > Also, the command shown will apply a limit to *egress* traffic on the = given port. If you need to do *ingress* shaping, there=E2=80=99s a = different sequence of commands. >=20 > - Jonathan Morton >=20 >=20 >=20 >=20 > --=20 > Thanx and regd's. >=20 > Allan. >=20 > _______________________________________________ > Cake mailing list > Cake@lists.bufferbloat.net > https://lists.bufferbloat.net/listinfo/cake