All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] using tc to drop packets based on the diffserc or tos value
@ 2007-09-16 10:28 Raghuvendra Kumar
  2007-09-16 20:36 ` [LARTC] using tc to drop packets based on the diffserc or tos Michal Soltys
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Raghuvendra Kumar @ 2007-09-16 10:28 UTC (permalink / raw)
  To: lartc

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:-

[root@scotch 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:-

[root@scotch 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
raghuvendra.kumar@bhartitelesoft.com | EMail
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-09-19  4:23 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-16 10:28 [LARTC] using tc to drop packets based on the diffserc or tos value Raghuvendra Kumar
2007-09-16 20:36 ` [LARTC] using tc to drop packets based on the diffserc or tos Michal Soltys
2007-09-17  4:32 ` Raghuvendra Kumar
2007-09-17  6:48 ` Raghuvendra Kumar
2007-09-18 21:26 ` Michal Soltys
2007-09-19  4:23 ` Raghuvendra Kumar

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.