All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [LARTC] Shaper...
@ 2004-10-01 11:05 Alejandro Bonilla
  0 siblings, 0 replies; only message in thread
From: Alejandro Bonilla @ 2004-10-01 11:05 UTC (permalink / raw)
  To: lartc

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\x160Kbit
WEIGHT\x10Kbit
PRIO=5
RULE\x192.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/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-10-01 11:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-01 11:05 [LARTC] Shaper Alejandro Bonilla

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.