pf a altq_cbq

Marchyn Tibor marchyn at vviss.cz
Tue Aug 28 15:59:26 CEST 2007


A teraz budem mat zarucene ze si nebudu z kapacity brat?? 
A ako docielim to,ze by som chcel aby VoIP malo moznost navysit svojivh 0.5Mb az na 0.8Mb z kapacity ktora ide do LAN pokial je nevyuzita..ale nechcem aby LAN brala z kapacity pre voip.



S pozdravom Tibor Marchyn 

 MCP

------------------------------------
K Zastihnutiu na:
------------------------------------
IT oddělení
VVISS a.s.
Tibor Marchyn
Kolmá 5
190 00 Praha 9

ICQ: 140-480-653
mobil: +420 / 724 / 847 700 
work phone: +420 / 283 089 214 
@mail: marchyn at vviss.cz
------------------------------------ 

-----Original Message-----
From: users-l-bounces at freebsd.cz [mailto:users-l-bounces at freebsd.cz] On Behalf Of Marian Cerny
Sent: Tuesday, August 28, 2007 2:53 PM
To: FreeBSD mailing list
Subject: Re: pf a altq_cbq

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
-- 
FreeBSD mailing list (users-l at freebsd.cz)
http://www.freebsd.cz/listserv/listinfo/users-l
 

__________ Informace od NOD32 EMON 2488 (20070828) __________

Tato zprava byla proverena antivirovym systemem NOD32.
http://www.nod32.cz

 




More information about the Users-l mailing list