ALTQ Vlan
Mykola Dzham
freebsd at levsha.org.ua
Sun Mar 23 06:04:53 PDT 2008
Alexandre Biancalana wrote:
> On 3/5/08, Sergey Matveychuk <sem at freebsd.org> wrote:
> > Alexandre Biancalana wrote:
> > > Hi list,
> > >
> > > Is there any patches or plans to support altq on vlan interfaces ??
> > >
> >
> >
> > The patch is quite trivial:
> > http://people.yandex-team.ru/~sem/FreeBSD/vlan+altq.patch
>
> Is this working on 7 ? with pf ?
>
> >
> > But may be a better way to shape traffic on parent interface for you?
> > I did the patch because I couldn't do shaping on a parent interface for
> > some reason.
>
> My problem is that I've only one physical interface on the server and
> this interface provide vlans for local network and remote links (which
> I want to shape the traffic) then I had problems because I want to
> limit the speed only on remote links.
You can setup atlq on parent interface and assign traffic to queue on
vlan interface:
altq on em0 cbq bandwidth 1Gb queue { def, vlan10 }
queue def bandwidth 80% cbq ( default , borrow )
queue vlan10 bandwidth 20Mb cbq
...
pass out on vlan10 queue vlan10
--
Mykola Dzham, LEFT-(UANIC|RIPE)
JID: levsha at jabber.net.ua
More information about the freebsd-net
mailing list