[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bandwidth trottling ?



On Tue, Jan 05, 2016 at 03:25:12PM -0300, Renaud OLGIATI wrote:
> On Tue, 5 Jan 2016 11:06:11 -0500
> Dan Ritter <dsr@randomstring.org> wrote:
> 
> > On Mon, Jan 04, 2016 at 05:30:26PM -0300, Renaud OLGIATI wrote:
> > > Is there a way to config the system so as to limit the bandwidth that will be used by the (wifi) network interface ?
> > > Debian Wheezy, sysvinit.
> 
> > Yes, certainly. 
> > https://wiki.debian.org/TrafficControl
> > The syntax isn't notably different between wheezy and jessie.
> > You might, for example, do:
> > #tc qdisc add dev wlan0 root tbf rate 5mbit latency 15ms burst 1540 
> > These things can be set in /etc/network/interfaces as post-up
> > commands.
> 
> Finally, from what I read it wont work, as tc only limits the traffic going out of a box.
> 
> I need to limit the traffic going in  ;-3(
>  

Nobody can do that. 

Can you set up traffic controls on the boxes sending you
traffic? Perhaps on the router upstream?

You can drop packets once they've been received, if you want.
Dropping packets is an honorable way of signalling that your
senders should reduce their rate.

-dsr-


Reply to: