From: "s.az" <saz@inticomp.com>
To: lartc@vger.kernel.org
Subject: [LARTC] PROBLEM WITH IMQ
Date: Thu, 23 Jun 2005 12:20:07 +0000 [thread overview]
Message-ID: <42BAA8F7.10007@inticomp.com> (raw)
In-Reply-To: <marc-lartc-105032830502606@msgid-missing>
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 parent reply other threads:[~2005-06-23 12:20 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-14 13:51 [LARTC] problem with IMQ hare ram
2003-04-14 13:56 ` Hocking James A
2003-04-14 14:38 ` hare ram
2003-04-14 15:47 ` Stef Coene
2005-06-23 12:20 ` s.az [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=42BAA8F7.10007@inticomp.com \
--to=saz@inticomp.com \
--cc=lartc@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.