Hi all,

I am wondering if anyone can help me to resolve a problem.

I am trying to use tc command in linux to drop udp
packets of specific diffserv value.

I am able set diffserv value successfully in the udp packet
using command:-

[EMAIL PROTECTED] src]#iptables --table mangle --append OUTPUT \
--out-interface eth0 --protocol udp --source-port 5060 \
--jump DSCP --set-dscp 8

but i am not able to drop a packet with a specific diffserv value.

i have worked out a command, but its not working:-

[EMAIL PROTECTED] src]#tc filter add dev eth0 protocol ip u32 match ip dsfield 
8 police drop

its showing error "Illegal "match".

Can any one of you guide me , what is the correct way of doing it.
Its imporatnt, Please post reply ASAP.

Raghuvendra

Raghuvendra Kumar | BTSL
414 | Ext
011-41619770 | Desk
+91-9818143739 | Mobile
[EMAIL PROTECTED] | EMail
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

Reply via email to