From: Homer Parker <hparker@homershut.net>
To: lartc@vger.kernel.org
Subject: [LARTC] Confusion...
Date: Tue, 24 Dec 2002 04:47:12 +0000 [thread overview]
Message-ID: <marc-lartc-104070573922979@msgid-missing> (raw)
[-- Attachment #1: Type: text/plain, Size: 2009 bytes --]
Ok, I've went and confused myself again :( With the following rules:
tc qdisc add dev eth0 root handle 1: htb default 255
tc class add dev eth0 parent 1: classid 1:1 htb rate 10mbit
tc class add dev eth0 parent 1:1 classid 1:255 htb rate 64kbit ceil
128kbit
tc qdisc add dev eth0 parent 1:255 sfq perturb 10
tc class add dev eth0 parent 1:1 classid 1:10 htb rate 4Mbit ceil 5Mbit
tc class add dev eth0 parent 1:10 classid 1:11 htb rate 256kbit \
ceil 512kbit prio 1
tc class add dev eth0 parent 1:10 classid 1:12 htb rate 256kbit \
ceil 512kbit prio 2
tc class add dev eth0 parent 1:10 classid 1:13 htb rate 256kbit \
ceil 512kbit prio 3
tc qdisc add dev eth0 parent 1:11 handle 11: sfq perturb 10
tc qdisc add dev eth0 parent 1:12 handle 12: sfq perturb 10
tc qdisc add dev eth0 parent 1:13 handle 13: sfq perturb 10
tc filter add dev eth0 parent 1:10 protocol ip handle 11 fw classid 1:11
tc filter add dev eth0 parent 1:10 protocol ip handle 12 fw classid 1:12
tc filter add dev eth0 parent 1:10 protocol ip handle 13 fw classid 1:13
And the folowing fmarks:
pkts bytes target prot opt in out source
destination
33 3308 MARK udp -- eth1 * 0.0.0.0/0
0.0.0.0/0 MARK set 0xb
0 0 MARK tcp -- eth1 * 0.0.0.0/0
0.0.0.0/0 tcp dpt:53 MARK set 0xb
288 44869 MARK tcp -- eth1 * 0.0.0.0/0
0.0.0.0/0 tcp dpt:80 MARK set 0xc
1204 133K MARK ah -- eth1 * 0.0.0.0/0
0.0.0.0/0 MARK set 0xd
Why is it everything goes to 1:255, the default?
---
Homer Parker /"\ ASCII Ribbon Campaign
\ / No HTML/RTF in email
http://www.homershut.net x No Word docs in email
telnet://bbs.homershut.net / \ Respect for open standards
This e-mail message is 100% Microsoft free!
WARNING: THIS ACCOUNT BELONGS TO A RABID
ANTI-SPAMMER NET-NAZI DOT-COMMUNIST!!
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next reply other threads:[~2002-12-24 4:47 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-12-24 4:47 Homer Parker [this message]
2002-12-24 8:37 ` [LARTC] Confusion Stef Coene
2002-12-24 19:01 ` Homer Parker
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-104070573922979@msgid-missing \
--to=hparker@homershut.net \
--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