Site Tools


bwlimit

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
bwlimit [2023/05/09 23:35] – [Default Class for LAN1 (br1)] -copied content from LAN0 section, then changed all references to LAN1/br1 hogwildbwlimit [2023/06/21 02:32] (current) – [Default Class for unlisted MAC / IP's in LAN0 (br0)] hogwild
Line 3: Line 3:
 To begin with, Bandwidth Limiter **is not** QoS. Bandwidth Limiter limits the bandwidth used by one or more client devices on the network. Bandwidth Limiter does not prioritize one //type //of traffic over another type. It prioritizes one //client device// or //group of client devices// over others. To begin with, Bandwidth Limiter **is not** QoS. Bandwidth Limiter limits the bandwidth used by one or more client devices on the network. Bandwidth Limiter does not prioritize one //type //of traffic over another type. It prioritizes one //client device// or //group of client devices// over others.
  
-By contrast, QoS analyzes all traffic and follows rules for prioritizing one //type //of traffic over another, based on all clients on the network. In a sense, Bandwidth Limiter is a more crude tool, whereas QoS might be considered a little more refined. Confusingly, Bandwidth Limiter shares a few settings with QoS. When Bandwidth Limiter is enabled, QoS should be disabled, and vice versa. If both are enabled, they will conflict with each other and neither will work.+By contrast, QoS analyzes all traffic and follows rules for prioritizing one //type //of traffic over another, based on all clients on the network. In a sense, Bandwidth Limiter is a more crude tool, whereas QoS might be considered a little more refined. 
 + 
 +Confusingly, Bandwidth Limiter shares a few settings with QoS. When Bandwidth Limiter is enabled, QoS should be disabled, and vice versa. If both are enabled, they will conflict with each other and neither will work.
  
 The Bandwidth Limiter menu is divided into sections. These sections typically include: The Bandwidth Limiter menu is divided into sections. These sections typically include:
Line 13: Line 15:
   * Default Class for LAN3 (br3)   * Default Class for LAN3 (br3)
  
-Your menu may have slightly different options, depending on your hardware.+ \\ 
 + 
 +Your menu may have different options, depending on your hardware.
  
-An easy way to learn which clients are "guilty" when it comes to using bandwidth is to check the IP Traffic/View Graphs menu. There, a pie chart clearly indicates the bandwidth used by each address. If you're not sure whether the guilty client is active now, check the history using the Last 24 Hours, Weekly or Monthly menus.+An easy way to learn which clients are "guilty" of using too much bandwidth is to check the //IP Traffic///[[ipt-graphs|View Graphs]] menu. There, a pie chart clearly indicates the bandwidth used by each address. If you're not sure whether the guilty client is active now, check the history using the Last 24 Hours, Weekly or Monthly menus.
  
  
Line 59: Line 63:
  
   * The **IP** address of ONE network client you want to limit.   * The **IP** address of ONE network client you want to limit.
-  * A **Range** of client IP addresses you want to limit,Using the syntax “starting address-last octet of ending address" .+  * A **Range** of client IP addresses to limit. Use the syntax“starting address-last octet of ending address" .
     * For example, enter: 192.168.1.4-7 to cover the range: 192.168.1.4 - 192.168.1.7 .     * For example, enter: 192.168.1.4-7 to cover the range: 192.168.1.4 - 192.168.1.7 .
   * The 12-character **MAC** address of ONE client device you wish to limit.   * The 12-character **MAC** address of ONE client device you wish to limit.
-    * Is there a way to bulk enter MAC Addresses for Bandwidth Limiter from CLI?+ 
 + \\
  
 This field is shared. Only //one address type can be entered in a row at a time.// See NOTE below. This field is shared. Only //one address type can be entered in a row at a time.// See NOTE below.
  
-There's a quicker, easier way to enter individual IP or MAC Addresses. In [[device_list|Device List]], click on [bwlimit] for each client you wish to limit. Device List will then take you back to the Bandwidth Limiter menu to enter the settings for the address.+There's a quicker, easier way to enter individual IP or MAC Addresses. In [[status-devices|Device List]], click on [bwlimit] for each client you wish to limit. Device List will then take you back to the Bandwidth Limiter menu to enter the settings for the address.
  
-It's important to remember that if you enter client IP addresses, those should be specified using a static IP, or DHCP Reservation. If they're not, the clients might be assigned a different IP address each time. Bandwidth Limiter will not not work with clients whose addresses changed from what you originally configured. Entering MAC addresses instead will avoid that problem. After all, MAC addresses generally don't change.+Remember that if you enter client IP addresses, they should be specified using a static IP, or DHCP Reservation. If they're not, the clients might be assigned a different IP address each time. Bandwidth Limiter will not not work with clients whose addresses changed from what you originally configured. Entering MAC addresses instead will avoid that problem. After all, MAC addresses generally don't change.
  
 **DLRate:** This is the minimum download speed FreshTomato will try to allocate to the client when other clients on the list are also downloading. The total of this column for all clients on the list should not overcome the total “Download Bandwidth.” If the amount exceeds “Download Bandwidth”, the entered data will serve no purpose when all network clients are downloading data. **DLRate:** This is the minimum download speed FreshTomato will try to allocate to the client when other clients on the list are also downloading. The total of this column for all clients on the list should not overcome the total “Download Bandwidth.” If the amount exceeds “Download Bandwidth”, the entered data will serve no purpose when all network clients are downloading data.
  
-**DLCeil:** This is the maximum download speed FreshTomato will allocate to the client when more bandwidth is available. The conditions include when other network clients are off, or using less bandwidth than normal. The less bandwidth they use, the more becomes available to allocate to the specified clients, especially those categorized as higher priority.+**DLCeil:** This is the maximum download speed FreshTomato will allocate to the client when more bandwidth is available. The conditions include when other network clients are off, or using less bandwidth than normal. The less bandwidth they use, the more is available to allocate to the specified clients, especially those categorized as higher priority.
  
 **Priority:** This sets the position of the bandwidth rule (relative to other clients) in the netfilter module. FreshTomato has five priority settings. The higher the setting, the more preference will be given to that client's allocated bandwidth, relative to other clients. Clients with higher priority settings will also experience lower latency, but only as a side effect of being earlier than other clients in netfilter's priority list. **Priority:** This sets the position of the bandwidth rule (relative to other clients) in the netfilter module. FreshTomato has five priority settings. The higher the setting, the more preference will be given to that client's allocated bandwidth, relative to other clients. Clients with higher priority settings will also experience lower latency, but only as a side effect of being earlier than other clients in netfilter's priority list.
  
-**TCP Limit:** This is the maximum number of active connections for this IP address. Limiting active TCP connections is particularly useful for avoiding network saturation due to download utilities, or p2p programs, such as BitTorrent. UDP Limit: Here, specify the maximum UDP connections that can be opened per second for the specified IP address. This can also be very helpful in limiting network saturation due to download utilities, and P2P programs, such as BitTorrent.+**TCP Limit:** This is the maximum number of active connections for this IP address. Limiting active TCP connections is particularly useful for avoiding network saturation due to download utilities, or p2p programs, such as BitTorrent.
  
 **UDP Limit:** Here, specify the maximum UDP connections that can be opened per second for the specified address. This can be helpful in limiting network saturation due to download utilities, and P2P programs like BitTorrent. **UDP Limit:** Here, specify the maximum UDP connections that can be opened per second for the specified address. This can be helpful in limiting network saturation due to download utilities, and P2P programs like BitTorrent.
Line 91: Line 96:
 **Enable:** Checking this box enables Bandwidth Limiter. **Enable:** Checking this box enables Bandwidth Limiter.
  
-**Download Rate:** This is the minimum download speed the router will try to allocate to the client while when other clients on the list are also downloading. The total of this column for all clients on the list should not exceed the total “Download Bandwidth.” If the amount exceeds “Download Bandwidth”, the entered data will serve no purpose when all network clients are downloading data.+**Download rate:** This is the minimum download speed the router will try to allocate to the client while when other clients on the list are also downloading. The total of this column for all clients on the list should not exceed the total “Download Bandwidth.” If the amount exceeds “Download Bandwidth”, the entered data will serve no purpose when all network clients are downloading data.
  
-**Download Ceil:** Download Ceiling is the maximum download speed FreshTomato will allocate to the client when more bandwidth is available. Such conditions include when other network clients are off, or using less bandwidth than normal. The less bandwidth they use, the more becomes available to allocate to the specified clients. This is especially true for those clients categorized with higher priority settings.\\   \\ {{:bandwidth_limiter-default_class-for-unlisted-mac-ip_s-in-lan_br0_-2022.6.jpg?828x429}}+**Download ceil:** Download Ceiling is the maximum download speed FreshTomato will allocate to the client when more bandwidth is available. Such conditions include when other network clients are off, or using less bandwidth than normal. The less bandwidth they use, the more becomes available to allocate to the specified clients. This is especially true for those clients categorized with higher priority settings.\\  \\ \\ {{:bandwidth_limiter-default_class-for-unlisted-mac-ip_s-in-lan_br0_-2022.6.jpg?725}}
  
  \\  \\
  
-**Upload Rate: **This is the minimum upload speed the router will try to allocate to the client when other clients on the list are downloading. The total of this column for all clients on the list should not exceed the total “Upload Bandwidth.” If the amount exceeds “Upload Bandwidth”, the entered data will serve no purpose when all network clients are uploading data.+**Upload rate: **This is the minimum upload speed the router will try to allocate to the client when other clients on the list are downloading. The total of this column for all clients on the list should not exceed the total “Upload Bandwidth.” If the amount exceeds “Upload Bandwidth”, the entered data will serve no purpose when all network clients are uploading data.
  
-**Upload Ceiling: **Upload Ceiling is the maximum download speed FreshTomato will allocate to the client when more bandwidth is available. Such conditions include when other clients are off, or using less bandwidth than normal. The less bandwidth they use, the more becomes available to allocate to specified clients. This is especially true for those clients categorized with higher priority settings.+**Upload ceiling: **Upload Ceiling is the maximum download speed FreshTomato will allocate to the client when more bandwidth is available. Such conditions include when other clients are off, or using less bandwidth than normal. The less bandwidth they use, the more becomes available to allocate to specified clients. This is especially true for those clients categorized with higher priority settings.
  
-**Priority:** This sets the position of the bandwidth rule, relative to other clients, in the netfilter module. FreshTomato has five priority settingsThe higher the setting, the more preference will be given to the client's allocated bandwidth, relative to other clients. Clients with higher priority settings will also experience lower latency as a side effect of being earlier in netfilter's priority list.+**Priority:** This sets the position of the bandwidth rule, relative to other clients, in the netfilter module. 
 + 
 +FreshTomato has five priority settings
 + 
 +  * Highest 
 +  * High 
 +  * Normal 
 +  * Low 
 +  * Lowest 
 + 
 +The higher the setting, the more preference will be given to the client's allocated bandwidth, relative to other clients. Higher priority clients will also experience lower latency a side effect of being earlier in netfilter's priority list.
  
 **TCP Limit:** This is the maximum number of active TCP connections for this IP address. Limiting active TCP connections can help avoid network saturation due to download utilities or P2P programs, such as BitTorrent. **TCP Limit:** This is the maximum number of active TCP connections for this IP address. Limiting active TCP connections can help avoid network saturation due to download utilities or P2P programs, such as BitTorrent.
Line 116: Line 131:
 **Enable:** Checking this box enables Bandwidth Limiter. **Enable:** Checking this box enables Bandwidth Limiter.
  
-**Download Rate:** This is the minimum download speed the router will try to allocate to the client while when other clients on the list are also downloading. The total of this column for all clients on the list should not exceed the total “Download Bandwidth.” If the amount exceeds “Download Bandwidth”, the entered data will serve no purpose when all network clients are downloading data.+**Download rate:** This is the minimum download speed the router will try to allocate to the client while when other clients on the list are also downloading. The total of this column for all clients on the list should not exceed the total “Download Bandwidth.” If the amount exceeds “Download Bandwidth”, the entered data will serve no purpose when all network clients are downloading data.
  
-**Download Ceil:** Download Ceiling is the maximum download speed FreshTomato will allocate to the client when more bandwidth is availableSuch conditions include when other network clients are off, or using less bandwidth than normalThe less bandwidth they use, the more becomes available to allocate to the specified clients. This is especially true for those clients categorized with higher priority settings.\\+\\ 
 + 
 +{{::bandwidth_limiter-default_class-for-lan1_br1_-2022.6.jpg?665}}
  
  \\  \\
  
-**Upload Rate: **This is the minimum upload speed the router will try to allocate to the client when other clients on the list are downloading. The total of this column for all clients on the list should not exceed the total “Upload Bandwidth.” If the amount exceeds “Upload Bandwidth”, the entered data will serve no purpose when all network clients are uploading data.+**Download ceil:** Download Ceiling is the maximum download speed FreshTomato will allocate to the client when more bandwidth is available. Such conditions include when other network clients are off, or using less bandwidth than normal. The less bandwidth they use, the more becomes available to allocate to the specified clientsThis is especially true for those clients categorized with higher priority settings.
  
-**Upload Ceiling: **Upload Ceiling is the maximum download speed FreshTomato will allocate to the client when more bandwidth is available. Such conditions include when other clients are off, or using less bandwidth than normal. The less bandwidth they use, the more becomes available to allocate to specified clients. This is especially true for those clients categorized with higher priority settings.+**Upload rate: **This is the minimum upload speed the router will try to allocate to the client when other clients on the list are downloading. The total of this column for all clients on the list should not exceed the total “Upload Bandwidth.” If the amount exceeds “Upload Bandwidth”, the entered data will serve no purpose when all network clients are uploading data.
  
-**Priority:** This sets the position of the bandwidth rule, relative to other clients, in the netfilter module. FreshTomato has five priority settings. The higher the setting, the more preference will be given to the client's allocated bandwidth, relative to other clients. Clients with higher priority settings will also experience lower latency as a side effect of being earlier in netfilter's priority list.+**Upload ceiling: **Upload Ceiling is the maximum download speed FreshTomato will allocate to the client when more bandwidth is available. Such conditions include when other clients are offor using less bandwidth than normal. The less bandwidth they use, the more becomes available to allocate to specified clients. This is especially true for those clients categorized with higher priority settings.
  
-**TCP Limit:** This is the maximum number of active TCP connections for this IP address. Limiting active TCP connections can help avoid network saturation due to download utilities or P2P programssuch as BitTorrent.+**Priority:** This sets the position of the bandwidth rule, relative to other clientsin the netfilter module.
  
-**UDP Limit**Here, specify the maximum UDP connections per second that can be opened for the specified address. This can help limit network saturation due to download utilities or P2P programs like BitTorrent. +FreshTomato has five priority settings:
- +
-**Reference:** +
- +
- +
-==== Bandwidth Limiter Notes and Troubleshooting ==== +
- +
-**WAN Reboot: **Bandwidth Limiter is supposed to reboot the WAN interface only when Captive Portal is enabled. However, up to and including release 2020.8, Bandwidth Limiter will reboot the WAN interface, even if Captive Portal is disabled. This means the router will drop the Internet connection until the WAN interface is reinitialized and the the WAN connection is renegotiated. This will be fixed in the next release. +
-====   ====+
  
 +  * Highest
 +  * High
 +  * Normal
 +  * Low
 +  * Lowest
  
 +The higher the setting, the more preference will be given to the client's allocated bandwidth, relative to other clients. Higher priority clients will also experience lower latency - a side effect of being earlier in netfilter's priority list.
  
 +\\
  
  
Line 147: Line 163:
  
 **WAN Reboot: **Bandwidth Limiter should reboot the WAN interface only when Captive Portal is enabled. However, with releases 2020.8 and earlier, Bandwidth Limiter will reboot the WAN interface even if Captive Portal is disabled. The router will drop the Internet connection until the WAN interface is reinitialized and the WAN connection is renegotiated. This was fixed in release 2022.1. **WAN Reboot: **Bandwidth Limiter should reboot the WAN interface only when Captive Portal is enabled. However, with releases 2020.8 and earlier, Bandwidth Limiter will reboot the WAN interface even if Captive Portal is disabled. The router will drop the Internet connection until the WAN interface is reinitialized and the WAN connection is renegotiated. This was fixed in release 2022.1.
- 
-**Max Available Download** is not literal. You should actually enter a number calculated as follows: (the minimum speed of 3 download tests done at different times of the day, x 85%). QoS should be disabled when the speed tests are run, and there should be no other traffic. //Failing to do this will likely result in Bandwidth Limiter not working properly.// 
- 
-**Max Available Upload**: is not literal. You should actually enter a number calculated as follows: (the minimum speed of 3 upload tests done at different times of the day, x 85%). QoS should be disabled when the speed tests are run, and there should be no other traffic. //Failing to do will likely result in Bandwidth Limiter not working properly.// 
  
  
bwlimit.1683671751.txt.gz · Last modified: 2023/05/09 23:35 by hogwild