On Thursday 26 June 2008 22:21:54 Giulio Ferro wrote: > I've tried to set altq bandwidth control on a vlan interface, but this > feature > doesn't seem to be supported by the vlan driver. > > I've googled around and I've found that there should be a trivial patch > to enable this feature: > http://people.yandex-team.ru/~sem/FreeBSD/vlan+altq.patch > > If this is so trivial, why hasn't it been included in the freebsd > source tree? > > Anyway has anybody tried that? How does that work? Are there other > (better) patches around?
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. -- /"\ Best regards, | [EMAIL PROTECTED] \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | [EMAIL PROTECTED] / \ ASCII Ribbon Campaign | Against HTML Mail and News _______________________________________________ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[EMAIL PROTECTED]"