Date: Sat, 22 Oct 2005 08:51:21 -0500 From: Bill Marquette <bill.marquette@gmail.com> To: freebsd-pf@freebsd.org Subject: Re: FreeBSD + MPD + PF + ALTQ Message-ID: <55e8a96c0510220651t47fa063ayefd1dcffd63950a6@mail.gmail.com> In-Reply-To: <4359ED5B.7010303@dequim.ist.utl.pt> References: <000b01c5d644$54527f20$0132a8c0@delta> <4359ED5B.7010303@dequim.ist.utl.pt>
next in thread | previous in thread | raw e-mail | index | archive | help
On 10/22/05, Bruno Afonso <brunomiguel@dequim.ist.utl.pt> wrote:
> The download part is the problematic one IF they're not all connected to
> the same network interface. Why ? Because altq only works PER interface
> and tun0, tun1, tun2, etc are each and single one, one interface on its own.
>
> You basically have to
>
> altq on tun0
>
> altq on tun1, etc..
>
> What we would need in this case would be a meta-interface that altq
> would work on, but that is not available. Bottom line: you can't control
> with PF global bw over an interface-span. This is probably necessary for
> a full commercial deployment. Don't know of any plans to implement this...
>
> meta_if <meta_1> {tun0, tun1}
>
> altq on meta_1 ...
>
> would be nice. :-)
You mean something like:
altq on { fxp0 fxp1 } bandwidth 100Mb hfsc queue { a b }
queue a bandwidth 50Mb hfsc(default)
queue b bandwidth 50Mb hfsc
This works today :)
--Bill
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55e8a96c0510220651t47fa063ayefd1dcffd63950a6>
