EasyManuals Logo

MikroTik RouterOS v2.9 User Manual

MikroTik RouterOS v2.9
709 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #705 background imageLoading...
Page #705 background image
the master of the given cluster sends VRRP advertisement packets
name ( name ) - assigned name of the VRRP instance
on-backup ( name ; default: "" ) - script to execute when the node switch to backup state
on-master ( name ; default: "" ) - script to execute when the node switch to master state
password ( text ; default: "" ) - password required for authentication depending on method used
can be ignored (if no authentication used), 8-character long text string (for plain-text authentication)
or 16-character long text string (128-bit key required for AH authentication)
preemption-mode ( yes | no ; default: yes ) - whether preemption mode is enabled
• no - a 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
• yes - the master node always has the priority
priority ( integer : 1 ..255 ; default: 100 ) - priority of the current node (higher values mean higher
priority)
• 255 - RFC requires that the router that owns the IP addresses assigned to this instance had the
priority of 255
vrid ( integer : 0 ..255 ; default: 1 ) - Virtual Router Identifier (must be unique on one interface)
Notes
All the nodes of one cluster must have the same vrid, interval, preemption-mode, authentication
and password.
As said before, priority of 255 is reserved for the real owner of the virtual router's IP addresses.
Theoretically, the owner should have the IP address added statically to its IP address list and also to
the VRRP virtual address list, but you should never do this! Any addresses that you are using as
virtual addresses (i.e. they are added in /ip vrrp address) must not appear in /ip address list as they
otherwise can cause IP address conflict, which will not be resolved automatically.
Also You must have an IP address (no matter what) on the interface you want to run VRRP on.
Example
To add a VRRP instance on ether1 interface, forming (because priority is 255) a virtual router with
vrid of 1:
[admin@MikroTik] ip vrrp> add interface=ether1 vrid=1 priority=255
[admin@MikroTik] ip vrrp> print
Flags: X - disabled, I - invalid, M - master, B - backup
0 I name="vr1" interface=ether1 vrid=1 priority=255 interval=1
preemption-mode=yes authentication=none password="" on-backup=""
on-master=""
[admin@MikroTik] ip vrrp>
Virtual IP addresses
Home menu level: /ip vrrp address
Property Description
Page 691 of 695
Copyright 1999-2007, MikroTik. All rights reserved. Mikrotik, RouterOS and RouterBOARD are trademarks of Mikrotikls SIA.
Other trademarks and registred trademarks mentioned herein are properties of their respective owners.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the MikroTik RouterOS v2.9 and is the answer not in the manual?

MikroTik RouterOS v2.9 Specifications

General IconGeneral
BrandMikroTik
ModelRouterOS v2.9
CategorySoftware
LanguageEnglish