Mac Forums

Mac Forums (http://www.mac-forums.com/forums/)
-   OS X - Operating System (http://www.mac-forums.com/forums/os-x-operating-system/)
-   -   Limit bandwidth using ipfw (http://www.mac-forums.com/forums/os-x-operating-system/199096-limit-bandwidth-using-ipfw.html)

4Geist 04-19-2010 12:54 AM

Limit bandwidth using ipfw
 
Hello!
I have a iMac aluminum and a 54mbps NetGear router that doesn't support QoS. I would really appreciate it if someone could guide me on how to limit bandwidth overall on my roommates PC. The ip address I see on my router for their computer is 192.168.1.4. I read on another forum that i could use this command in terminal:

sudo ipfw pipe 1 config bw 300kbit/s
sudo ipfw add pipe 1 dst-ip 0.0.0.0/0

But i don't understand the dst-ip command

would it be "sudo ipfw add pip 1 dst-ip 192.168.1.4/x" <---what goes after the slash and does this command really do what I'm asking for?

I want them to have a fair share of the the internet but no more, so what is 18 percent of the 54 mbps router in kbit/s?

I have tried searching on google for applications and clarification, but either my searches aren't clear enough or there isn't anything out there besides a router that supports QoS. Any ideas?

Aptmunich 04-19-2010 01:03 AM

I think you would put /24 after the slash - that's shorthand for a "255.255.255.0" subnet mask.

4Geist 04-28-2010 01:37 AM

Quote:

Originally Posted by Aptmunich (Post 1038623)
I think you would put /24 after the slash - that's shorthand for a "255.255.255.0" subnet mask.

Thanks for the tip. would you know what a 54mbps speed router is converted to if i was to set a speed limit in kbit/s ? and will this command limit only my roommates speed or everyone that is connected to the router?

MacsWork 04-28-2010 10:11 PM

You can't limit the bandwidth of a any machine besides yours with that command.

Buy a router with QoS.

But if your roommate pays half the bills try having a conversation with them first.

4Geist 04-28-2010 11:11 PM

Quote:

Originally Posted by MacsWork (Post 1044475)
You can't limit the bandwidth of a any machine besides yours with that command.

Buy a router with QoS.

But if your roommate pays half the bills try having a conversation with them first.

Thanks for clearing that up. They're fine with having a bw limiter installed on their computer as long as it's set to a fair share. Do you know any windows vista 32bit bw limiting applications that are fairly simple to use?


All times are GMT -4. The time now is 12:49 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.