Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 May 2005 21:31:06 -0700
From:      Jon Simola <jsimola@gmail.com>
To:        Benjamin Lauziere <blauziere@gmail.com>
Cc:        freebsd-pf@freebsd.org
Subject:   Re: ALTQ on vlan interface
Message-ID:  <8eea040805053121312cb41e05@mail.gmail.com>
In-Reply-To: <c59314bc0505311923791bad29@mail.gmail.com>
References:  <c59314bc0505311923791bad29@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 5/31/05, Benjamin Lauziere <blauziere@gmail.com> wrote:
> I am trying get ALTQ to work on a vlan interface. When I try to load
> my pf config file I get this error:

Heh, I asked this exact question before, and even wrote up some
patches, but the "official" word is from Max Laier:
http://lists.freebsd.org/mailman/htdig/freebsd-net/2005-February/006456.htm

Here's the bits from my pf.conf (vlan100's parent is em1):

altq on em0 cbq bandwidth 100Mb queue { default_ext, throttle_ext }
queue default_ext qlimit 200 cbq(default)
queue throttle_ext bandwidth 128Kb cbq(red ecn)

altq on em1 cbq bandwidth 100Mb queue { default_int, throttle_int, e10_int =
}
queue default_int cbq(default)
queue throttle_int bandwidth 128Kb cbq(ecn)
queue e10_int bandwidth 9Mb cbq(ecn)

pass out quick on em0 from <throttled_ips> to any keep state queue throttle=
_ext
pass out on em0

pass in on vlan100 keep state
pass out quick log on vlan100 from any to <throttled_ips> keep state
queue throttle_int
pass out on vlan100 keep state


--=20
Jon Simola
Systems Administrator
ABC Communications



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