>>filter parent 1: protocol ip pref 100 u32 fh 800::800 order 2048 key ht 800 bkt 0 flowid 1:10 (rule hit 763 success 0)
>
>у тебя в фильтр ничего не попадает, success 0
>
>да и фильтр странный
>>match 00000016/0000ffff
>
>переводя на русский, это означает 0.0.0.22/0.0.255.255
>иными словами только ip 0.22 из любых /16 сетей, кажется так добавил в eth1-2.root и eth2-2.root RULE= с подсетями, теперь вот такую статистику показывает, но скорость всеравно не ограничивает :(
### eth1: queueing disciplines
qdisc htb 1: r2q 10 default 30 direct_packets_stat 7808
Sent 842864 bytes 7808 pkt (dropped 0, overlimits 0 requeues 0)
rate 0bit 0pps backlog 0b 0p requeues 0
qdisc sfq 10: parent 1:10 limit 128p quantum 1514b perturb 10sec
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
rate 0bit 0pps backlog 0b 0p requeues 0
### eth1: traffic classes
class htb 1:10 parent 1:2 leaf 10: prio 0 rate 2000bit ceil 2000bit burst 1600b cburst 1600b
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
rate 0bit 0pps backlog 0b 0p requeues 0
lended: 0 borrowed: 0 giants: 0
tokens: 6253906 ctokens: 6253906
class htb 1:2 root rate 512000bit ceil 128000bit burst 1856b cburst 1663b
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
rate 0bit 0pps backlog 0b 0p requeues 0
lended: 0 borrowed: 0 giants: 0
tokens: 28334 ctokens: 101562
### eth1: filtering rules
filter parent 1: protocol ip pref 100 u32
filter parent 1: protocol ip pref 100 u32 fh 800: ht divisor 1
filter parent 1: protocol ip pref 100 u32 fh 800::800 order 2048 key ht 800 bkt 0 flowid 1:2 (rule hit 7787 success 5156)
match 00000000/80000000 at 16 (success 5156 )
filter parent 1: protocol ip pref 100 u32 fh 800::801 order 2049 key ht 800 bkt 0 flowid 1:10 (rule hit 2631 success 0)
match c0a80000/ffffff00 at 16 (success 0 )
filter parent 1: protocol ip pref 100 u32 fh 800::802 order 2050 key ht 800 bkt 0 flowid 1:10 (rule hit 2631 success 0)
match 00000016/0000ffff at 20 (success 0 )
### eth2: queueing disciplines
qdisc htb 1: r2q 10 default 20 direct_packets_stat 9449
Sent 10231775 bytes 9449 pkt (dropped 0, overlimits 0 requeues 0)
rate 0bit 0pps backlog 0b 0p requeues 0
qdisc sfq 10: parent 1:10 limit 128p quantum 1514b perturb 10sec
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
rate 0bit 0pps backlog 0b 0p requeues 0
### eth2: traffic classes
class htb 1:10 parent 1:2 leaf 10: prio 1 rate 100000Kbit ceil 100000Kbit burst 51787b cburst 51787b
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
rate 0bit 0pps backlog 0b 0p requeues 0
lended: 0 borrowed: 0 giants: 0
tokens: 4046 ctokens: 4046
class htb 1:2 root rate 100000Kbit ceil 100000Kbit burst 51787b cburst 51787b
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
rate 0bit 0pps backlog 0b 0p requeues 0
lended: 0 borrowed: 0 giants: 0
tokens: 4046 ctokens: 4046
### eth2: filtering rules
filter parent 1: protocol ip pref 100 u32
filter parent 1: protocol ip pref 100 u32 fh 800: ht divisor 1
filter parent 1: protocol ip pref 100 u32 fh 800::800 order 2048 key ht 800 bkt 0 flowid 1:2 (rule hit 9396 success 9396)
match c0a80000/ffffff00 at 16 (success 9396 )
office:/etc/sysconfig/htb # htb stats
### eth1: queueing disciplines
qdisc htb 1: r2q 10 default 30 direct_packets_stat 7834
Sent 844336 bytes 7834 pkt (dropped 0, overlimits 0 requeues 0)
rate 0bit 0pps backlog 0b 0p requeues 0
qdisc sfq 10: parent 1:10 limit 128p quantum 1514b perturb 10sec
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
rate 0bit 0pps backlog 0b 0p requeues 0
### eth1: traffic classes
class htb 1:10 parent 1:2 leaf 10: prio 0 rate 2000bit ceil 2000bit burst 1600b cburst 1600b
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
rate 0bit 0pps backlog 0b 0p requeues 0
lended: 0 borrowed: 0 giants: 0
tokens: 6253906 ctokens: 6253906
class htb 1:2 root rate 512000bit ceil 128000bit burst 1856b cburst 1663b
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
rate 0bit 0pps backlog 0b 0p requeues 0
lended: 0 borrowed: 0 giants: 0
tokens: 28334 ctokens: 101562
### eth1: filtering rules
filter parent 1: protocol ip pref 100 u32
filter parent 1: protocol ip pref 100 u32 fh 800: ht divisor 1
filter parent 1: protocol ip pref 100 u32 fh 800::800 order 2048 key ht 800 bkt 0 flowid 1:2 (rule hit 7811 success 5180)
match 00000000/80000000 at 16 (success 5180 )
filter parent 1: protocol ip pref 100 u32 fh 800::801 order 2049 key ht 800 bkt 0 flowid 1:10 (rule hit 2631 success 0)
match c0a80000/ffffff00 at 16 (success 0 )
filter parent 1: protocol ip pref 100 u32 fh 800::802 order 2050 key ht 800 bkt 0 flowid 1:10 (rule hit 2631 success 0)
match 00000016/0000ffff at 20 (success 0 )
### eth2: queueing disciplines
qdisc htb 1: r2q 10 default 20 direct_packets_stat 9526
Sent 10288895 bytes 9526 pkt (dropped 0, overlimits 0 requeues 0)
rate 0bit 0pps backlog 0b 0p requeues 0
qdisc sfq 10: parent 1:10 limit 128p quantum 1514b perturb 10sec
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
rate 0bit 0pps backlog 0b 0p requeues 0
### eth2: traffic classes
class htb 1:10 parent 1:2 leaf 10: prio 1 rate 100000Kbit ceil 100000Kbit burst 51787b cburst 51787b
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
rate 0bit 0pps backlog 0b 0p requeues 0
lended: 0 borrowed: 0 giants: 0
tokens: 4046 ctokens: 4046
class htb 1:2 root rate 100000Kbit ceil 100000Kbit burst 51787b cburst 51787b
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
rate 0bit 0pps backlog 0b 0p requeues 0
lended: 0 borrowed: 0 giants: 0
tokens: 4046 ctokens: 4046
### eth2: filtering rules
filter parent 1: protocol ip pref 100 u32
filter parent 1: protocol ip pref 100 u32 fh 800: ht divisor 1
filter parent 1: protocol ip pref 100 u32 fh 800::800 order 2048 key ht 800 bkt 0 flowid 1:2 (rule hit 9468 success 9468)
match c0a80000/ffffff00 at 16 (success 9468 )