Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Nov 2005 15:07:45 -0800
From:      Jon Simola <jon@abccomm.com>
To:        Marcelo Celleri <marceloc@espoltel.net>
Cc:        freebsd-pf@freebsd.org
Subject:   Re: PF + ALTQ... help please!!
Message-ID:  <8eea04080511301507k5d8db25dm6f4724beced44279@mail.gmail.com>
In-Reply-To: <200511302245.jAUMjnlH005753@jupiter.espoltel.net>
References:  <200511302245.jAUMjnlH005753@jupiter.espoltel.net>

next in thread | previous in thread | raw e-mail | index | archive | help

On 11/30/05, Marcelo Celleri <marceloc@espoltel.net> wrote:
> $int_if="em1"
> queue marcelo bandwidth 128Kb cbq { gold, silver, default }
>         queue marcelo1 bandwidth 70% priority 3 cbq(borrow red)
>         queue marcelo2 bandwidth 20% priority 2 cbq(borrow red)
>         queue marcelodf bandwidth 10% cbq(borrow)

You've omitted a lot of the pf.conf file. The only thing I can suggest
is that you name the sub-queues (marcelo1/2/df) the same as what the
queue expects them to be named (gold/silver/default).

Like this:
altq on em0 cbq bandwidth 100Mb queue { default_ext, throttle_ext }
queue default_ext bandwidth 40Mb qlimit 1000 priority 5 cbq(default red ecn)
queue throttle_ext bandwidth 64Kb priority 1 cbq(red ecn)

> pass in on $int_if proto { udp,tcp } from any port 53 to 200.49.242.42 keep
> state queue gold

Not actually having defined a gold queue, that does nothing.

--
Jon Simola
Systems Administrator
ABC Communications



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8eea04080511301507k5d8db25dm6f4724beced44279>