Manual:Interface/VRRP: Difference between revisions

From MikroTik Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 35: Line 35:
</p>
</p>
<p><var>password</var> (<em>string</em>; Default: <b></b>) - password required for authentication. Can be ignored if authentication is not used.</p>
<p><var>password</var> (<em>string</em>; Default: <b></b>) - password required for authentication. Can be ignored if authentication is not used.</p>
 
<p><var>on-backup</var> (<em>string</em>; Default: <b></b>) - script to execute when the node switch to backup state.</p>
<p><var>on-master</var> (<em>string</em>; Default: <b></b>) - script to execute when the node switch to master state.</p>
<p>
There are two ways to add scripts to <var>on-backup</var> and <var>on-master</var>:<ul>
:<li>specify scripts name added to [[Script|script repository]]
:<li>write script directly by putting it in scopes '{ }'.
</ul>
</p>


</div>
</div>

Revision as of 14:05, 1 October 2008

VRRP official article

Sub-menu level: /interface vrrp


/interface vrrp

interface (string; Default: ) - interface name on which VRRP instance will be running run.

vrid (integer: 1..255; Default: 1) - Virtual Router identifier. Each Virtual router must have unique id number.

priority (integer: 1..254; Default: 100) - priority of VRRP node used in Master election algorithm. Higher number i higher priority. '255' is reserved to Router that owns IP and '0' is reserved for Master router to indicate that it is releasing responsibility.

interval (string; Default: 1) - VRRP update interval in seconds. Defines how often master sends advertisement packets.

preemption-mode (yes,no; Default: yes) - whether master node always has the priority. When set to 'no' backup node will not be elected to be a master until the current master fail even if the backup node has higher priority than the current master.

authentication (ah,none,simple; Default: none) - authentication method to use for VRRP advertisement packets.

Type Description
none should be used only in low security networks (e.g., two VRRP nodes on LAN).
ah IP Authentication Header. This algorithm provides strong protection against configuration errors, replay attacks, and and packet corruption/modification. Recommended when there is limited control over the administration of nodes on a LAN.
simple uses clear text password. Protects against accidental misconfiguration of routers on local network.

password (string; Default: ) - password required for authentication. Can be ignored if authentication is not used.

on-backup (string; Default: ) - script to execute when the node switch to backup state.

on-master (string; Default: ) - script to execute when the node switch to master state.

There are two ways to add scripts to on-backup and on-master:

  • specify scripts name added to script repository
  • write script directly by putting it in scopes '{ }'.