Hello!

What is the significance of "handle" in a u32 filter??

For example, if I have a HTB class 1:1 and three child classes 1:11, 1:12,
and 1:13. Within 1:11, I define dsmark, say 2:0, and let it mark packets
with certain DSCP. Now, using the u32 filter I need to classify packets of a
certain flow (e.g., based on src ip address and dest port), then can someone
give me an example of exactly how the u32 filter would look.

The following configuration does not seem to work (i.e., packets are not
getting marked!)...so I guess the problem is with my u32 filter

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

tc filter add dev eth0 parent 1:1 prio 1 u32 \
        match ip src 192.168.1.12
        match ip protocol 17 0xff
        match ip dport 4984 0xffff
        flowid 2:0

Any help in this matter is greatly appreciated.
Thank you
regards
Kaustubh

_______________________________________________
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

Reply via email to