Sharing total bandwidth equally between ips

Rajkumar S rajkumars at gmail.com
Thu Nov 29 02:19:26 PST 2007


Hi,

I have a requirement where I want to share the available internet
bandwidth _equally_ between all active ips in the LAN. For example if
I have 2 mbps and only 4 ips are active, they all should get 512, but
if 4 more ips become active, every one should get 256kbps. This should
work even if one of them is using a download manager and has multiple
connections to server.

Can such a requirement be met with pf? I would be happy with an
approximation of this requirement. The underlying philosophy of this
requirements is that "smart" people using download accelerators should
not overwhelm moms and pops.

Thanks,

raj


More information about the freebsd-pf mailing list