* [LARTC] Confusion...
@ 2002-12-24 4:47 Homer Parker
2002-12-24 8:37 ` Stef Coene
2002-12-24 19:01 ` Homer Parker
0 siblings, 2 replies; 3+ messages in thread
From: Homer Parker @ 2002-12-24 4:47 UTC (permalink / raw)
To: lartc
[-- 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 --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [LARTC] Confusion...
2002-12-24 4:47 [LARTC] Confusion Homer Parker
@ 2002-12-24 8:37 ` Stef Coene
2002-12-24 19:01 ` Homer Parker
1 sibling, 0 replies; 3+ messages in thread
From: Stef Coene @ 2002-12-24 8:37 UTC (permalink / raw)
To: lartc
On Tuesday 24 December 2002 05:47, Homer Parker wrote:
> Ok, I've went and confused myself again :( With the following rules:
>
> 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
Shouldn't this be parent 1: ?????
Stef
--
stef.coene@docum.org
"Using Linux as bandwidth manager"
http://www.docum.org/
#lartc @ irc.oftc.net
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [LARTC] Confusion...
2002-12-24 4:47 [LARTC] Confusion Homer Parker
2002-12-24 8:37 ` Stef Coene
@ 2002-12-24 19:01 ` Homer Parker
1 sibling, 0 replies; 3+ messages in thread
From: Homer Parker @ 2002-12-24 19:01 UTC (permalink / raw)
To: lartc
[-- Attachment #1: Type: text/plain, Size: 874 bytes --]
On Tue, 24 Dec 2002 09:37:48 +0100 Stef Coene <stef.coene@docum.org>
wrote....
> On Tuesday 24 December 2002 05:47, Homer Parker wrote:
> > Ok, I've went and confused myself again :( With the following
> > rules:
> >
> > 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
> Shouldn't this be parent 1: ?????
That got it, thanks!
---
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 --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-12-24 19:01 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-24 4:47 [LARTC] Confusion Homer Parker
2002-12-24 8:37 ` Stef Coene
2002-12-24 19:01 ` Homer Parker
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox