altq on vlan

Alexandre Biancalana biancalana at gmail.com
Fri Jun 27 16:58:05 UTC 2008


On 6/27/08, Max Laier <max at 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.


More information about the freebsd-net mailing list