This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
bwlimit [2024/10/16 19:43] – [Bandwidth Limiter] hogwild | bwlimit [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, | + | Confusingly, |
+ | |||
+ | 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 " | + | An easy way to find the " |
===== Bandwidth Limiter for LAN (br0) ===== | ===== Bandwidth Limiter for LAN (br0) ===== | ||
- | **Enable Limiter: **Enables | + | **Enable Limiter: **enables |
\\ | \\ | ||
- | **Max Available Download: | + | **Max Available Download: |
- | Calculate | + | This is not literal. |
- | | + | \\ |
+ | |||
+ | | ||
* Disable QoS when these speed tests are run. | * Disable QoS when these speed tests are run. | ||
- | * Ensure no other significant traffic | + | * Ensure |
* 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 resulting number | + | The result |
\\ | \\ | ||
- | **Max Available Upload: | + | **Max Available Upload:** enter the Maximum Available Upload speed of the network' |
- | Calculate | + | This isn't literal. |
- | | + | \\ |
- | * Disable QoS when these speed tests are run. | + | |
- | * Ensure no other significant traffic | + | * Disable QoS or other QoS-related functions. |
- | * Take the average of these 3 numbers. | + | |
+ | * Ensure | ||
+ | * Calculate | ||
* Then take 85% of this number (multiply by 0.85). | * Then take 85% of this number (multiply by 0.85). | ||
\\ | \\ | ||
- | The resulting number | + | The result |
\\ {{:: | \\ {{:: | ||
Line 66: | Line 72: | ||
**Enable | IP | IP Range | MAC:** | **Enable | IP | IP Range | MAC:** | ||
- | Checking | + | Checking the **Enable** checkbox enables the rule for that row in the table. |
+ | |||
+ | \\ | ||
At that point, you can enter enter either: | At that point, you can enter enter either: | ||
+ | |||
+ | \\ | ||
* 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. |
- | * For example, enter: 192.168.1.4-7 | + | * For example, enter: |
- | * The 12-character | + | * The **MAC** address of ONE client device you wish to limit. |
\\ | \\ | ||
- | This field is shared. | + | This field is shared. //You can only enter one address in a row at a time.// See NOTE below. |
- | There' | + | There' |
- | If you enter IP addresses, they should be specified using a static IP, or DHCP Reservation. If you don't, clients might be assigned a different IP address each time. Bandwidth Limiter won't not work with clients whose addresses changed from what you first configured. Entering MAC addresses instead will avoid that problem, since generally, they don't change. | + | IP addresses |
\\ | \\ | ||
- | **DLRate: | + | **DLRate: |
+ | |||
+ | The total of this column for all clients on the list should not surpass the total “Download Bandwidth.” If the amount exceeds “Download Bandwidth”, | ||
\\ | \\ | ||
- | **DLCeil: | + | **DLCeil: |
+ | |||
+ | 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: | + | **Priority: |
+ | |||
+ | FreshTomato has five priority settings. The higher the setting, the more preference will be given to that client' | ||
\\ | \\ | ||
- | **TCP Limit: | + | **TCP Limit: |
+ | |||
+ | Limiting active TCP connections is useful for avoiding network saturation due to download utilities, or p2p programs | ||
\\ | \\ | ||
- | **UDP Limit: | + | **UDP Limit: |
+ | |||
+ | This can help limit network saturation due to download utilities, | ||
\\ | \\ | ||
- | **Description**: | + | **Description**: |
===== Default Class for unlisted MAC / IP's in LAN0 (br0) ===== | ===== Default Class for unlisted MAC / IP's in LAN0 (br0) ===== | ||
- | Clients with a compatible static IP address could still gain network access. FreshTomato needs a mechanism to ensure clients not inlcuded | + | Clients with a compatible static IP address could still gain network access. FreshTomato needs a mechanism to ensure clients not included |
- | Note that the other sections below (for example, **Default Class for unlisted | + | It lets you set the default Class (bandwidth priority) |
- | **Enable:** Enables Bandwidth Limiter. | + | Note that the other sections below (such as **Default Class for unlisted MAC / IP's (LAN1 (br1)** with similar names are analogous to this. The same principles apply, except to a different (virtual) interface. |
\\ | \\ | ||
- | **Download rate:** 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 | + | **Enable:** enables |
\\ | \\ | ||
- | **Download | + | **Download |
- | **Upload rate: **The minimum upload speed the router tries to allocate to the client when other clients on the list are downloading. | + | The column |
\\ | \\ | ||
- | **Upload | + | **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.\\ | ||
+ | |||
+ | **Upload | ||
+ | |||
+ | The total of this column for all clients on the list should not exceed the total “Upload Bandwidth.” If the amount exceeds “Upload Bandwidth”, | ||
+ | |||
+ | \\ | ||
+ | |||
+ | **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. | ||
\\ | \\ | ||
- | **Priority: | + | **Priority: |
FreshTomato has five priority settings: | FreshTomato has five priority settings: | ||
Line 148: | Line 180: | ||
\\ | \\ | ||
- | **TCP Limit: | + | **TCP Limit: |
+ | |||
+ | Limiting active TCP connections can help avoid network saturation due to download utilities or P2P programs, like BitTorrent. | ||
\\ | \\ | ||
- | **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. | + | **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. | ||
===== Default Class for LAN1 (br1) ===== | ===== Default Class for LAN1 (br1) ===== | ||
- | As mentioned | + | As said above, settings |
- | Clients with a compatible static IP address | + | The same principles apply here as with the **Default Class for LAN (br0) **section, but to the LAN known as: LAN1/(br1). These settings will be explained again here for your convenience. |
+ | |||
+ | Clients with a compatible static IP could still gain network access. FreshTomato needs a way to ensure clients not inlcuded in the [[dhcp_reservation|DHCP Reservation]] list are also categorized for bandwidth limiting. The **Default Class for unlisted MAC / IP's in LAN (br1)** function does this. It lets you set the default Class (bandwidth priority) for MAC or IP addresses on the main LAN for clients not listed in the DHCP Reservation// | ||
\\ | \\ | ||
- | **Enable: | + | **Enable: |
\\ | \\ | ||
- | **Download rate: | + | **Download rate:** the minimum download speed allocated |
+ | |||
+ | The column | ||
\\ {{:: | \\ {{:: | ||
Line 173: | Line 213: | ||
\\ | \\ | ||
- | **Download ceil: | + | **Download ceil:** the maximum download speed allocated |
+ | |||
+ | 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. | ||
\\ | \\ | ||
- | **Upload rate: **This is the minimum upload speed the router will try to allocate to the client when other clients | + | **Upload rate: **the minimum upload speed allocated |
+ | |||
+ | The column | ||
\\ | \\ | ||
- | **Upload ceiling: **Upload Ceiling is the maximum download speed FreshTomato will allocate | + | **Upload ceiling: **the maximum download speed allocated |
+ | |||
+ | 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: | + | **Priority: |
- | FreshTomato has five priority settings: | + | \\ |
+ | |||
+ | FreshTomato has 5 priority settings: | ||
* Highest | * Highest | ||
Line 195: | Line 243: | ||
* Lowest | * Lowest | ||
- | The higher the setting, the more preference | + | \\ |
+ | |||
+ | The higher the setting, the more preference | ||
\\ | \\ | ||
- | ===== 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. | + | \\ |
- | | + | |
- | | + | - If Bandwidth Limiter is enabled, QoS should be disabled, and vice\\ versa. If both are enabled, they will conflict and neither will work. \\ \\ |
+ | | ||
+ | | ||
+ | |||
+ | \\ | ||
+ | |||
+ | \\ | ||