Little bug in LARTC-HOWTO, chapter 12.4?
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 / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Quoted 6 lines · Steffen Moser
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
Signature · 8 lines
[email protected] "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.oftc.net _______________________________________________ LARTC mailing list / [email protected] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/