Всем привет!
Есть дерево классов tc
class htb 1:9 parent 1:1 leaf 9: prio 0 quantum 1514 rate 400Mbit ceil 400Mbit linklayer ethernet burst 1600b/1 mpu 0b cburst 1600b/1 mpu 0b level 0
Sent 2016645296 bytes 1527543 pkt (dropped 0, overlimits 1400904 requeues 0)
backlog 0b 0p requeues 0
lended: 1527543 borrowed: 0 giants: 0
tokens: 269 ctokens: 269
class htb 1:1 root rate 1900Mbit ceil 1900Mbit linklayer ethernet burst 1187b/1 mpu 0b cburst 1187b/1 mpu 0b level 7
Sent 2016829698 bytes 1527684 pkt (dropped 0, overlimits 861912 requeues 0)
backlog 0b 0p requeues 0
lended: 141 borrowed: 0 giants: 0
tokens: 44 ctokens: 44
class htb 1:2 parent 1:1 leaf 2: prio 0 quantum 1514 rate 1500Mbit ceil 1500Mbit linklayer ethernet burst 1500b/1 mpu 0b cburst 1500b/1 mpu 0b level 0
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
lended: 0 borrowed: 0 giants: 0
tokens: 125 ctokens: 125
class prio 2:1 parent 2: leaf 10:
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
class prio 2:2 parent 2: leaf 20:
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
class prio 2:3 parent 2: leaf 30:
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
class prio 2:4 parent 2: leaf 40:
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
class prio 2:5 parent 2: leaf 50:
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
class prio 2:6 parent 2: leaf 60:
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
class prio 2:7 parent 2: leaf 70:
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
class prio 2:8 parent 2: leaf 80:
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
Тестирую, выполняю
iptables -t mangle -A FORWARD -j CLASSIFY --set-class 2:8
Не вижу растущих счетчиков Sent/bytes в 2:8
Выполняю
iptables -t mangle -A FORWARD -j CLASSIFY --set-class 1:9
Трафик попадает в нужный класс.
Почему не классифицируется в 2:8 ?