>>добрый день,
>>У кого бывало что HTB вообще траффик не режет никак? роутинг работает.
>>
>>htb.init запускается без ошибок. пробовал ставить шейпер и на 2 сетевых интерфейса
>>сразу, ничего не режет :(
>>тоже самое с CBQ...
>
>1. в ядре htb есть ?
есть
>2. tc -s -q qdisc dev .. show что показывает ?
tc -s -q qdisc dev eth1 show - option -q is unknown.
-=- htb.init stats
### eth0: queueing disciplines
qdisc pfifo_fast 0: bands 3 priomap 1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
Sent 1248326 bytes 6337 pkts (dropped 0, overlimits 0)
### eth1: queueing disciplines
qdisc sfq 12: limit 128p quantum 1514b perturb 10sec
Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
qdisc sfq 10: limit 128p quantum 1514b perturb 10sec
Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
qdisc sfq 11: limit 128p quantum 1514b perturb 10sec
Sent 70554 bytes 511 pkts (dropped 0, overlimits 0)
qdisc htb 1: r2q 1 default 0 direct_packets_stat 4
Sent 70890 bytes 515 pkts (dropped 0, overlimits 68)
### eth1: traffic classes
class htb 1:11 parent 1:2 leaf 11: prio 0 rate 8Kbit ceil 32Kbit burst 1609b cburst 1639b
Sent 70554 bytes 511 pkts (dropped 0, overlimits 0)
rate 1014bps 6pps
lended: 419 borrowed: 92 giants: 0
tokens: 640628 ctokens: 245571
class htb 1:1 root rate 32Kbit ceil 32Kbit burst 1639b cburst 1639b
Sent 70554 bytes 511 pkts (dropped 0, overlimits 0)
rate 1037bps 6pps
lended: 0 borrowed: 0 giants: 0
tokens: 245571 ctokens: 245571
class htb 1:10 parent 1:2 leaf 10: prio 0 rate 16Kbit ceil 32Kbit burst 1619b cburst 1639b
Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
lended: 0 borrowed: 0 giants: 0
tokens: 647999 ctokens: 327999
class htb 1:2 parent 1:1 rate 24Kbit ceil 24Kbit burst 1629b cburst 1629b
Sent 70554 bytes 511 pkts (dropped 0, overlimits 0)
rate 414bps 4pps
lended: 92 borrowed: 0 giants: 0
tokens: 313835 ctokens: 313835
class htb 1:12 parent 1:1 leaf 12: prio 0 rate 8Kbit ceil 32Kbit burst 1609b cburst 1639b
Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
lended: 0 borrowed: 0 giants: 0
tokens: 1287999 ctokens: 327999
### eth1: filtering rules
filter parent 1: protocol ip pref 18 u32
filter parent 1: protocol ip pref 18 u32 fh 800: ht divisor 1
filter parent 1: protocol ip pref 18 u32 fh 800::800 order 2048 key ht 800 bkt 0 flowid 1:11
match 0a072702/ffffffff at 16
filter parent 1: protocol ip pref 18 u32 fh 800::801 order 2049 key ht 800 bkt 0 flowid 1:11
match c0a81100/ffffff00 at 16
-=-