Re: altq on vlan
- From: Max Laier <max@xxxxxxxxxxxxxx>
- Date: Fri, 27 Jun 2008 10:36:12 +0200
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, | mlaier@xxxxxxxxxxx
\ / Max Laier | ICQ #67774661
X http://pf4freebsd.love2party.net/ | mlaier@EFnet
/ \ ASCII Ribbon Campaign | Against HTML Mail and News
_______________________________________________
freebsd-net@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe@xxxxxxxxxxx"
- Follow-Ups:
- Re: altq on vlan
- From: Alexandre Biancalana
- Re: altq on vlan
- References:
- altq on vlan
- From: Giulio Ferro
- altq on vlan
- Prev by Date: Re: kern/125024: vr(4) does not see incoming multicast packets in non-promiscuous mode (broadcast is fine); breaks IPv6
- Next by Date: Re: IPV6 problem : nd6_lookup: failed to add route for a neighbor
- Previous by thread: Re: altq on vlan
- Next by thread: Re: altq on vlan
- Index(es):
Relevant Pages
|