[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lartc
Subject:    [LARTC] PROBLEM WITH IMQ
From:       "s.az" <saz () inticomp ! com>
Date:       2005-06-23 12:20:07
Message-ID: 42BAA8F7.10007 () inticomp ! com
[Download RAW message or body]

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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic