Difference between revisions of "Template:Networking rutx configuration examples vrrp configuration"

From Teltonika Networks Wiki
Line 32: Line 32:
 
===Routers===
 
===Routers===
 
----
 
----
 
+
This section provides the configuration parameters used for the MASTER and BACKUP routers. The table below is contains a summary of the settings used. As you can see the configurations are identical with the exception of the <i>Priority</i> parameter.
[[{{{name}}} VRRP|VRRP manual page]]
 
  
 
<table class="nd-othertables_2">
 
<table class="nd-othertables_2">
Line 40: Line 39:
 
       <th style="width: 250px">MASTER router</th>
 
       <th style="width: 250px">MASTER router</th>
 
       <th style="width: 250px">BACKUP router</th>
 
       <th style="width: 250px">BACKUP router</th>
    </tr>
 
    <tr>
 
      <td>IP address</td>
 
      <td>192.168.1.253</td>
 
      <td>192.168.1.253</td>
 
 
     </tr>
 
     </tr>
 
     <tr>
 
     <tr>
Line 55: Line 49:
 
         <td>255</td>
 
         <td>255</td>
 
         <td>100</td>
 
         <td>100</td>
 +
    </tr>
 +
    <tr>
 +
    <td>Interface</td>
 +
        <td>LAN</td>
 +
        <td>LAN</td>
 +
    </tr>
 +
    <tr>
 +
      <td>IP address</td>
 +
      <td>192.168.1.253</td>
 +
      <td>192.168.1.253</td>
 
     </tr>
 
     </tr>
 
</table>
 
</table>
 +
 +
The figure below is a screenshot of the VRRP configuration page for the MASTER router:
 +
 +
[[File:{{{file_config}}}]]
 +
----
 +
For detailed information on the purpose of each field, refer the [[{{{name}}} VRRP|VRRP manual page]].
  
 
===PC===
 
===PC===

Revision as of 20:51, 5 August 2019

Introduction

The 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 contains a guide on how to configure VRRP on {{{name}}} routers. To see the manual page for VRRP, [[{{{name}}} VRRP|click here]].

Configuration overview

You will need


Topology

[[File:{{{file_scheme_1}}}|750px]]


Explanation The routers and the PC are connected to the same network (192.168.1.0/24 via a switch. The purpose of the system is to provide an Internet connection for the PC via the the MASTER (RUT1) router and backup that connection via the BACKUP ((RUT2)) router in case the MASTER fails.

Below is alternate topology that does not contain a switch. The configuration is identical for both cases. However, while the topology above provides a connection backup in case of any type of failure, the topology below will only backup the connection if the MASTER router loses its connection but remains available inside the network (i.e., it will not backup the connection if the MASTER is, for example, powered off).


Alternate topology

[[File:{{{file_scheme_2}}}|600px]]

Configuration

Routers


This section provides the configuration parameters used for the MASTER and BACKUP routers. The table below is contains a summary of the settings used. As you can see the configurations are identical with the exception of the Priority parameter.

Field MASTER router BACKUP router
Virtual ID 1 1
Priority 255 100
Interface LAN LAN
IP address 192.168.1.253 192.168.1.253

The figure below is a screenshot of the VRRP configuration page for the MASTER router:

[[File:{{{file_config}}}]]


For detailed information on the purpose of each field, refer the [[{{{name}}} VRRP|VRRP manual page]].

PC


Testing and troubleshooting