RUT900 VRRP: Difference between revisions

From Teltonika Networks Wiki
No edit summary
 
(9 intermediate revisions by 4 users not shown)
Line 1: Line 1:
__TOC__
{{Template: Networking_rutos_manual_vrrp
==Summary==
<!------------------------DEVICE----------------------->
 
| name  = RUT900
The '''Virtual Router Redundancy Protocol''' ('''VRRP''') is a computer networking protocol that provides for automatic assignment of available Internet Protocol (IP) routers to participating hosts. This increases the availability and reliability of routing paths via automatic default gateway selections on an IP sub-network. This chapter is an overview of the VRRP function in RUT routers.
| series = RUT9
 
}}
==VRRP Configuration==
 
[[Image:Services vrrp config.PNG]]
 
<table class="nd-mantable">
    <tr>
        <th>field name</th>
      <th>value</th>
      <th>description</th>
    </tr>
    <tr>
      <td>Enable</td>
      <td>yes {{!}} no; Default: '''no'''</td>
      <td>Toggles VRRP ON or OFF</td>
    </tr>
    <tr>
      <td>IP address</td>
      <td>ip; Default: '''192.168.1.253'''</td>
      <td>Virtual IP address for LAN's VRRP cluster</td>
    </tr>
    <tr>
    <td>Virtual ID</td>
        <td>integer [1..255]; Default: '''1'''</td>
        <td>Routers with same IDs will be grouped in the same VRRP cluster</td>
    </tr>
    <tr>
    <td>Priority</td>
        <td>integer [1..255]; Default: '''100'''</td>
        <td>The router with the highest priority value on the same VRRP cluster will act as a master</td>
    </tr>
</table>
 
You can find more information on configuring VRRP '''[[VRRP_configuration|here]]'''
 
===Check Internet Connection===
----
[[Image:Services vrrp check.PNG]]
 
{| class="wikitable"
|+
! style="width: 250px; border: 1px solid white; border-bottom: 2px solid #0054A6; background: white; color: #0054A6; text-align: left;" | FIELD NAME
! style="width: 250px; border: 1px solid white; border-bottom: 2px solid #0054A6; background: white; color: #0054A6; text-align: left;" | VALUE
! style="width: 579px; border: 1px solid white; border-bottom: 2px solid #0054A6; background: white; color: #0054A6; text-align: left;" | DESCRIPTION
|-
! style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | Enable
| style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | yes {{!}} no; Default: '''no'''
| style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | Toggles internet connection checking ON or OFF
|-
! style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | Ping IP address
| style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | ip; Default: " "
| style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | A host to send ICMP packets to
|-
! style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | Ping interval
| style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | integer; Default: '''10'''
| style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | Time interval between two Pings (in seconds
|-
! style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | Ping timeout (sec)
| style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | integer [1..9999]; Default: '''1'''
| style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | Response timeout value
|-
! style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | Ping packet size
| style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | integer [0..1000]; Default: " "
| style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | ICMP packet's size
|-
! style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | Ping retry count
| style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | integer [1..9999]; Default: " "
| style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | Failed Ping attempt count before determining that the connection is lost
|-
|}

Latest revision as of 12:18, 19 July 2021

VRRP

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 RUT900 devices. Note: VRRP is additional software that can be installed from the System → Package Manager page.

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.

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.
    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.

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.