[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lartc
Subject:    Re: [LARTC] Simple example of bandwidth management
From:       Stef Coene <stef.coene () docum ! org>
Date:       2002-03-23 19:55:26
[Download RAW message or body]

> tc qdisc del dev eth0 root handle 1:0 cbq bandwidth 33600bps avpkt 1000
tc qdisc del dev eth0 root will also work

> tc qdisc add dev eth0 root handle 1:0 cbq bandwidth 33600bps avpkt 1000
>
> tc class add dev eth0 parent 1:0 classid 1:1 cbq bandwidth 33600bps rate
> 10000bps allot 1514 maxburst 20 avpkt 1000 prio 3
>
> tc filter add dev eth0 protocol ip parent 1:0 prio 1 handle 1 fw classid
> 1:1 ********************************************************
>
> My problem is that I cannot see any bandwidth reduction, I download from
> 10.0.0.33 to 10.0.0.34 with same speed as before (normal ethernet speed).
> Maybe there exists some file under /proc fs to modify?
Bandwidth in each command = ethernet bandwidth.
And make the class bounded if you want to bound it :)

Stef

-- 

stef.coene@docum.org
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.openprojects.net
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic