[OT] tc filter i priorytety - pomocy

Krzysztof Mościcki stivi w elomza.pl
Pią, 4 Cze 2004, 18:15:14 CEST


Nie mogę sobie poradzić z priorytetami.
Wpisuję takie regółki:
tc filter add dev eth0 protocol ip preference 1 parent 1:0 u32 match ip
src 192.168.100.1 flowid 1:3
tc filter add dev eth0 protocol ip preference 2 parent 1:0 u32 match ip
dst 192.168.100.2 flowid 1:4
tc filter add dev eth0 protocol ip preference 2 parent 1:0 u32 match ip
dst 192.168.100.3 flowid 1:4


I dostaję:

filter parent 1: protocol ip pref 1 u32
filter parent 1: protocol ip pref 1 u32 fh 801: ht divisor 1
filter parent 1: protocol ip pref 1 u32 fh 801::800 order 2048 key ht
801 bkt 0 flowid 1:4
  match c0a86402/ffffffff at 16
filter parent 1: protocol ip pref 1 u32 fh 801::801 order 2049 key ht
801 bkt 0 flowid 1:4
  match c0a86403/ffffffff at 16
filter parent 1: protocol ip pref 1 u32 fh 800: ht divisor 1
filter parent 1: protocol ip pref 1 u32 fh 800::800 order 2048 key ht
800 bkt 0 flowid 1:3
  match c0a86401/ffffffff at 12
filter parent 1: protocol ip pref 2 u32
filter parent 1: protocol ip pref 2 u32 fh 801: ht divisor 1
filter parent 1: protocol ip pref 2 u32 fh 801::800 order 2048 key ht
801 bkt 0 flowid 1:4
  match c0a86402/ffffffff at 16
filter parent 1: protocol ip pref 2 u32 fh 801::801 order 2049 key ht
801 bkt 0 flowid 1:4
  match c0a86403/ffffffff at 16
filter parent 1: protocol ip pref 2 u32 fh 800: ht divisor 1
filter parent 1: protocol ip pref 2 u32 fh 800::800 order 2048 key ht
800 bkt 0 flowid 1:3
  match c0a86401/ffffffff at 12

Jak widać wszystkie wpisy się dublują dla obu priorytetów. Wiecie jak
sobie z tym poradzić? Gdy robię wszystko dla jednej wartości pref, to
wszystko ok, tyle, że mi potzrebna jest priorytetyzacja.

Krzysztof Mościcki




Więcej informacji o liście dyskusyjnej pld-users-pl