Template:Networking rutos manual vrrp: Difference between revisions
Template:Networking rutos manual vrrp (view source)
Revision as of 11:23, 8 January 2024
, 8 Januaryno edit summary
No edit summary |
No edit summary |
||
(28 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
===VRRP=== | |||
====Summary==== | |||
---- | |||
==Summary== | |||
<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. | <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. | ||
This page is an overview of the VRRP section of {{{name}}} devices. | This page is an overview of the VRRP section of {{{name}}} devices. | ||
{{#switch: {{{series}}} | |||
==VRRP Configuration== | |RUTX|RUTM = | ||
|#default = | |||
<u><b>Note:</b> VRRP is additional software that can be installed from the <b>System → [[{{{name}}} Package Manager|Package Manager]]</b> page.</u> | |||
}} | |||
====VRRP Configuration==== | |||
---- | |||
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. | 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. | ||
Line 21: | Line 20: | ||
</ol> | </ol> | ||
[[File: | [[File:Networking_rutos_manual_vrrp_add_new_configuration_v1.png|border|class=tlt-border]] | ||
After clicking the 'Edit' button you should be redirected to that VRRP instance's configuration page, which should look similar to this: | <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: | ||
[[File: | [[File:Networking_rutos_manual_vrrp_vrrp_configuration_settings_v3.png|border|class=tlt-border]] | ||
<table class="nd-mantable"> | <table class="nd-mantable"> | ||
Line 57: | Line 56: | ||
</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 69: | Line 73: | ||
</tr> | </tr> | ||
</table> | </table> | ||
The <b>Check | ====Check connection==== | ||
---- | |||
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. | |||
Refer to the figure and table below for information on the fields contained in the Check | Refer to the figure and table below for information on the fields contained in the Check connection section. | ||
[[File: | [[File:Networking_rutos_manual_vrrp_vrrp_configuration_check_conn_v2.png|border|class=tlt-border]] | ||
<table class="nd-mantable"> | <table class="nd-mantable"> | ||
Line 87: | Line 97: | ||
<td>Enable</td> | <td>Enable</td> | ||
<td>yes | no; default: <b>no</b></td> | <td>yes | no; default: <b>no</b></td> | ||
<td>Turns | <td>Turns connection checking on or off.</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<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 | <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 | <td>Time interval (in seconds) between two pings.</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>Ping timeout | <td>Ping timeout</td> | ||
<td>integer | <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 | <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 | <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 | <td>integer; default: <b>5</b></td> | ||
<td>How many times the router will retry sending ping requests before determining that the | <td>How many times the router will retry sending ping requests before determining that the connection has failed.</td> | ||
</tr> | </tr> | ||
</table> | </table> | ||