| To: | lartc@mailman.ds9a.nl |
|---|---|
| Subject: | [LARTC] tc filter not work, why? |
| From: | "吴明津" <womking@gmail.com> |
| Date: | Thu, 26 Jul 2007 17:53:49 +0800 |
| Delivered-to: | sp-com-lists@consult.net |
| Delivered-to: | lartc-list@securepoint.com |
| Delivered-to: | lartc@outpost.ds9a.nl |
| Dkim-signature: | a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=CpQbI80joaEvT+YtL/7S57wKJewjYr1/YTnwodOGxpuPIVIIRJkq+IJbbdxGLFAwKyXvneL87w+ALvpATU7OmtKHXWsqAvwX9kvEKWW1caBTCnMCxrkBkqVSfUuNtV9f8IDeSLw0qzs5fQLnZMtQM6wmipCzvTNanofw1iw3a0w= |
| Domainkey-signature: | a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=nDUlW5eMBjhmtStqxXHr09mN2lrjI2v/aa6IlBiUPV09Z1Zv3QaEKCOpNL4AzBlNpDURB4O0JYqS9iIj06VYsDMrTHpD/jZUsJIrpSl7/Bf3kFad1mh/tnlAGwO0yvMrTRg4/gWgSjLn13LqSpA1Qs0/ArDOxMFu+IkV1Rr1cbE= |
| List-archive: | <http://mailman.ds9a.nl/pipermail/lartc> |
| List-help: | <mailto:lartc-request@mailman.ds9a.nl?subject=help> |
| List-id: | "Mailinglist of the Linux Advanced Routing & Traffic Control project" <lartc.mailman.ds9a.nl> |
| List-post: | <mailto:lartc@mailman.ds9a.nl> |
| List-subscribe: | <http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc>, <mailto:lartc-request@mailman.ds9a.nl?subject=subscribe> |
| List-unsubscribe: | <http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc>, <mailto:lartc-request@mailman.ds9a.nl?subject=unsubscribe> |
| Sender: | lartc-bounces@mailman.ds9a.nl |
I try to use tc on mips with linux-2.4.18 but the u32 filter dosn't work I added htb qdisc to linux-2.4.18 and use it to limit the speed in LAN, it only work well on the default class, for example tc qdisc add dev eth0 root handle 1: htb default 10 tc class add dev eth0 parent 1:0 classid 1:1 htb rate 2000kbit tc class add dev eth0 parent 1:1 classid 1:10 htb rate 500kbit ceil 500kbit tc calss add dev eth0 parent 1:1 classid 1:11 htb rate 300kbit ceil 300kbit tc filter add dev eth0 protocol ip u32 match ip dst 192.168.18.100 flowid 1:11 the host 192.168.18.100 have a speed of 500kbit rather than 300kbit. if I don't set the default 10 class, all this dosn't have any effect. why? thank you. _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [LARTC] Patch accurate packet scheduling for ATM/ADSL, Russell Stuart |
|---|---|
| Next by Date: | Re: [LARTC] tc filter not work, why?, Nikolay Kichukov |
| Previous by Thread: | [LARTC] Definitive way to aggregate bandwidth using multiple links, Dâniel Fraga |
| Next by Thread: | Re: [LARTC] tc filter not work, why?, Nikolay Kichukov |
| Indexes: | [Date] [Thread] [Top] [All Lists] |