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 [2024/10/16 20:08] – [Default Class for LAN1 (br1)] -Condense, formatting hogwildbwlimit [2025/01/22 18:03] (current) – [Bandwidth Limiter - Notes and Troubleshooting] hogwild
Line 5: Line 5:
 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. 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. Also, Bandwidth Limiter may not work if you enable some IPv6 service types, such as 6in4. The latter use encrypted tunneling protocols, incompatible with Bandwidth Limiter.+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. 
 + 
 +Bandwidth Limiter may not work if you enable some IPv6 service types that use tunelling, such as 6in4. Their encryption is incompatible with Bandwidth Limiter.
  
  \\  \\
Line 19: Line 21:
  \\  \\
  
-Your menu may have different options, depending on your hardware.+Your menu may have different options, depending on the hardware.
  
-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.+An easy way to find the "guilty" clients 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 unsure whether the guilty client is active now, check its history using the Last 24 Hours, Weekly or Monthly menus.
  
  
 ===== Bandwidth Limiter for LAN (br0) ===== ===== Bandwidth Limiter for LAN (br0) =====
  
-**Enable Limiter: **Enables Bandwidth Limiter for the main LAN. Rules in each table can be enabled/disabled individually.+**Enable Limiter: **enables Bandwidth Limiter for the main LAN. Rules in each table can be enabled/disabled individually.
  
  \\  \\
  
-**Max Available Download:** The Maximum Available Download speed of the network's Internet connection. This is not literal.+**Max Available Download:** the maximum available download speed of the network's Internet connection.
  
-Calculate this number using these steps:+This is not literal. Calculate it using these steps: 
 + 
 + \\
  
-  * Run a minimum of 3 download speed tests, done at different times of day. \\ Record the results.+  * Run a minimum of 3 download speed tests, at different times of day. \\ Record the results.
   * Disable QoS when these speed tests are run.   * Disable QoS when these speed tests are run.
-  * Ensure no other significant traffic occurs while these tests are run.+  * Ensure there is no other significant traffic when these tests are run.
   * Take the average of these 3 numbers.   * Take the average of these 3 numbers.
   * Then take 85% of this number (multiply by 0.85).   * Then take 85% of this number (multiply by 0.85).
Line 42: Line 46:
  \\  \\
  
-The result is a realistic estimate of your download bandwidth. Using it makes it more likely Bandwidth Limiter works properly.+The result is a realistic download bandwidth estimate. Using it makes it more likely Bandwidth Limiter works properly.
  
  \\  \\
  
-**Max Available Upload:** Here enter the Maximum Available Upload speed of the network's Internet connection.+**Max Available Upload:** enter the Maximum Available Upload speed of the network's Internet connection.
  
-This isn't literal. Calculate this number using using these steps:+This isn't literal. Calculate it using using these steps: 
 + 
 + \\
  
   * Disable QoS or other QoS-related functions.    * Disable QoS or other QoS-related functions. 
-  * Run a minimum of 3 upload speed tests, done at different times of day. \\ Record the results. +  * Run a minimum of 3 upload speed tests, at different times of day. \\ Record the results. 
-  * Ensure no other significant traffic occurs while these tests are run.+  * Ensure there is no other significant traffic when these tests are run.
   * Calculate the average of these 3 numbers.   * Calculate the average of these 3 numbers.
   * Then take 85% of this number (multiply by 0.85).   * Then take 85% of this number (multiply by 0.85).
Line 58: Line 64:
  \\  \\
  
-The resulting number is a realistic estimate of your upload bandwidth. Using it makes Bandwidth Limiter more likely to work well.+The result is a realistic upload bandwidth estimate. Using it makes Bandwidth Limiter more likely to work well.
  
  \\ {{::bandwidth_limiter_for_lan_br0_-2024.1.png?833}}  \\ {{::bandwidth_limiter_for_lan_br0_-2024.1.png?833}}
Line 76: Line 82:
   * 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 to limit. \\ Use syntax: “starting address-last octet of ending address".   * A **Range** of client IP addresses to limit. \\ Use syntax: “starting address-last octet of ending address".
-    * For example, enter: "192.168.1.4-7" will cover the range: 192.168.1.4 - 192.168.1.7 . +    * For example, enter: "192.168.1.4-7" will 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 **MAC** address of ONE client device you wish to limit.
  
  \\  \\
Line 89: Line 95:
  \\  \\
  
-**DLRate:** The minimum download speed FreshTomato tries to allocate to the client when other listed clients are also downloading.+**DLRate:** the minimum download speed the router tries to allocate to client when other listed clients are downloading.
  
 The total of this column for all clients on the list should not surpass the total “Download Bandwidth.” If the amount exceeds “Download Bandwidth”, the entered data will serve no purpose when all network clients are downloading data. The total of this column for all clients on the list should not surpass the total “Download Bandwidth.” If the amount exceeds “Download Bandwidth”, the entered data will serve no purpose when all network clients are downloading data.
Line 95: Line 101:
  \\  \\
  
-**DLCeil:** The maximum download speed FreshTomato will allocate to the client when more bandwidth is available.+**DLCeil:** 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. 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.
Line 101: Line 107:
  \\  \\
  
-**Priority:** Sets the position of the bandwidth rule (relative to other clients) in the netfilter module.+**Priority:** 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 will also experience lower latency, but only as a side effect of being earlier than other clients in netfilter's priority list.+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. Higher priority clients will also experience lower latency, but only as a side effect of being earlier than other clients in netfilter's priority list.
  
  \\  \\
  
-**TCP Limit:** The maximum number of active connections for this address.+**TCP Limit:** the maximum number of active connections for this address.
  
-Limiting active TCP connections is particularly useful for avoiding network saturation due to download utilities, or p2p programs like BitTorrent.+Limiting active TCP connections is useful for avoiding network saturation due to download utilities, or p2p programs (BitTorrent).
  
  \\  \\
  
-**UDP Limit:** The maximum UDP connections that can be opened per second for the specified address.+**UDP Limit:** the maximum UDP connections that can be opened per second for the specified address.
  
 This can help limit network saturation due to download utilities, or P2P programs like BitTorrent. This can help limit network saturation due to download utilities, or P2P programs like BitTorrent.
Line 119: Line 125:
  \\  \\
  
-**Description**: An optional field in where you can add a label to the rule in that row (for reference purposes only).+**Description**: an optional field to add a label to the rule in that row (for reference only).
  
  
Line 132: Line 138:
  \\  \\
  
-**Enable:** Enables Bandwidth Limiter.+**Enable:** enables Bandwidth Limiter.
  
  \\  \\
  
-**Download rate:** The minimum download speed the router tries to allocate to a client when other clients on the list are also downloading.+**Download rate:** the minimum download speed the router allocates to a client when other listed clients are downloading.
  
 The column total for all clients on the list shouldn't exceed total “Download Bandwidth.” If the amount exceeds “Download Bandwidth”, data entered will serve no purpose when all network clients are downloading data. The column total for all clients on the list shouldn't exceed total “Download Bandwidth.” If the amount exceeds “Download Bandwidth”, data entered will serve no purpose when all network clients are downloading data.
Line 142: Line 148:
  \\  \\
  
-**Download ceil:** The maximum download speed FreshTomato will allocate to the client when more bandwidth is available.+**Download ceil:** the maximum download speed FreshTomato allocates to the client when more bandwidth is available.
  
-This includes 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-ips_in_lan0-2024.1.png?543}}\\ \\+This includes 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-ips_in_lan0-2024.1.png?543}}\\ \\
  
-**Upload rate: **The minimum upload speed the router tries to allocate to the client when other clients on the list are downloading.+**Upload rate: **the minimum upload speed the router tries to allocate to the client when other listed clients 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 data entered will serve no purpose when all network clients are uploading data. 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 data entered will serve no purpose when all network clients are uploading data.
Line 152: Line 158:
  \\  \\
  
-**Upload ceiling: **The maximum download speed FreshTomato will allocate to the client when more bandwidth is available.+**Upload ceiling: **the maximum download speed FreshTomato will allocate to the client when more bandwidth is available.
  
 This includes 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 clients categorized with a higher priority. This includes 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 clients categorized with a higher priority.
Line 158: Line 164:
  \\  \\
  
-**Priority:** Sets the position of the bandwidth rule, relative to other clients in the netfilter module.+**Priority:** sets the position of the bandwidth rule, relative to other clients in the netfilter module.
  
 FreshTomato has five priority settings: FreshTomato has five priority settings:
Line 174: Line 180:
  \\  \\
  
-**TCP Limit:** The maximum number of active TCP connections for this address.+**TCP Limit:** the maximum number of active TCP connections for this address.
  
 Limiting active TCP connections can help avoid network saturation due to download utilities or P2P programs, like BitTorrent. Limiting active TCP connections can help avoid network saturation due to download utilities or P2P programs, like BitTorrent.
Line 180: Line 186:
  \\  \\
  
-**UDP Limit: **The maximum UDP connections per second that can be opened for the specified address.+**UDP Limit: **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. This can help limit network saturation due to download utilities or P2P programs like BitTorrent.
Line 195: Line 201:
  \\  \\
  
-**Enable:** Checking this box enables Bandwidth Limiter.+**Enable:** checking this enables Bandwidth Limiter.
  
  \\  \\
  
-**Download rate:** The minimum download speed the router tries to allocate to a client when other listed clients are also downloading.+**Download rate:** the minimum download speed allocated to a client when other listed clients are downloading.
  
-The column total for all clients on the list should not exceed total “Download Bandwidth.” If the amount exceeds “Download Bandwidth”, the entered data will serve no purpose when all network clients are downloading data.+The column total for all clients on the list should not exceed total “Download Bandwidth.” If the amount exceeds “Download Bandwidth”, entered data will serve no purpose when all network clients are downloading data.
  
 \\ {{::bandwidth_limiter-default_class_for_lan_br1_-2024.1.png?402}} \\ {{::bandwidth_limiter-default_class_for_lan_br1_-2024.1.png?402}}
Line 207: Line 213:
  \\  \\
  
-**Download ceil:** The maximum download speed FreshTomato allocates to the client when more bandwidth is available.+**Download ceil:** the maximum download speed allocated 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 clients categorized with a higher priority. 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 clients categorized with a higher priority.
Line 213: Line 219:
  \\  \\
  
-**Upload rate: **The minimum upload speed the router tries to allocate to a client when other listed clients are downloading.+**Upload rate: **the minimum upload speed allocated to a client when other listed clients are downloading.
  
 The column total 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. The column total 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.
Line 219: Line 225:
  \\  \\
  
-**Upload ceiling: **Te maximum download speed FreshTomato allocates to the client when more bandwidth is available.+**Upload ceiling: **the maximum download speed allocated 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. 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.
Line 225: Line 231:
  \\  \\
  
-**Priority:** Sets the position of the bandwidth rule, relative to other clients, in the netfilter module.+**Priority:** sets the position of the bandwidth rule, relative to other clients, in the netfilter module.
  
  \\  \\
Line 244: Line 250:
  
  
-===== Bandwidth Limiter Notes =====+===== Bandwidth Limiter Notes and Troubleshooting =====
  
-  * When Bandwidth Limiter is enabled, QoS should be disabled, and vice versa. If both are enabled, they will conflict and neither will work.  + \\ 
-  Bandwidth Limiter won't work if you some IPv6 service types enabled, such as 6in4. These use tunneling protocolsincompatible with Bandwidth Limiter+ 
-  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 renegotiated. This was fixed in release 2022.1.+  - If Bandwidth Limiter is enabled, QoS should be disabled, and vice\\ versa. If both are enabled, they will conflict and neither will work. \\ \\  
 +  Bandwidth Limiter won't work with some IPv6 service types enabled, \\ such as //6in4//They use tunneling protocols that are incompatible with it\\ \\  
 +  Bandwidth Limiter should reboot the WAN interface only when \\ Captive Portal is enabled. However, with releases 2020.8 and earlier, \\ Bandwidth Limiter rebooted the WAN interface even when Captive Portal \\ was disabled. The router dropped the Internet connection until \\ the WAN interface was reinitialized and the WAN connection renegotiated. \\ This problem was fixed in release 2022.1. 
 + 
 + \\ 
 + 
 + \\
  
  
bwlimit.1729105686.txt.gz · Last modified: 2024/10/16 20:08 by hogwild