Page 1 of 1

How to limit download speed on TP-WR741ND ?

Posted: Fri Sep 09, 2011 10:07 pm
by vsefer
Hi ! I have TP-Link TP-WR741ND v2.4 (ROUTER 1) with Gargoyle 1.4.0 firmware acting as Wireless Bridge/Repeater which is connected to main ADSL router ROUTER 0. Also there is another router ROUTER 2 which is connected to WAN port on ROUTER 1 (WAN is bridged to LAN ports). I have main ADSL connection on ROUTER 0 with 4 Mbps download and 0,27 Mbps upload speed. I only want to limit download speed to 1 Mbps from ROUTER 1 to all clients that are connected on ROUTER 2 retaining the remaining 3 Mbps to clients connected on ROUTER 1 . It seems that QoS is only possible solution, but how to do it ?

Re: How to limit download speed on TP-WR741ND ?

Posted: Sat Sep 10, 2011 8:53 pm
by vsefer
I found solution :) WAN (eth1) port is bridged to LAN (eth0) port.

Limiting download on WAN port (traffic that goes to clients on ROUTER2):

insmod sch_tbf && tc qdisc add dev eth1 root tbf rate 1024kbit latency 50ms burst 5120

Limiting download on LAN ports (traffic that goes to clients on ROUTER1):

insmod sch_tbf && tc qdisc add dev eth0 root tbf rate 3072kbit latency 50ms burst 5120

That's it ;)