From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alejandro Bonilla Date: Fri, 01 Oct 2004 11:05:32 +0000 Subject: Re: [LARTC] Shaper... Message-Id: <415D39FC.7010603@linuxwireless.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org Hi, I'm trying shaper, 2.6.8 kernel, with almost all the QoS inherited in the kernel. I have debian Sid, with latest everything, I could say. I commented out CBQ_PROBE=" " to use Inherited kernel support. Only problem is that the client, which is the test one, 192.168.10.10 can still download at 100kb Per Second(My bandwidth) router:~# cat /etc/shaper/cbq-160.down DEVICE=eth0,100Mbit,10Mbit RATE0Kbit WEIGHTKbit PRIO=5 RULE2.168.10.10 router:~# /etc/init.d/shaper compile /sbin/tc qdisc del dev eth0 root /sbin/tc qdisc add dev eth0 root handle 1 cbq bandwidth 100Mbit avpkt 1000 cell 8 /sbin/tc class change dev eth0 root cbq weight 10Mbit allot 1514 /sbin/tc class add dev eth0 parent 1: classid 1:160 cbq bandwidth 100Mbit rate 160Kbit weight 10Kbit prio 5 allot 1514 cell 8 maxburst 20 avpkt 1000 bounded /sbin/tc qdisc add dev eth0 parent 1:160 handle 160 tbf rate 160Kbit buffer 10Kb/8 limit 15Kb mtu 1500 /sbin/tc filter add dev eth0 parent 1:0 protocol ip prio 100 u32 match ip dst 192.168.10.10 classid 1:160 echo "shaper." Starting CBQ traffic shaping: RTNETLINK answers: No such file or directory shaper. Thanks!!! _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/