[Cake] cake separate qos for lan
moeller0
moeller0 at gmx.de
Mon Mar 28 08:02:37 EDT 2016
Hi Allan,
> On Mar 27, 2016, at 07:31 , Allan Pinto <allan316 at gmail.com> wrote:
>
> > 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
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…
>
>
>
> >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 at gmail.com> wrote:
>
> > On 26 Mar, 2016, at 17:14, Allan Pinto <allan316 at 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.
>
> _______________________________________________
> Cake mailing list
> Cake at lists.bufferbloat.net
> https://lists.bufferbloat.net/listinfo/cake
More information about the Cake
mailing list