* [LARTC] Little bug in LARTC-HOWTO, chapter 12.4?
@ 2003-08-06 9:45 Steffen Moser
2003-08-06 18:10 ` Stef Coene
0 siblings, 1 reply; 2+ messages in thread
From: Steffen Moser @ 2003-08-06 9:45 UTC (permalink / raw)
To: lartc
Hi all,
I've just read chapter 12.4 of the LARTC-HOWTO:
http://www.lartc.org/howto/lartc.adv-filter.hashing.html
As I am quite new to the whole matter, I was a little bit confused about
the lines given on the upper part of chapter 12.4, because it seems that
the classifier's name was forgotten:
# tc filter add dev eth1 parent 1:0 protocol ip prio 100 match ip src 1.2.0.0 classid 1:1
# tc filter add dev eth1 parent 1:0 protocol ip prio 100 match ip src 1.2.0.1 classid 1:1
....
I think these rules would make more sense when adding the used classifier
name (most probably "u32"):
# tc filter add dev eth1 parent 1:0 protocol ip prio 100 u32 match ip src 1.2.0.0 classid 1:1
# tc filter add dev eth1 parent 1:0 protocol ip prio 100 u32 match ip src 1.2.0.1 classid 1:1
....
Also the alternating usage of "classid" (upper part of 12.4) and
"flowid" (lower part of 12.4 and other chapters) confused me at
first. But after looking at tc's source code it seems that both
keywords do exactly the same thing in combination with filters.
Is this assumption correct?
Bye,
Steffen
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [LARTC] Little bug in LARTC-HOWTO, chapter 12.4?
2003-08-06 9:45 [LARTC] Little bug in LARTC-HOWTO, chapter 12.4? Steffen Moser
@ 2003-08-06 18:10 ` Stef Coene
0 siblings, 0 replies; 2+ messages in thread
From: Stef Coene @ 2003-08-06 18:10 UTC (permalink / raw)
To: lartc
On Wednesday 06 August 2003 11:45, Steffen Moser wrote:
> Also the alternating usage of "classid" (upper part of 12.4) and
> "flowid" (lower part of 12.4 and other chapters) confused me at
> first. But after looking at tc's source code it seems that both
> keywords do exactly the same thing in combination with filters.
>
> Is this assumption correct?
Yes.
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] 2+ messages in thread
end of thread, other threads:[~2003-08-06 18:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-06 9:45 [LARTC] Little bug in LARTC-HOWTO, chapter 12.4? Steffen Moser
2003-08-06 18:10 ` Stef Coene
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.