← All posts tagged iso

Melhior
Linux жуйк. есть кто нормально разбирается в шейпинге под линух? интересует что попунктно делают следующие правила:


[root@m ~]# tc qdisc
qdisc cbq 1: dev eth0 rate 100000Kbit (bounded,isolated) prio no-transmit
qdisc tbf 1314: dev eth0 parent 1:1314 rate 2000Kbit burst 10Kb lat 20.5ms
qdisc cbq 1: dev eth1 rate 100000Kbit (bounded,isolated) prio no-transmit
qdisc tbf 1313: dev eth1 parent 1:1313 rate 2000Kbit burst 10Kb lat 20.5ms


[root@m ~]# tc class show dev eth0
class cbq 1: root rate 100000Kbit (bounded,isolated) prio no-transmit
class cbq 1:1314 parent 1: leaf 1314: rate 2000Kbit (bounded) prio 5
class tbf 1314:1 parent 1314:


[root@m ~]# tc class show dev eth1
class cbq 1:1313 parent 1: leaf 1313: rate 2000Kbit (bounded) prio 5
class cbq 1: root rate 100000Kbit (bounded,isolated) prio no-transmit
class tbf 1313:1 parent 1313:



[root@m ~]# tc filter show dev eth0
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:1314
match 00000000/00000000 at 16


[root@m ~]# tc filter show dev eth1
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:1313
match c0a81000/ffffff00 at 16