Hello all :

I am trying to use a TBF for shaping my voice source. I have packets of
size not more than 360 bytes each. So, I configure my TBF for 128kbps
(rate of the voice source). When I try too send even a single packet of
400 bytes (just to test the behaviour of the filter), the machine just
hangs!!! I do not have any clue. The script I am using is :

---------------8<--------8<-----------8<-----------------

[ I have snipped the configuration of the root class ]

echo "Configuring classid 1:2"

tc class add dev eth0 parent 1:1 classid 1:2 cbq bandwidth 10Mbit \
rate 128Kbit allot 1514 cell 8 weight 10Kbit prio 5 maxburst 20 \
avpkt 1000 bounded

echo "Configuring TBF"

# Set up TBF for this class
tc qdisc add dev eth0 parent 1:2 tbf rate 128Kbit  burst 10Kbit \
mtu 380 peakrate 16385bps limit 10Kb

------------8<-------------------8<-------------8<-------------

Any pointers or assistance is highly appreciated.
Thanks in advance,

-Vinay.

-------------------------------------------------------------
Vinay V. Kulkarni
Project Assistant, ERNET, ECE Dept., IISc., Bangalore 560 012
Ph : +91-80-360 0855.           Fax : +91-80-360 7991   
-------------------------------------------------------------


-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to