VRRP example: Difference between revisions
PauliusRug (talk | contribs) No edit summary |
No edit summary |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<p style="color:red">The information on this page is updated in accordance with the [https://wiki.teltonika-networks.com/view/FW_%26_SDK_Downloads'''00.07.08'''] firmware version.</p> | |||
__TOC__ | __TOC__ | ||
==Summary== | ==Summary== | ||
Line 16: | Line 18: | ||
</ol> | </ol> | ||
[[File: | [[File:VRRP_1_7_8.png|border|class=tlt-border|1000px| center]] | ||
<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: | <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:VRRP_2_7_8_1.png|border|class=tlt-border|1000px| center]] | ||
<table class="nd-mantable"> | <table class="nd-mantable"> | ||
Line 52: | Line 54: | ||
</ul> | </ul> | ||
</td> | </td> | ||
</tr> | |||
<tr> | |||
<td>Advertisement interval</td> | |||
<td>integer [1..255]; default: <b>1</b></td> | |||
<td>Time interval in seconds between advertisements.</td> | |||
</tr> | </tr> | ||
<tr> | <tr> | ||
Line 77: | Line 84: | ||
Refer to the figure and table below for information on the fields contained in the Check connection section. | Refer to the figure and table below for information on the fields contained in the Check connection section. | ||
[[File: | [[File:VRRP_3_7_8_1.png|border|class=tlt-border|1000px|center]] | ||
<table class="nd-mantable"> | <table class="nd-mantable"> | ||
Line 121: | Line 128: | ||
</tr> | </tr> | ||
</table> | </table> | ||
[[Category: | [[Category:Connection backup]] |
Latest revision as of 12:02, 5 August 2024
Main Page > General Information > Configuration Examples > Connection backup > VRRP exampleThe information on this page is updated in accordance with the 00.07.08 firmware version.
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.
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.
- Enter a custom name for the new VRRP configuration in the 'Name' field.
- Click the 'Add' button.
- Click the 'Edit' button next to the newly created instance.
After clicking the 'Edit' button you should be redirected to that VRRP instance's configuration page, which should look similar to this:
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.
|
Advertisement interval | integer [1..255]; default: 1 | Time interval in seconds between advertisements. |
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.
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. |