Пошук по сайту
Результати пошуку за тегами 'tc шейпер'.
Найдено 1 результат
-
Пробую разобраться с хеш таблицами Подскажите, что я делаю не так? #!/bin/bash tc qdisc del dev bond0.8 root tc qdisc add dev bond0.8 root handle 1: htb default 900 tc class add dev bond0.8 parent 1: classid 1:1 htb rate 4000Mbit burst 150k tc class add dev bond0.8 parent 1:1 classid 1:100 htb rate 3800Mbit burst 150k tc class add dev bond0.8 parent 1:100 classid 1:104 htb rate 20Mbit ceil 20Mbit tc class add dev bond0.8 parent 1:100 classid 1:105 htb rate 20Mbit ceil 20Mbit tc filter add dev bond0.8 parent 1:0 protocol ip u32 tc filter add dev bond0.8 parent 1:0 handle 12: protocol ip u32 divisor 8 tc filter add dev bond0.8 parent 1:0 handle 13: protocol ip u32 divisor 256 tc filter add dev bond0.8 parent 1:0 protocol ip u32 ht 800:: match ip dst 172.24.128.0/17 hashkey mask 0x0000ff00 at 16 link 12: tc filter add dev bond0.8 parent 1:0 protocol ip u32 ht 12:3: match ip dst 172.24.129.0/24 hashkey mask 0xff at 16 link 14: tc filter add dev bond0.8 parent 1:0 protocol ip u32 ht 12:4: match ip dst 172.24.130.0/24 hashkey mask 0xff at 16 link 15: tc filter add dev bond0.8 parent 1:0 protocol ip u32 ht 12:5: match ip dst 172.24.131.0/24 hashkey mask 0xff at 16 link 16: tc filter add dev bond0.8 parent 1:0 protocol ip u32 ht 12:1: match ip dst 172.24.132.0/24 hashkey mask 0xff at 16 link 17: tc filter add dev bond0.8 parent 1:0 protocol ip u32 ht 12:2: match ip dst 172.24.128.0/24 hashkey mask 0xff at 16 link 13: tc filter add dev bond0.8 protocol ip parent 1:0 u32 ht 13:1: match ip dst 172.24.128.46 flowid 1:104 tc filter add dev bond0.8 protocol ip prio 1 u32 ht 13:3: match ip dst 172.24.128.57 flowid 1:105 собственно при ip = 172.24.128.46 шейпер не работает
