Re: Minimum bandwidth per IP

2011-05-19 Thread Leonardo Lombardo
Hi, I think I was very unclear defining my requirements... I now try to explain it better ;-) Here is a snipper of my pf.conf (this machine is a bridge firewall): [...] table { 10.103.12.0/24, 10.113.14.0/24, 10.113.15.0/24, 10.113.16.0/24, 10.113.17.0/24, 10.113.18.0/24, 10.113.19.0/24, 10.1

Re: Minimum bandwidth per IP

2011-05-19 Thread Stuart Henderson
On 2011-05-19, Leonardo Lombardo wrote: > Hi misc, > > is there a way, with PF on a router/fw machine, to assign a maximum bandwith > on a per IP basis ? > > What I need to do is something like: given a table of IPs make sure that none > of that IPs consumes more than n bandwidth. Something like

Re: Minimum bandwidth per IP

2011-05-19 Thread Gilbert Fernandes
I would suggest CBQ (class based queuing) with RED (random early dropping) dhcpd server giving "static ips" according to MAC, and then enforcing bandwidth using ALTQ. Defining a CBQ with bandwidth, some bandwidht reserved for some IP and not forgetting to create a default class to have all others w