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 RATE=160Kbit WEIGHT=10Kbit PRIO=5 RULE=192.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@xxxxxxxxxxxxxxx http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/