Hello all, I have installed in my Linux box (Motorola ppc 8245, HardHat linux 2.1, kernel 2.4.17) a wan card (cyclades PC300 based on generic HDLC driver). +--------------------+ | | <------->| Linux box |<--------> eth0 | | pvc0 192.168.1.2/24 | | 192.168.7.2/24 +--------------------+ I have a problem with tc: I run this script: #!/bin/sh banda=64Kbit tc qdisc del dev pvc0 root tc qdisc add dev pvc0 root handle 1:0 cbq bandwidth $banda avpkt 1000 cell 8 tc class add dev pvc0 parent 1:0 classid 1:1 cbq bandwidth $banda rate 64kbit maxburst 20 avpkt 500 tc class add dev pvc0 parent 1:1 classid 1:3 cbq bandwidth $banda rate 64kbit maxburst 20 avpkt 100 tc class add dev pvc0 parent 1:1 classid 1:4 cbq bandwidth $banda rate 16kbit maxburst 20 avpkt 1500 tc qdisc add dev pvc0 parent 1:3 handle 30: sfq tc qdisc add dev pvc0 parent 1:4 handle 40: sfq tc filter add dev pvc0 parent 1:0 protocol ip prio 1 u32 match ip tos 0x10 0xff flowid 1:3 tc filter add dev pvc0 parent 1:0 protocol ip prio 1 u32 match ip tos 0x00 0xff flowid 1:4 tc qdisc del dev eth0 root tc qdisc add dev eth0 root handle 1:0 cbq bandwidth $banda avpkt 1000 cell 8 tc class add dev eth0 parent 1:0 classid 1:1 cbq bandwidth $banda rate 64kbit maxburst 20 avpkt 500 tc class add dev eth0 parent 1:1 classid 1:3 cbq bandwidth $banda rate 64kbit maxburst 20 avpkt 100 tc class add dev eth0 parent 1:1 classid 1:4 cbq bandwidth $banda rate 16kbit maxburst 20 avpkt 1500 tc qdisc add dev eth0 parent 1:3 handle 30: sfq tc qdisc add dev eth0 parent 1:4 handle 40: sfq tc filter add dev eth0 parent 1:0 protocol ip prio 1 u32 match ip tos 0x10 0xff flowid 1:3 tc filter add dev eth0 parent 1:0 protocol ip prio 1 u32 match ip tos 0x00 0xff flowid 1:4 the probelm is that this configuration work fine when is applied to loacally generated traffic, but when the packets received by my linux box (from eth0) that have to be forwarded are not matched by any filter on pvc0 device. The same think doesn''t apply to traffic from pvc0 forwarded to eth0. Do you have any idea about wich could be the problem? Thanks Mauro _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/