What's new

Limit bandwidth for guest network on AsusWRT-Merlin

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

rajav2

Occasional Visitor
Guys,

Anyone tried this method? Does it actually work? Any side effect to doing this?
Thanks.


http://nwgat.ninja/limit-bandwith-for-ssid-on-asuswrt-merlin/

login to router with ssh/telnet

where wl0.1 is the ssid of your guest network.
will vary if you have configured more than one

to limit to 5mbit until you reboot

tc qdisc add dev wl0.1 handle 1: root htb default 11

tc class add dev wl0.1 parent 1: classid 1:1 htb rate 5mbit

tc class add dev wl0.1 parent 1:1 classid 1:11 htb rate 5mbit

to remove the settings use
tc qdisc del dev wl0.1 root

to limit to 5mbit permanently

echo tc qdisc add dev wl0.1 handle 1: root htb default 11 >> /jffs/scripts/wan-start

echo tc class add dev wl0.1 parent 1: classid 1:1 htb rate 5mbit >> /jffs/scripts/wan-start

echo tc class add dev wl0.1 parent 1:1 classid 1:11 htb rate 5mbit >> /jffs/scripts/wan-start

Note:

Only downstream, i have to figure out upstream :(
You might need to enable jffs and add them to /jffs/scripts/init-start to be presistent

more info about tc
http://mark.koli.ch/slowdown-throttle-bandwidth-linux-network-interface
 
I have, it works really well, no side effects that I´m aware of. I did it on the guest network just like the guide says...


Guys,

Anyone tried this method? Does it actually work? Any side effect to doing this?
Thanks.


http://nwgat.ninja/limit-bandwith-for-ssid-on-asuswrt-merlin/

login to router with ssh/telnet

where wl0.1 is the ssid of your guest network.
will vary if you have configured more than one

to limit to 5mbit until you reboot

tc qdisc add dev wl0.1 handle 1: root htb default 11

tc class add dev wl0.1 parent 1: classid 1:1 htb rate 5mbit

tc class add dev wl0.1 parent 1:1 classid 1:11 htb rate 5mbit

to remove the settings use
tc qdisc del dev wl0.1 root

to limit to 5mbit permanently

echo tc qdisc add dev wl0.1 handle 1: root htb default 11 >> /jffs/scripts/wan-start

echo tc class add dev wl0.1 parent 1: classid 1:1 htb rate 5mbit >> /jffs/scripts/wan-start

echo tc class add dev wl0.1 parent 1:1 classid 1:11 htb rate 5mbit >> /jffs/scripts/wan-start

Note:

Only downstream, i have to figure out upstream :(
You might need to enable jffs and add them to /jffs/scripts/init-start to be presistent

more info about tc
http://mark.koli.ch/slowdown-throttle-bandwidth-linux-network-interface
 
I have, it works really well, no side effects that I´m aware of. I did it on the guest network just like the guide says...

Thanks.

This is the interface names I got from another thread.

2.4 Ghz Radio
wl0.1 ---> Guest Network 1
wl0.2 ---> Guest Network 2
wl0.3 ---> Guest Network 3

5 Ghz Radio
wl1.1 ---> Guest Network 1
wl1.2 ---> Guest Network 2
wl1.3 ---> Guest Network 3

Wonder what is the interface name for the main 2.4 and 5Ghz SSID?
 
i am unable to limit the download after follow the instructions.

i want to limit to 5mbit permanently for download and upload
 
Hi. My apologizes for resurrecting an older thread but I just tried this on my R7000 flashed with MerlinWRT using PuTTY and my command was accepted. I am receiving the same full speed on my networks instead of the 5mbits, any ideas?
Thanks.


Sent from my iPhone using Tapatalk
 
Hi. My apologizes for resurrecting an older thread but I just tried this on my R7000 flashed with MerlinWRT using PuTTY and my command was accepted. I am receiving the same full speed on my networks instead of the 5mbits, any ideas?
Thanks.
Sent from my iPhone using Tapatalk
Netgear R7000 isn't supported by RMerlin only ASUS routers. Try to get help of that made that fork.
 
I got this to work for limiting bandwidth on my router, but the command "tc qdisc del dev <dev> root" does not remove the rules. It returns "RTNETLINK answers: No such file or directory".

Anyone else experiencing this?
 
any idea how to limit upload speed on guest network? here what i did in telnet:
Code:
tc qdisc add dev wl0.3 handle 1: root htb default 11
tc class add dev wl0.3 parent 1: classid 1:1 htb rate 500kbit
tc class add dev wl0.3 parent 1:1 classid 1:11 htb rate 500kbit

this script only work with limit download speed.
 

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top