Dear List
Below is an example taken from the Linux Advanced Routing & Traffic Control HOTWO.
My question is just below that.
tc qdisc add dev eth0 root handle 1: htb default 30
tc class add dev eth0 parent 1: classid 1:1 htb rate 6mbit burst 15k
tc class add dev eth0 parent 1:1 classid 1:10 htb rate 5mbit burst 15k
tc class add dev eth0 parent 1:1 classid 1:20 htb rate 3mbit ceil 6mbit burst 15k
tc class add dev eth0 parent 1:1 classid 1:30 htb rate 1kbit ceil 6mbit burst 15k
tc qdisc add dev eth0 parent 1:10 handle 10: sfq perturb 10
tc qdisc add dev eth0 parent 1:20 handle 20: sfq perturb 10
tc qdisc add dev eth0 parent 1:30 handle 30: sfq perturb 10
U32="tc filter add dev eth0 protocol ip parent 1:0 prio 1 u32"
$U32 match ip dport 80 0xffff flowid 1:10
$U32 match ip sport 25 0xffff flowid 1:20
(this works wonderfully, BTW)
Anyway, my question, as hypothetical as it maybe is as follows:
If I were to remove the "default 30" argument to the root line, and add an "any-any"
filter:
tc filter add dev eth0 protocol ip parent 1:0 prio 9 u32 match ip dst 0.0.0.0/0 flowid
1:30
=
Would that result in the same behavior?
Thanks,
Isaac
Aaronט÷{.nַ+‰·¬zwfj)m¢X§»¥ך®zֻe?{±¢¸"—†״^ֲ??÷{.nַ+‰·¢?״^™כ,j›¡??‚»§¶?¢i??׳?†‹§²זלr¸›zf¢–X§»¥ך®zֻe?{±¢¸"