Thanks. one more thing. I am using a iptable command to match dscp value and drop corresponding packets. iptables -A INPUT -o eth0 -p udp -m --dscp 0x08 -j DROP is the syntex of the command correct? its showing following error: - iptables v1.2.8: Couldn't load match `--dscp':/lib/iptables/libipt_--dscp.so: cannot open shared object file: No such file or directory what should i do resolve the problem? Regards, Raghuvendra Kumar | BTSL 414 | Ext 011-41619770 | Desk +91-9818143739 | Mobile raghuvendra.kumar@xxxxxxxxxxxxxxxxxx | EMail -----Original Message----- From: Mohan Sundaram [mailto:mohan.tux@xxxxxxxxx] Sent: Monday, September 17, 2007 11:24 AM To: Raghuvendra Kumar Subject: Re: using tc to drop packets based on the diffserc or tos value Raghuvendra Kumar wrote: > Hi Michal, > > Thanks for your much needed suggestion. > > Actually i have a video Delivey server(suppose it supports 240 simultaneous calls). > It takes request from various users for video delivery. > > Now suppose if i want that after load reaches to 200, i should only allow > premium users.In order to identify, non- preimum user,i check their diffserv > value and drop their packets.This helps me to achieve QOS. > You can send premium customer traffic thro' a high prio class. This way, non-premium traffic will always be accorded lower priority and thus dropped if choke occurs. TOS marks must work. Another mechanism is to use fwmark in iptables and classify using mark in tc. Mohan _______________________________________________ LARTC mailing list LARTC@xxxxxxxxxxxxxxx http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc