From mboxrd@z Thu Jan 1 00:00:00 1970 From: "s.az" Date: Thu, 23 Jun 2005 12:20:07 +0000 Subject: [LARTC] PROBLEM WITH IMQ Message-Id: <42BAA8F7.10007@inticomp.com> List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org I want to shape the bandwith for only 2 PC's but cannot make this work. This is what i do ( i want to use imq for all this ) ip link set imq0 up tc qdisc add dev imq0 root handle 1: htb default 2 tc class add dev imq0 parent 1: classid 1:1 htb rate 100kbit burst 6k prio 0 tc class add dev imq0 parent 1: classid 1:2 htb rate 50kbit burst 6k prio 2 tc filter add dev imq0 parent 1: protocol ip prio 1 u32 match ip src 10.0.0.2 flowid 1:1 iptables -t mangle -A PREROUTING -i eth0 -p TCP -j IMQ --todev 0 using the 10.0.0.2 ip it always take the class 2 ( the default class ). it does not obey the filter. What part it's wrong in this? Thanks _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc