From: Allan Pinto <allan316@gmail.com>
To: Jonathan Morton <chromatix99@gmail.com>
Cc: cake@lists.bufferbloat.net
Subject: Re: [Cake] cake separate qos for lan
Date: Sun, 27 Mar 2016 11:01:42 +0530 [thread overview]
Message-ID: <CADH6ZUQV=8Ud9Y1mEsa=ANhdy=7azjDm5RsNCR08Kt4U7oKY+g@mail.gmail.com> (raw)
In-Reply-To: <34953EAA-4C76-456E-9B9E-3A73D0DACCDE@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1808 bytes --]
> Is the cache inside or outside the point where the router is fitted
outside..
Cache-Server
|
internet Gateway ---> L2 switch --> LInux router with cake - - [ pppoe
connection ] --> customer
>Also, the command shown will apply a limit to *egress* traffic on the
given port. If you need to do *ingress* shaping, there’s 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.
On Sun, Mar 27, 2016 at 3:44 AM, Jonathan Morton <chromatix99@gmail.com>
wrote:
>
> > On 26 Mar, 2016, at 17:14, Allan Pinto <allan316@gmail.com> 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.
>
> I’m 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?
>
> Also, the command shown will apply a limit to *egress* traffic on the
> given port. If you need to do *ingress* shaping, there’s a different
> sequence of commands.
>
> - Jonathan Morton
>
>
--
Thanx and regd's.
Allan.
[-- Attachment #2: Type: text/html, Size: 3080 bytes --]
next prev parent reply other threads:[~2016-03-27 5:31 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-26 15:14 Allan Pinto
2016-03-26 22:14 ` Jonathan Morton
2016-03-27 5:31 ` Allan Pinto [this message]
2016-03-27 7:35 ` Jonathan Morton
2016-03-27 7:42 ` Jonathan Morton
2016-03-27 8:35 ` Allan Pinto
2016-03-27 8:20 ` moeller0
2016-03-28 10:31 ` Jonathan Morton
2016-03-28 10:36 ` Allan Pinto
2016-03-28 12:09 ` moeller0
2016-03-28 12:25 ` Allan Pinto
2016-03-28 13:06 ` moeller0
2016-03-28 15:04 ` Allan Pinto
2016-03-28 19:20 ` Jonathan Morton
2016-03-28 21:01 ` Stephen Hemminger
2016-03-29 5:35 ` Jonathan Morton
2016-03-29 11:30 ` Toke Høiland-Jørgensen
2016-03-29 23:31 ` Dave Taht
2016-03-30 0:16 ` Dave Taht
2016-03-31 11:49 ` Allan Pinto
2016-03-31 11:59 ` Jonathan Morton
2016-03-28 12:02 ` moeller0
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
List information: https://lists.bufferbloat.net/postorius/lists/cake.lists.bufferbloat.net/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CADH6ZUQV=8Ud9Y1mEsa=ANhdy=7azjDm5RsNCR08Kt4U7oKY+g@mail.gmail.com' \
--to=allan316@gmail.com \
--cc=cake@lists.bufferbloat.net \
--cc=chromatix99@gmail.com \
/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