Edd,
Check out ALTQ like Lars said, perticularly HFSC. Something like this
should work well:
altq on $ExtIf bandwidth 744Kb hfsc queue { ack, edd, frank, fred, jack, mike,
bulk }
queue ack bandwidth 10% priority 7 qlimit 50 hfsc (realtime 50%)
queue edd bandwidth 15% priority 5 qlimit 50 hfsc (realtime 5% )
queue frank bandwidth 15% priority 5 qlimit 50 hfsc (realtime 5% )
queue fred bandwidth 15% priority 5 qlimit 50 hfsc (realtime 5% )
queue jack bandwidth 15% priority 5 qlimit 50 hfsc (realtime 5% )
queue mike bandwidth 15% priority 5 qlimit 50 hfsc (realtime 5% )
queue bulk bandwidth 5% priority 1 qlimit 50 hfsc (realtime 5% default)
And use the ack with the queue name on the rules like, "queue (edd, ack)"
This might help you out with the directive definitions.
http://calomel.org/pf_config.html
--
Calomel @ http://calomel.org
Open Source Research and Reference
On Sun, Nov 04, 2007 at 08:29:02PM +0200, Lars Nood??n wrote:
>Edd Barrett wrote:
>
>> If there are 5 of us, it would be ideal to have x/5 bandwidth each
>> (where x is the available internet bandwidth), but if 1 person is not
>> using the connection others should be able to share the unused
>> portion.
>>
>> Is there a solution?
>
>AltQ, described in following, seems to be relevant. I'm looking into a
>similar setup, though for different reasons.
>
> PF: Packet Queueing and Prioritization
> http://openbsd.org/faq/pf/queueing.html
>
> ALTQ - allocation by percentage
> http://home.nuug.no/~peter/pf/en/altqbypct.html
>
> Firewalling IPv6 with OpenBSD's pf (packet filter)
> https://solarflux.org/pf/pf+IPv6.php
>
>I'm still in the planning stages, though.
>
>I'm currently using DNSmasq for DHCP, but would prefer to do something
>else and use only IPv6 in-house. The version of DNSmasq in the openbsd
>pkg archive has some problems, so I'm using a 'test' version of 2.41:
> http://www.thekelleys.org.uk/dnsmasq/
>
>Regards,
>-Lars