Jump to content

Template:Networking rutos manual traffic shaping: Difference between revisions

no edit summary
No edit summary
No edit summary
(15 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Template: Networking_rutos_manual_fw_disclosure
{{Template: Networking_device_manual_fw_disclosure
| fw_version = {{{series}}}{{#ifeq:{{{name}}}|RUT241|M|}}_R_00.07.01
| series = {{{series}}}
| series    = {{{series}}}
| name  = {{{name}}}
| fw_version ={{Template: Networking_device_manual_latest_fw
| series = {{{series}}}
| 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 RUT9XX_R_00.06.08.5 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 |
{{#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>|}}
{{#switch: {{{name}}}
__TOC__
  | RUT241 =
  | #default =
<br><i><b>Note</b>: <b>[[{{{name}}} QoS (legacy WebUI)|click here]]</b> for the old style WebUI (FW version RUT2XX_R_00.01.14.4 and earlier) user manual page.</i>}}
|}}
==Summary==
==Summary==


Line 25: Line 25:


{{#switch: {{{series}}}
{{#switch: {{{series}}}
   | RUTX =
   | 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>
<u><b>Note:</b> SQM is additional software that can be installed from the <b>System → [[{{{name}}} Package Manager|Package Manager]]</b> page.</u>
 
Note:</b> SQM is additional software that can be installed from the <b>Services → [[{{{name}}} Package Manager|Package Manager]]</b> page.</u>
}}
}}


Line 48: Line 46:
Refer to the sections below for information on editing SQM instances.
Refer to the sections below for information on editing SQM instances.


===Basic Settings===
===General Setup===
----
----
The <b>Basic Settings</b> section is used to set download and upload speed limits for a selected network interface.
The <b>General Setup</b> section is used to set download and upload speed limits for a selected network interface.


[[File:Networking_rutos_manual_traffic_shaping_sqm_basic_settings.png|border|class=tlt-border]]
[[File:Networking rutos manual traffic shaping sqm general setup73.png|border|class=tlt-border]]


<table class="nd-mantable">
<table class="nd-mantable">
Line 68: 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>
       <td>Download speed (kbit/s)</td>
       <td>Download speed (kbit/s)</td>
       <td>integer [0..9999999999999999]; default: <b>none</b></td>
       <td>integer [0..2147483647]; default: <b>none</b></td>
       <td>Limits the download speed (ingress) of the selected interface to the value specified in this field.</td>
       <td>Limits the download speed (ingress) of the selected interface to the value specified in this field.</td>
     </tr>
     </tr>
     <tr>
     <tr>
       <td>Upload speed (kbit/s)</td>
       <td>Upload speed (kbit/s)</td>
       <td>integer [0..9999999999999999]; default: <b>none</b></td>
       <td>integer [0..2147483647]; default: <b>none</b></td>
       <td>Limits the upload speed (egress) of the selected interface to the value specified in this field.</td>
       <td>Limits the upload speed (egress) of the selected interface to the value specified in this field.</td>
     </tr>
     </tr>
Line 86: Line 84:
The <b>Advanced Settings</b> section describes the internal logic of the SQM configuration.
The <b>Advanced Settings</b> section describes the internal logic of the SQM configuration.


[[File:Networking_rutos_manual_traffic_shaping_sqm_advanced_settings.png|border|class=tlt-border]]
[[File:Networking rutos manual traffic shaping sqm advanced settings73.png|border|class=tlt-border]]


<table class="nd-mantable">
<table class="nd-mantable">
Line 143: 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 237: Line 235:
This chapter of the user manual provides an overview of the QoS page in {{{name}}} devices.  
This chapter of the user manual provides an overview of the QoS page in {{{name}}} devices.  


<u><b>Note:</b> QoS is additional software that can be installed from the <b>Services → [[{{{name}}} Package Manager|Package Manager]]</b> page.</u>
{{#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.2FNAT_Offloading|Routing/NAT Offloading]]</b> settings.</u>
  | #default =
}}
<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 284: Line 286:
(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 rules.png|border|class=tlt-border]]
[[File:Networking rutos manual traffic shaping qos classification rules73.png|border|class=tlt-border]]


<table class="nd-mantable">
<table class="nd-mantable">
Line 299: Line 301:
     <tr>
     <tr>
       <td>Source host</td>
       <td>Source host</td>
       <td>All | IP; default: <b>All</b></td>
       <td>All | IP | -- Custom --; default: <b>All</b></td>
       <td>Host(s) from which data will be transmitted.</td>
       <td>Host(s) from which data will be transmitted.</td>
     </tr>
     </tr>
     <tr>
     <tr>
     <td>Destination host</td>
     <td>Destination host</td>
         <td>All | IP; default: <b>All</b></td>
         <td>All | IP | -- Custom --; default: <b>All</b></td>
         <td>Host(s) to which data will be transmitted.</td>
         <td>Host(s) to which data will be transmitted.</td>
     </tr>
     </tr>
     <tr>
     <tr>
     <td>Protocol</td>
     <td>Protocol</td>
         <td>All | TCP | UDP | ICMP | -- custom --; default: <b>All</b></td>
         <td>All | TCP | UDP | ICMP | -- Custom --; default: <b>All</b></td>
         <td>Data transmission protocol to match the rule.</td>
         <td>Data transmission protocol to match the rule.</td>
     </tr>
     </tr>
     <tr>
     <tr>
     <td>Ports</td>
     <td>Ports</td>
         <td>All | integer [0..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>
Line 320: Line 322:




[[Category:{{{name}}} Services section]]
[[Category:{{{name}}} Network section]]