On Tue, 07 Sep 2010 13:34:45 -0500 Hermes Ojeda Ruiz <[email protected]> wrote:
> On 07/09/10 13:21, roberth wrote: > > On Tue, 07 Sep 2010 13:15:03 -0500 > > Hermes Ojeda Ruiz<[email protected]> wrote: > > > > > >> Hi, Maybe this is a basic question, but I've read the man pages and > >> the PF book and I don't know how solve this problem. > >> > >> - I have an E1 and the problem is how to distribute the bandwidth > >> equally on all the ip's. There are some constraints like use DHCP, > >> and no block ports. The company provide full access internet to the > >> clients, and the only limit to the client is the bandwidth, that > >> one client don't consume all the bandwidth, and all have a good > >> service. > >> > >> I have some simple firewalls with prioritization, but I don't know > >> how should do that. May be with CBQ but they are a lot of rules. > >> > >> I found this: http://marc.info/?l=openbsd-pf&m=111772724522153&w=2 > >> > >> Can I do that with PF? Need another tool? > >> > >> Sorry, my english is a really bad thing. > >> > >> Thanks in advance with your support. > >> > >> > > Start here: > > http://www.openbsd.org/faq/pf/queueing.html > > > Yes, I have read it. > May be with CBQ I can do that, but there are ~150 ip's > > Thanks for your fast reply. > (...) So just put ~150 (*2 for both directions) child queues in your config. Seems tedious, but that's the way it works atm. Only shortcut i am aware of is to use a script to generate those lines instead of copy/paste/edit. ;)

