Jump to content

Template:Networking rutos manual traffic shaping: Difference between revisions

no edit summary
No edit summary
No edit summary
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Template: Networking_rutos_manual_fw_disclosure
{{Template: Networking_device_manual_fw_disclosure
| fw_version ={{Template: Networking_rutos_manual_latest_fw
| series = {{{series}}}
| name  = {{{name}}}
| fw_version ={{Template: Networking_device_manual_latest_fw
  | series = {{{series}}}
  | series = {{{series}}}
  | name  = {{{name}}}
  | name  = {{{name}}}
  }}
  }}
}}
}}
{{#ifeq: {{{series}}} | RUT9 |<br><i><b>Note</b>: <b>[[{{{name}}} QoS (legacy WebUI)|click here]]</b> for the old style WebUI (FW version {{Template: Networking_rutos_manual_latest_fw | series = RUT9XX}} and earlier) user manual page.</i>|}}
{{#ifeq: {{{series}}} | RUT9 |<br><i><b>Note</b>: <b>[[{{{name}}} QoS (legacy WebUI)|click here]]</b> for the old style WebUI (FW version {{Template: Networking_device_manual_latest_fw | series = RUT9XX}} and earlier) user manual page.</i>|}}
{{#ifeq: {{{series}}} | RUT2 |<br><i><b>Note</b>: <b>[[{{{name}}} QoS (legacy WebUI)|click here]]</b> for the old style WebUI (FW version {{Template: Networking_rutos_manual_latest_fw | series = RUT2XX}} and earlier) user manual page.</i>|}}
{{#ifeq: {{{series}}} | RUT2 |<br><i><b>Note</b>: <b>[[{{{name}}} QoS (legacy WebUI)|click here]]</b> for the old style WebUI (FW version {{Template: Networking_device_manual_latest_fw | series = RUT2XX}} and earlier) user manual page.</i>|}}
__TOC__
__TOC__
==Summary==
==Summary==
Line 23: Line 25:


{{#switch: {{{series}}}
{{#switch: {{{series}}}
   | RUTX | RUTM = <u><b>Note:</b> For SQM to properly work "Software flow offloading" needs to be turned off on this device. This can be done in <b>Network → [[{{{name}}} Firewall|Routing/NAT Offloading]]</b> settings.</u>
   | RUTX | RUTM = <u><b>Note:</b> For SQM to properly work "Software flow offloading" needs to be turned off on this device. This can be done in <b>Network → [[{{{name}}} Firewall#Routing.2FNAT_Offloading|Routing/NAT Offloading]]</b> settings.</u>
   | #default =  
   | #default =  
<u><b>Note:</b> SQM is additional software that can be installed from the <b>Services → [[{{{name}}} Package Manager|Package Manager]]</b> page.</u>
<u><b>Note:</b> SQM is additional software that can be installed from the <b>System → [[{{{name}}} Package Manager|Package Manager]]</b> page.</u>
}}
}}


Line 64: Line 66:
       <td>Interface name</td>
       <td>Interface name</td>
       <td>network interface; default: <b>br-lan (lan)</b></td>
       <td>network interface; default: <b>br-lan (lan)</b></td>
       <td>Selects to which interface this SQM configuration will apply. <b>Additional note:</b> consider reading the [[{{{name}}}__QoS#Additional_notes|Additional notes]] section before limiting speeds on selected interfaces.</td>
       <td>Selects to which interface this SQM configuration will apply. <b>Additional note:</b> consider reading the [[{{{name}}}_Traffic_Shaping#Additional_notes|Additional notes]] section before limiting speeds on selected interfaces.</td>
     </tr>
     </tr>
     <tr>
     <tr>
Line 139: Line 141:


<ul>
<ul>
     <li>Network → [[{{{name}}} Interfaces|Interfaces]] (to create an additional network interface)</li>
     <li>Network → [[{{{name}}} LAN|Interfaces]] (to create an additional network interface)</li>
     <li>Network → [[{{{name}}} Wireless|Wireless]] (to attach WiFi interfaces to Ethernet interfaces)</li>
     <li>Network → [[{{{name}}} Wireless|Wireless]] (to attach WiFi interfaces to Ethernet interfaces)</li>
</ul>
</ul>
Line 234: Line 236:


{{#switch: {{{series}}}
{{#switch: {{{series}}}
   | RUTX | RUTM = <u><b>Note:</b> For QoS to properly work "Software flow offloading" needs to be turned off on this device. This can be done in <b>Network → [[{{{name}}} Firewall|Routing/NAT Offloading]]</b> settings.</u>
   | RUTX | RUTM = <u><b>Note:</b> For QoS to properly work "Software flow offloading" needs to be turned off on this device. This can be done in <b>Network → [[{{{name}}} Firewall#Routing.2FNAT_Offloading|Routing/NAT Offloading]]</b> settings.</u>
   | #default =
   | #default =
}}
}}
<u><b>Note:</b> QoS is additional software that can be installed from the <b>Services → [[{{{name}}} Package Manager|Package Manager]]</b> page.</u>
<u><b>Note:</b> QoS is additional software that can be installed from the <b>System → [[{{{name}}} Package Manager|Package Manager]]</b> page.</u>


===Interfaces===
===Interfaces===
Line 243: Line 245:
The <b>Interfaces</b> section is used to set up download and upload speed limits on the device's network interfaces.  
The <b>Interfaces</b> section is used to set up download and upload speed limits on the device's network interfaces.  


[[File:Networking_rutos_manual_traffic_shaping_qos_interfaces.png|border|class=tlt-border]]
[[File:Networking_rutos_manual_traffic_shaping_qos_interfaces_v2.png|border|class=tlt-border]]


<table class="nd-othertables">
<table class="nd-othertables">
Line 250: Line 252:
       <th style="width: 250px">Value</th>
       <th style="width: 250px">Value</th>
       <th style="width: 579px">Description</th>
       <th style="width: 579px">Description</th>
    </tr>
    <tr>
    <td>Interface name</td>
        <td>wan | lan{{#switch:{{{mobile}}}|1| {{!}} mobile (interface)|}}; default: <b>lan</b></td>
        <td>Decreases upload and download ratio to prevent link saturation.</td>
     </tr>
     </tr>
     <tr>
     <tr>
Line 258: Line 265:
     <tr>
     <tr>
       <td>Download speed (kbit/s)</td>
       <td>Download speed (kbit/s)</td>
       <td>integer; default: <b>none</b></td>
       <td>integer; default: <b>1024</b></td>
       <td>Maximum download speed for the specified interface.</td>
       <td>Maximum download speed for the specified interface.</td>
     </tr>
     </tr>
     <tr>
     <tr>
     <td>Upload speed (kbit/s)</td>
     <td>Upload speed (kbit/s)</td>
         <td>integer; default: <b>none</b></td>
         <td>integer; default: <b>128</b></td>
         <td>Maximum upload speed for the specified interface.</td>
         <td>Maximum upload speed for the specified interface.</td>
     </tr>
     </tr>
Line 270: Line 277:
         <td>yes | no; default: <b>no</b></td>
         <td>yes | no; default: <b>no</b></td>
         <td>Turns the rule on or off.</td>
         <td>Turns the rule on or off.</td>
    </tr>
    <tr>
    <td>Actions</td>
        <td>- (interactive button); default: <b>Delete</b></td>
        <td>Deletes instance.</td>
     </tr>
     </tr>
</table>
</table>
Line 284: Line 296:
(for example, video streaming, SSH) at a higher priority and less important traffic (FTP, HTTP) at a lower priority.
(for example, video streaming, SSH) at a higher priority and less important traffic (FTP, HTTP) at a lower priority.


[[File:Networking rutos manual traffic shaping qos classification rules73.png|border|class=tlt-border]]
[[File:Networking rutos manual traffic shaping qos classification rules73_v1.png|border|class=tlt-border]]


<table class="nd-mantable">
<table class="nd-mantable">
Line 316: Line 328:
         <td>All | integer [1..65535]; default: <b>none</b></td>
         <td>All | integer [1..65535]; default: <b>none</b></td>
         <td>Port number(s) to match the rule. You can enter multiple ports by separating them by commas (e.g., <i>22,53,80</i>).</td>
         <td>Port number(s) to match the rule. You can enter multiple ports by separating them by commas (e.g., <i>22,53,80</i>).</td>
    </tr>
    <tr>
    <td>Actions</td>
        <td>- (interactive button); default: <b>Delete</b></td>
        <td>Deletes instance.</td>
     </tr>
     </tr>
</table>
</table>