Knowledgebase
Sarail Net > Support Ticket > Knowledgebase

Search help:


Mikrotik v7.x VRRP explained

Solution
/interface vrrp
add interface=ether1 name=vrrp10 vrid=10
add interface=ether1 name=vrrp20 vrid=20
add interface=ether1 name=vrrp30 vrid=30
# VRRP interface needs some static address to come up:
/ip address
add address=127.0.0.20/32 interface=vrrp1 network=127.0.0.20
add address=127.0.0.30/32 interface=vrrp2 network=127.0.0.30
add address=127.0.0.40/32 interface=vrrp3 network=127.0.0.40
/ip dhcp-client
add default-route-distance=0 dhcp-options=hostname,clientid disabled=no \
    interface=ether1
add add-default-route=no dhcp-options=hostname,clientid disabled=no interface=\
    vrrp1 use-peer-dns=no use-peer-ntp=no
add add-default-route=no dhcp-options=hostname,clientid disabled=no interface=\
    vrrp2 use-peer-dns=no use-peer-ntp=no
add add-default-route=no dhcp-options=hostname,clientid disabled=no interface=\
    vrrp3 use-peer-dns=no use-peer-ntp=no

 

Flags: X - disabled, I - invalid, D - dynamic 
 #   ADDRESS            NETWORK         INTERFACE                       
 0   127.0.0.2/32       127.0.0.2       vrrp10                           
 1   127.0.0.3/32       127.0.0.3       vrrp20                           
 2   127.0.0.4/32       127.0.0.4       vrrp30                           
 3 D 192.168.81.50/24   192.168.80.0    ether1                          
 4 D 192.168.81.48/24   192.168.80.0    vrrp20                           
 5 D 192.168.81.47/24   192.168.80.0    vrrp30                           
 6 D 192.168.81.49/24   192.168.80.0    vrrp10
 
Was this article helpful? yes / no
Article details
Article ID: 23
Category: Knowledgebase
Rating (Votes): Article rated 3.7/5.0 (3)

 
« Go back

 
Powered by Help Desk Software HESK, in partnership with SysAid Technologies