Fair Internet Sharing with OpenBSD

2007-11-04 Thread Edd Barrett
Hi there, I'm looking into making my internet connection more fair (mainly to me), as my student housemates use filesharing apps loads, and it drags the net connection to it's knees. Sometimes it can take up to 10 seconds to load google. We have an 6MB net connection. IP addresses are assigned

Re: Fair Internet Sharing with OpenBSD

2007-11-04 Thread Lars Noodén
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

Re: Fair Internet Sharing with OpenBSD

2007-11-04 Thread Calomel
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