Traffic Shaping Configuration

frankd3

Reputable
Aug 4, 2015
1
0
4,510
Hello,

I have a PROLiNK H5004NK ADSL Wireless Modem, I wanted to limit bandwidth of devices connected to it on a per mac address basis. Here is it's Traffic Shaping configuration page:

IN0l7Qb.png


Putting 500kbps on UP and DOWN stream on Traffic Shaping in the network interface effectively limits every connected device to it. Now i want to exempt some of device so I tried filling up the Traffic Shaping rule list

mCjSuKW.png


On LAN interfaces the options are: LAN1, LAN2, WLAN, WLAN-VAP0, WLAN-VAP1
On Protocols: NONE, ICMP, UDP, TCP, TCP/UDP
WAN Inteface: pppoe1 or Nothing

I put the device's MAC on Src MAC and Dst MAC. As well as its assigned IP address and SM as in the screenshot. Leaving the PORTS to nothing. I assume the UP and DOWN floor is the minimum bandwidth it can get and max will be the UP DOWN ceiling hence the numbers.

Applying it doesn't affect the device, it is still limited to 500kbps that is on the Traffic Shaping in the network interface table.
Any ideas?

I "should not" block the "leechers" for some,... reasons. Hence, this resolution.
Using p2pover does the job but only when I'm connected to the network myself.

Appreciate any input guys. Thanks
 
Solution
You likely can not do it that simply. You want the network interfaces to have the actual bandwidth.

It could be tricky to get the rules in, it really depends on the order the router processes stuff.

Let say it does it in order you enter them....that is a big assumption that may not be true.

You put in SRC ip of x.x.x.x with a 255.255.255.255 mask leaving all the rest blank. On these you set the ceiling numbers to the max. These are the machines that you do not want to limit

You then put in a generic rule that matches all other ip, some routers have a special rule, other wise you could use say 192.168.254.0 with a mask of 255.255.255.0 (assuming 192.168.254 is your lan subnet) and limit this group of machines combined to the...
You likely can not do it that simply. You want the network interfaces to have the actual bandwidth.

It could be tricky to get the rules in, it really depends on the order the router processes stuff.

Let say it does it in order you enter them....that is a big assumption that may not be true.

You put in SRC ip of x.x.x.x with a 255.255.255.255 mask leaving all the rest blank. On these you set the ceiling numbers to the max. These are the machines that you do not want to limit

You then put in a generic rule that matches all other ip, some routers have a special rule, other wise you could use say 192.168.254.0 with a mask of 255.255.255.0 (assuming 192.168.254 is your lan subnet) and limit this group of machines combined to the 500k limit you want. Using mac addresses is very hard because there is no easy way to group a bunch of them together.....although some routers do let you build groups and apply the rules to groups of machines but it depends on the software and I am too lazy to read the manual for your router.

Torrent is very hard to actually limit. It will partially limit but it will actually go above the number. What the router is actually doing is discarding any data that exceeds 500k down but the data still came into your house and used your bandwidth. The users still only sees 500k but that generally does not solve the issue. It will generally not go a lot above but on small internet connections even a few 100k extra is a issue.



 
Solution