Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Jun 2008 13:57:59 -0300
From:      "Alexandre Biancalana" <biancalana@gmail.com>
To:        "Max Laier" <max@love2party.net>
Cc:        freebsd-net@freebsd.org, Giulio Ferro <auryn@zirakzigil.org>
Subject:   Re: altq on vlan
Message-ID:  <8e10486b0806270957y439087a5ia0d4689ad2f24ce8@mail.gmail.com>
In-Reply-To: <200806271036.12195.max@love2party.net>
References:  <4863FA62.2030703@zirakzigil.org> <200806271036.12195.max@love2party.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 6/27/08, Max Laier <max@love2party.net> wrote:
>
>
> You don't need a patch at all.  What you do is:  Queue on the physical
>  interface, classify on the vlan interface.  It is broken to allow ALTQ on
>  a virtual interface if you can do it otherwise.
>
>  in pf.conf speak:
>
>  If you have "ifconfig vlanX vlandev bge0 ..."
>
>  altq on bge0 .... queue { vlan0, vlan1, ... }
>  queue vlan0 ... { vlan0_foo, vlan0_bar, ... }
>  queue  vlan0_foo
>  queue  vlan0_bar
>  ...
>
>  pass on vlanX  ... queue vlanX_foobar
>
>  And there you go.  No patch - whatsoever - required here.


But the patch simplify the cases where you need one queue per vlan.



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