From: Thomas Jalsovsky <admin@postel.sk>
To: lartc@vger.kernel.org
Subject: [LARTC] HTB on IMQ
Date: Thu, 05 Dec 2002 09:04:23 +0000 [thread overview]
Message-ID: <marc-lartc-103907915631420@msgid-missing> (raw)
Hello,
could somebody check my IMQ+HTB config? Is it OK?
/usr/local/sbin/tc qdisc add dev imq0 root handle 1: htb default 10
/usr/local/sbin/tc class add dev imq0 parent 1: classid 1:1 htb rate
1920kbit quantum 500
/usr/local/sbin/tc class add dev imq0 parent 1:1 classid 1:60 htb rate
1024kbit ceil 1024kbit
/usr/local/sbin/tc qdisc add dev imq0 parent 1:60 handle 60: pfifo limit 2
/usr/local/sbin/tc class add dev imq0 parent 1:1 classid 1:40 htb rate
128kbit ceil 128kbit
/usr/local/sbin/tc qdisc add dev imq0 parent 1:40 handle 40: pfifo limit 2
/usr/local/sbin/tc class add dev imq0 parent 1:1 classid 1:10 htb rate
704kbit ceil 1920kbit
/usr/local/sbin/tc qdisc add dev imq0 parent 1:10 handle 10: pfifo limit 2
/usr/local/sbin/tc class add dev imq0 parent 1:1 classid 1:30 htb rate
128kbit ceil 128kbit
/usr/local/sbin/tc qdisc add dev imq0 parent 1:30 handle 30: pfifo limit 2
/usr/local/sbin/tc class add dev imq0 parent 1:1 classid 1:20 htb rate
64kbit ceil 64kbit
/usr/local/sbin/tc qdisc add dev imq0 parent 1:20 handle 20: pfifo limit 2
/usr/local/sbin/tc class add dev imq0 parent 1:1 classid 1:50 htb rate
128kbit ceil 128kbit
/usr/local/sbin/tc qdisc add dev imq0 parent 1:50 handle 50: pfifo limit 2
/usr/local/sbin/tc filter add dev imq0 protocol ip parent 1:0 u32 match ip
dst 192.168.102.128/25 flowid 1:60
/usr/local/sbin/tc filter add dev imq0 protocol ip parent 1:0 u32 match ip
dst 192.168.101.42 flowid 1:40
/usr/local/sbin/tc filter add dev imq0 protocol ip parent 1:0 u32 match ip
dst 192.168.100.0/27 flowid 1:10
/usr/local/sbin/tc filter add dev imq0 protocol ip parent 1:0 u32 match ip
dst 192.168.1.170 flowid 1:10
/usr/local/sbin/tc filter add dev imq0 protocol ip parent 1:0 u32 match ip
dst 192.168.101.38 flowid 1:30
/usr/local/sbin/tc filter add dev imq0 protocol ip parent 1:0 u32 match ip
dst 192.168.101.34 flowid 1:20
/usr/local/sbin/tc filter add dev imq0 protocol ip parent 1:0 u32 match ip
dst 192.168.101.46 flowid 1:50
/usr/local/sbin/iptables -t mangle -A PREROUTING -i eth2 -j IMQ --todev 0
/usr/local/sbin/iptables -t mangle -A POSTROUTING -o eth2 -j IMQ --todev 0
(I;m running on linux-2.4.20 with IMQ patch + iptables-1.2.7a with IMQ and
patched tc).
Why am I asking for this?
I got kernel panic and I don't know what is wrong in my config/system.
Thanks in advance,
Thomas
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
next reply other threads:[~2002-12-05 9:04 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-12-05 9:04 Thomas Jalsovsky [this message]
2002-12-05 18:54 ` [LARTC] HTB on IMQ Jose Luis Domingo Lopez
2002-12-06 8:34 ` Thomas Jalsovsky
2002-12-06 8:50 ` Vladimir Smelhaus
2002-12-06 9:37 ` Jose Luis Domingo Lopez
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=marc-lartc-103907915631420@msgid-missing \
--to=admin@postel.sk \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox