Hi all :

I am trying to pass a particular audio flow with dst IP address/port
through a TBF. Following is the script for the same : 

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

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

echo "Configuring TBF"

tc qdisc add dev eth0 parent 1:3 tbf rate 250Kbit  buffer 10Kb/8 limit
15Kb

tc filter add dev eth0 parent 1:0 protocol ip prio 3 u32 \
match ip dst 144.16.64.65  \
match udp dst 0x1770 0xffff \
flowid 1:3

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

(the root qdisc and classids are taken care of).

The TBF is installed fine, but when I start my application with the
destination IP address and port as mentioned above, I do not see any
packets transfered through this particular TBF.

The characteristics of the flow are :
360 bytes mtu, 144kbps rate.

The tc -s qdisc ls gives :
----------------------------------------------------------
 qdisc tbf 8082: dev eth0 rate 250Kbit burst 10Kb lat 160.0s 
 Sent 0 bytes 0 pkts (dropped 0, overlimits 0) 

 qdisc tbf 8081: dev eth0 rate 8Mbit burst 9436b lat 5.6s 
 Sent 9662 bytes 111 pkts (dropped 0, overlimits 0) 

 qdisc cbq 1: dev eth0 rate 10Mbit (bounded,isolated) prio no-transmit
 Sent 47153 bytes 212 pkts (dropped 0, overlimits 0) 
  borrowed 0 overactions 0 avgidle 0 undertime 0
-----------------------------------------------------------

Any ideas where and what I am missing ?

Thanks in advance for the assistance.

--
Vinay.



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

Reply via email to