Difference between revisions of "Template:Networking rutos manual vrrp"

From Teltonika Networks Wiki
(25 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 
<!-- Template uses {{{name}}}, {{{series}}} -->
 
<!-- Template uses {{{name}}}, {{{series}}} -->
{{Template:Networking_rutos_manual_fw_disclosure
+
{{Template: Networking_rutos_manual_fw_disclosure
| fw_version = {{{series}}}_R_00.02.03.1
+
| fw_version ={{Template: Networking_rutos_manual_latest_fw
| series = {{{series}}}
+
| series = {{{series}}}
 +
| name  = {{{name}}}
 +
}}
 
}}
 
}}
 
+
{{#ifeq: {{{series}}} | RUT9 |<br><i><b>Note</b>: <b>[[{{{name}}} VRRP (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}}} | RUT2 |<br><i><b>Note</b>: <b>[[{{{name}}} VRRP (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>|}}
 
__TOC__
 
__TOC__
 
 
==Summary==
 
==Summary==
  
<b>Virtual Router Redundancy Protocol</b> (<b>VRRP</b>) is a computer networking protocol used for  
+
<b>Virtual Router Redundancy Protocol</b> (<b>VRRP</b>) is a computer networking protocol used for automatic default gateway selection for clients on a LAN network in case the main router (Master) becomes unavailable. Another VRRP router (Backup) then assumes the role of Master; thus backing up the connection.  
automatic default gateway selection for clients on a LAN network in case the main router (Master)  
 
becomes unavailable. Another VRRP router (Backup) then assumes the role of Master; thus backing up the connection.  
 
  
This page is an overview of the VRRP section of {{{name}}} routers.
+
This page is an overview of the VRRP section of {{{name}}} devices.
 +
{{#switch: {{{series}}}
 +
|RUTX|RUTM =
 +
|#default =
 +
<u><b>
  
==VRRP==
+
Note:</b> VRRP is additional software that can be installed from the <b>Services → [[{{{name}}} Package Manager|Package Manager]]</b> page.</u>
 +
|#default=}}
 +
==VRRP Configuration==
  
To begin configuring VRRP you must first add a new <b>VRRP configuration</b> instance.  
+
The <b>VRRP Configuration</b> section lists VRRP instances currently existing on the device. By default the list is empty thus, you must first create at least one instance in order to begin configuring VRRP.
You can do that by entering a custom name for the configuration and clicking the 'Add' button.
 
A new VRRP configuration instance will appear in the "VRRP Configurations" list.
 
  
[[File:Networking_rutx_manual_vrrp_vrrp_configurations_v1.png|border|class=tlt-border]]
+
<ol>
 +
  <li>Enter a custom name for the new VRRP configuration in the 'Name' field.</li>
 +
  <li>Click the 'Add' button.</li>
 +
  <li>Click the 'Edit' button next to the newly created instance.</li>
 +
</ol>
  
===VRRP configuration===
+
[[File:Networking_rutos_manual_vrrp_add_new_configuration.png|border|class=tlt-border]]
----
 
To begin configuring a VRRP instance, click the button that looks like a pencil next to it.
 
  
The <b>VRRP LAN configuration settings</b> section is used to set the main settings of VRRP.
+
<b id="link"></b>After clicking the 'Edit' button you should be redirected to that VRRP instance's configuration page, which should look similar to this:
Refer to the figure and table below for information on the fields contained in that section.
 
  
[[File:Networking_rutx_manual_vrrp_vrrp_configuration_settings_v1.png]]
+
[[File:Networking_rutos_manual_vrrp_vrrp_configuration_settings_v2.png|border|class=tlt-border]]
  
 
<table class="nd-mantable">
 
<table class="nd-mantable">
Line 62: Line 67:
 
             </ul>
 
             </ul>
 
         </td>
 
         </td>
 +
    </tr>
 +
    <tr>
 +
    <td>Advertisement interval</td>
 +
        <td>integer [1..255]; default: <b>100</b></td>
 +
        <td>Time interval (in seconds) between router advertisements on the VRRP network.</td>
 
     </tr>
 
     </tr>
 
     <tr>
 
     <tr>
Line 70: Line 80:
 
     <tr>
 
     <tr>
 
       <td>IP address</td>
 
       <td>IP address</td>
       <td>ip; default: <b>192.168.1.253</b></td>
+
       <td>ip; default: <b>none</b></td>
 
       <td>Virtual IP address for the router's VRRP cluster.</td>
 
       <td>Virtual IP address for the router's VRRP cluster.</td>
 
     </tr>
 
     </tr>
 
</table>
 
</table>
<!--
 
==Check Internet connection==
 
  
The <b>Check Internet connection</b> section is used to set the parameters that define how the router will determine whether the Internet connection is still available or not. This is done by periodically sending ICMP packets to a defined host and awaiting responses. If no response is received after a defined period of time, the connection is determined to be down, and thus the role of Master is assumed by another router in the network.
+
==Check connection==
  
Refer to the figure and table below for information on the fields contained in the Check Internet connection section.
+
The <b>Check connection</b> section is used to set the parameters that
 +
define how the router will determine whether the connection is still
 +
available or not. This is done by periodically sending ICMP packets from interface,
 +
configured in [[#link|VRRP Configuration]] section, to a defined
 +
host and awaiting responses. If no response is received after a defined period of
 +
time, the connection is determined to be down, and thus the role of Master is
 +
assumed by another router in the network.  
  
[[File:{{{file_connection}}}]]
+
Refer to the figure and table below for information on the fields contained in the Check connection section.
 +
 
 +
[[File:Networking_rutos_manual_vrrp_vrrp_configuration_check_conn_v2.png|border|class=tlt-border]]
  
 
<table class="nd-mantable">
 
<table class="nd-mantable">
Line 92: Line 108:
 
       <td>Enable</td>
 
       <td>Enable</td>
 
       <td>yes | no; default: <b>no</b></td>
 
       <td>yes | no; default: <b>no</b></td>
       <td>Turns Internet connection checking on or off.</td>
+
       <td>Turns connection checking on or off.</td>
 
     </tr>
 
     </tr>
 
     <tr>
 
     <tr>
       <td>Ping IP address</td>
+
       <td>IP address or hostname</td>
 
       <td>ip | host; default: <b>none</b></td>
 
       <td>ip | host; default: <b>none</b></td>
       <td>IP address or hostname to which the router will send ICMP packets. This is used to determine whether the Internet connection is still available or not. Therefore, it is recommended that you enter the address of remote host that is usually available (for example, <i>8.8.8.8</i>).</td>
+
       <td>IP address or hostname to which the router will send ICMP packets. This is used to determine whether the connection is still available or not. ICMP packets will be send from interface, configured in [[#link|VRRP Configuration]] section, therefore make sure you enter reachable IP address or hostname.</td>
 
     </tr>
 
     </tr>
 
     <tr>
 
     <tr>
 
     <td>Ping interval</td>
 
     <td>Ping interval</td>
 
         <td>integer; default: <b>10</b></td>
 
         <td>integer; default: <b>10</b></td>
         <td>Time interval (in seconds) between two Pings </td>
+
         <td>Time interval (in seconds) between two pings.</td>
 
     </tr>
 
     </tr>
 
     <tr>
 
     <tr>
     <td>Ping timeout (sec)</td>
+
     <td>Ping timeout</td>
         <td>integer [1..9999]; default: <b>1</b></td>
+
         <td>integer; default: <b>1</b></td>
         <td>The maximum amount of time the router will wait for a response to a ping request. If it does not receive a response for the amount of time defined in this field, the ping request will be considered to have failed.</td>
+
         <td>The maximum amount of time in seconds the router will wait for a response to a ping request. If it does not receive a response within the amount of time defined in this field, the ping request will be considered to have failed.</td>
 
     </tr>
 
     </tr>
 
     <tr>
 
     <tr>
 
     <td>Ping packet size</td>
 
     <td>Ping packet size</td>
         <td>integer [0..1000]; default: <b>none</b></td>
+
         <td>integer; default: <b>56</b></td>
 
         <td>The size (in bytes) of sent ICMP packets.</td>
 
         <td>The size (in bytes) of sent ICMP packets.</td>
 +
    </tr>
 +
    <tr>
 +
    <td>Ping attempts</td>
 +
        <td>integer; default: <b>4</b></td>
 +
        <td>Number of ping packets sent.</td>
 
     </tr>
 
     </tr>
 
     <tr>
 
     <tr>
 
     <td>Ping retry count</td>
 
     <td>Ping retry count</td>
         <td>integer [1..9999]; default: <b>none</b></td>
+
         <td>integer; default: <b>5</b></td>
         <td>How many times the router will retry sending ping requests before determining that the Internet connection has failed.</td>
+
         <td>How many times the router will retry sending ping requests before determining that the connection has failed.</td>
 
     </tr>
 
     </tr>
 
</table>
 
</table>
-->
+
 
 
==See also==
 
==See also==
  
 
<ul>
 
<ul>
     <li>[[VRRP_configuration|VRRP configuration example]]</li>
+
     <li>{{#switch:{{{name}}}
 +
|RUTM08 =[[RUTX08_VRRP_configuration|VRRP configuration example]]
 +
|RUTM09 =[[RUTX09_VRRP_configuration|VRRP configuration example]]
 +
|RUTM10 =[[RUTX10_VRRP_configuration|VRRP configuration example]]
 +
|RUTM11 =[[RUTX11_VRRP_configuration|VRRP configuration example]]
 +
|RUTM12 =[[RUTX12_VRRP_configuration|VRRP configuration example]]
 +
|#default =[[{{{name}}}_VRRP_configuration|VRRP configuration example]]}}</li>
 
</ul>
 
</ul>
  
 
[[Category:{{{name}}} Services section]]
 
[[Category:{{{name}}} Services section]]

Revision as of 14:52, 14 March 2023

Template:Networking rutos manual fw disclosure


Summary

Virtual Router Redundancy Protocol (VRRP) is a computer networking protocol used for automatic default gateway selection for clients on a LAN network in case the main router (Master) becomes unavailable. Another VRRP router (Backup) then assumes the role of Master; thus backing up the connection.

This page is an overview of the VRRP section of {{{name}}} devices.

VRRP Configuration

The VRRP Configuration section lists VRRP instances currently existing on the device. By default the list is empty thus, you must first create at least one instance in order to begin configuring VRRP.

  1. Enter a custom name for the new VRRP configuration in the 'Name' field.
  2. Click the 'Add' button.
  3. Click the 'Edit' button next to the newly created instance.

Networking rutos manual vrrp add new configuration.png

After clicking the 'Edit' button you should be redirected to that VRRP instance's configuration page, which should look similar to this:

Networking rutos manual vrrp vrrp configuration settings v2.png

Field Value Description
Enable off | on; default: off Turns VRRP on or off.
Virtualize MAC off | on; default: off Turns the possibility to use virtual MAC addresses on or off.
Virtual ID integer [1..255]; default: 1 The Virtual Router Identifier (VRID) is a field in the VRRP packet IP header used to identify the virtual router in the VRRP cluster. Routers with identical IDs will be grouped in the same VRRP cluster.
Priority integer [1..255]; default: 100 VRRP priority of the virtual router. Higher values equal higher priority. The router with the highest priority is considered to be the Master router while other routers are Backup routers.
    sends periodic VRRP Advertisement messages
  • Master router - the first hop router in the VRRP cluster (i.e., the router that provides connectivity to LAN devices by default).
  • Backup router - assumes the role of Master router in case it becomes unavailable. If there multiple Backup routers in the VRRP cluster, the one with the highest priority will assume the role of Master.
Advertisement interval integer [1..255]; default: 100 Time interval (in seconds) between router advertisements on the VRRP network.
Interface network interface; default: LAN Selects which interface VRRP will operate on.
IP address ip; default: none Virtual IP address for the router's VRRP cluster.

Check connection

The Check connection section is used to set the parameters that define how the router will determine whether the connection is still available or not. This is done by periodically sending ICMP packets from interface, configured in VRRP Configuration section, to a defined host and awaiting responses. If no response is received after a defined period of time, the connection is determined to be down, and thus the role of Master is assumed by another router in the network.

Refer to the figure and table below for information on the fields contained in the Check connection section.

Networking rutos manual vrrp vrrp configuration check conn v2.png

Field Value Description
Enable yes | no; default: no Turns connection checking on or off.
IP address or hostname ip | host; default: none IP address or hostname to which the router will send ICMP packets. This is used to determine whether the connection is still available or not. ICMP packets will be send from interface, configured in VRRP Configuration section, therefore make sure you enter reachable IP address or hostname.
Ping interval integer; default: 10 Time interval (in seconds) between two pings.
Ping timeout integer; default: 1 The maximum amount of time in seconds the router will wait for a response to a ping request. If it does not receive a response within the amount of time defined in this field, the ping request will be considered to have failed.
Ping packet size integer; default: 56 The size (in bytes) of sent ICMP packets.
Ping attempts integer; default: 4 Number of ping packets sent.
Ping retry count integer; default: 5 How many times the router will retry sending ping requests before determining that the connection has failed.

See also

  • [[{{{name}}}_VRRP_configuration|VRRP configuration example]]

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