altq beim upload - bekomms nicht hin

Herakles

Profifragensteller
Moin!

Ich habe ein kleines Heimnetzwerk und möchte mit Hilfe von altq meinen upload verteilen. Der "normale" Verkehr aller Clients (ftp, http, ssh,...) soll oberste Priorität haben, ein Programm auf einem Client soll sich hinten anstellen und nur dann Bandbreite bekommen, wenn alle anderen Ruhe geben.

Einen Einstieg habe ich hier erhalten:

http://www.openbsd.org/faq/pf/queueing.html

Nun habe ich versucht, meine pf.conf ein wenig anzupassen. Hier meine Versuche:

Code:
(...) 

## Queueing ##

altq on $int_if cbq bandwidth 100% queue { normal, esel }
queue normal on $int_if bandwidth 75% priority 1 cbq (default,red)
queue esel on $int_if bandwidth 25% priority 0 cbq (borrow,red)

(...)

pass out on $ext_if inet from $kueche to any modulate state queue esel
pass out on $ext_if modulate state queue normal

Einen wirkungsvollen Effekt hat das nicht. Der Upload des Rechners "kueche" lastet immer noch alles aus.

Wo liegt wohl mein Fehler?


Herakles
 
Herakles said:
Code:
(...) 

## Queueing ##

altq [B]on $int_if[/B] cbq bandwidth 100% queue { normal, esel }
queue normal on $int_if bandwidth 75% priority 1 cbq (default,red)
queue esel on $int_if bandwidth 25% priority 0 cbq (borrow,red)

(...)

pass out [B]on $ext_if[/B] inet from $kueche to any modulate state queue esel
pass out [B]on $ext_if[/B] modulate state queue normal

ohne wirklich die manpage gelesen zu haben... aber ich finde das sieht schon auf den ersten blick komisch aus, oder irre ich mich? ;)
 
Flüchtigkeitsfehler beim kopieren meinerseits. Das hab ich alles geändert auf $ext_if. Die Version oben war ein Versuch. Sorry! Also alle Regeln mit $ext_if!!!


Herakles
 
Back
Top