Hi,

I've been using iproute2-ss991023 on a RedHat 6.0 kernel 2.2.5-15.

the script is the following:

#! /bin/sh

tc=/.../tc

$tc qdisc add dev eth0 root handle 1: cbq bandwidth 10Mbit cell 8 \ avpkt 
1000 mpu 64

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

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

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

$tc filter add dev eth0 parent 1:0 prio 7 protocol ip u32

$tc filter add dev eth0 parent 1:0 protocol ip prio 7 handle 1: u32 \
divisor 256

$tc filter add dev eth0 parent 1:0 prio 3 u32 match \
ip protocol 6 0xff flowid 1:3

$tc filter add dev eth0 parent 1:0 prio 7 u32 match \
ip protocol 17 0xff flowid 1:2

In the morning i was sending udp and tcp traffic but they were not been 
filtered and sent to their respective classid. So when the linux machine was 
rebooted, and the script was run again everything works fine. But after a 
while no more tcp or udp traffic was forwarded untill i deleted the filters.

When I added the filters again the traffic was forwarded but not sent to 
it's classid.

Has anyone had the same problem that i got or i'm doing something wrong 
here??? help me please!!!!

Thank you very much

Eddy.

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to