PF: trotz queue zuweisung immer std. queue

nagel

Well-Known Member
hallo habe folgendes problem:
in meiner pf.conf gibt es für den up und download jeweils 7 queues, eine davon als std definiert. Das funkt soweit ohne probleme. nur wenn ich mir dann die statisk der einzeilen queues anschau merke ich dass nur über die std queue traffic geht... woran kann dall liegen?
Der rechner (OPENBSD 3.7) soll nur als shaper agieren. Es is eine bridge zwischen xl0 und xl1 eingerichtet.

Code:
###	     Zuweisung der Variablen	  
# INTERFACES
int = "xl0"
ext = "xl1"

# NETZWERKE
table <schueler> const { 172.17.62.0/24 172.17.63.0/24 172.17.40.0/24 172.17.50.0/24 172.17.11.0/24 }
table <server> const { 10.191.16.0/20  172.17.10.0/24 10.104.27.16/28 }
table <saal> const { 172.17.21.0/24 172.17.22.0/24 172.17.23.0/24 172.17.24.0/24 172.17.25.0/24 172.17.26.0/24 172.17.27.0/24 172.17.28.0/24 172.17.29.0/24 }
table <elektro> const { 10.191.34.0/20 10.104.27.32/28 }
table  <netzwerk> const { 172.17.62.0/24 172.17.63.0/24 172.17.40.0/24 172.17.50.0/24 172.17.11.0/24 10.191.16.0/20 172.17.10.0/24 10.104.27.16/28 10.191.34.0/20 10.104.27.32/28 172.17.21.0/24 172.17.22.0/24 172.17.23.0/24 172.17.24.0/24 172.17.25.0/24 172.17.26.0/24 172.17.27.0/24 172.17.28.0/24 172.17.29.0/24 }

# BANDBREITE
bandbreite_up   = "512Kb"
bandbreite_down = "2Mb"

# Setzen des Log-Interfaces
set loginterface $ext

#           SHAPING START           
# FESTLEGEN DER QUEUES FUER DEN UPLOAD
altq on $int priq bandwidth $bandbreite_up queue { std_up, server_up, saal_up, elektro_up , ssh_up, ack_up, schueler_up }
queue std_up priority 2 priq(default)
queue schueler_up priority 5
queue elektro_up priority 8
queue saal_up priority 9
queue server_up priority 11 
queue ssh_up priority 13
queue ack_up priority 15
# ENDE 

# FESTLEGEN DER QUEUES FUER DEN UPLOAD
altq on $ext priq bandwidth $bandbreite_down queue { std_down, server_down, saal_down, elektro_down , ssh_down, ack_down, schueler_down }
queue std_down priority 2 priq(default)
queue schueler_down priority 5
queue elektro_down priority 8
queue saal_down priority 9
queue server_down priority 11 
queue ssh_down priority 13
queue ack_down priority 15
# ENDE
#                     SHAPING ENDE  

# Normalisierung

scrub in on $ext all fragment reassemble
scrub out on $ext all random-id fragment reassemble

#                 FILTERING START  

# Alles wird geblockt!
block return in all
block return out all

# loopback wird alles erlaubt
pass quick on lo0

# pass regeln für in eingang
pass in on $int from <netzwerk>

# pass regeln für int ausgang REIHENFOLGE!
pass out on $int from any to any queue std_up
pass out on $int from <schueler> to any queue schueler_up
pass out on $int from <elektro> to any queue elektro_up 
pass out on $int from <saal> to any queue saal_up
pass out on $int from <server> to any queue server_up
# SSH AUSGEHEND
pass out on $int proto tcp from any to any port ssh queue ssh_up
pass out on $int proto tcp from any to any flags S/SA queue ack_up
# ENDE 

# pass regeln für int ausgang REIHENFOLGE!
pass out on $int from any to any queue std_up
pass out on $int from <schueler> to any queue schueler_up
pass out on $int from <elektro> to any queue elektro_up 
pass out on $int from <saal> to any queue saal_up
pass out on $int from <server> to any queue server_up
# SSH AUSGEHEND
pass out on $int proto tcp from any to any port ssh queue ssh_up
pass out on $int proto tcp from any to any flags S/SA queue ack_up
# ENDE

 
# pass regeln für ext eingang
pass in on $ext from <netzwerk>

# pass regeln für ext ausgang REIHENFOLGE!
pass out on $ext from any to any queue std_down
pass out on $ext from any to <schueler> queue schueler_down
pass out on $ext from any to <elektro> queue elektro_down
pass out on $ext from any to <saal> queue saal_down
pass out on $ext from any to <server> queue server_down
# SSH EINGEHEND
pass out on $ext proto tcp from any to any port ssh queue ssh_down
pass out on $ext proto tcp from any to any flags S/SA queue ack_down


#           SHAPING ENDE         
#               E O F

danke schon mal im vorraus
 
Zurück
Oben