OpenWrt Forum Archive

Topic: Bandwidth throttling per IP(or MAC) address

The content of this topic has been archived on 29 Mar 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hello,

I did a few quick searches and couldn't really come up with anything concrete, so I thought it might be quicker to just post a small topic.

My room mate and I share an internet connection, and it is a fairly crappy connection.  If one of us is downloading/uploading ANYTHING, it slows the connection to a crawl for the other user.  Is there any way to throttle both the upload/download traffic of a specific IP or MAC address?

For example:

192.168.0.5 gets 50k/sec up, 50k/sec down
192.168.0.6 gets 50k/sec up, 50k/sec down

Thank you very much,

pSc

Edit: Spelling

(Last edited by pseudoschizo on 17 May 2006, 21:33)

Search for QoS. There are already several threads about it, and 2 packages that seem to work.

Thanks, I've installed the QoS package but am at a complete loss still on how to throttle the bandwidth per IP address..  anyone with any insight?

pSc

Take a look at http://forum.openwrt.org/viewtopic.php?id=5538

It has a script that I hurridly put in place a couple of weeks ago to fill the same requirement. I need to finish it up, but it has been working ok for several weeks now.

Ephraim, i havent been able to make it work, i have placed it to control wan, eth1, br0 and nothing, i think the iptables marks are mising.

Take a look at http://forum.openwrt.org/viewtopic.php?id=2429

i tested this last one out and modified it and worked for the down link.

How ever i must say the way your script has been coded looks excelent, very easy to understand. im going to try modify it and see if i can get it to work.

The discussion might have continued from here.