pf a altq_cbq

Marian Cerny jojo at matfyz.cz
Tue Aug 28 14:52:45 CEST 2007


On 2007-08-28 12:46 +0200, Marchyn Tibor wrote:
> ext_if="bge0"
> int_if="bge1"
> 
> altq on bge0 bandwidth 2Mb cbq queue { default_ext, voip_ext }
> 
> queue default_ext       bandwidth 1.5Mb cbq(default)
> queue voip_ext          bandwidth 0.5Mb
> 
> 
> predpokladam ze by to malo spravit aspon podla PF FAQ to ze mi voip
> obmedzi len na 0.5mbps  a defaultne vsetko ostatne na 1.5 mbps.. ale
> nechova sa to tak a ked stahujem nieco smerom dnu tak to ide plnych
> 2mbps..
> co mam spatne..?? potrebujem cisty shaping. Pre 1 ip xy kbps a pre
> ostatne zvysok, bez moznosti poziciavat si nevyuzitu kapacitu pre obe
> skupiny....

To co mas nastavene shapuje odchodzi traffic.

To co chces spravit by si mal dosiahnut takto:

altq on bge1 bandwidth 1.5Mb cbq queue { default_ext }
altq on em0 bandwidth 0.5Mb cbq queue { voip_ext }

queue default_ext       bandwidth 1.5Mb cbq(default)
queue voip_ext          bandwidth 0.5Mb cbq(default)

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

Marian Cerny



More information about the Users-l mailing list