Hi,
i just bought this small RB 1100 AH x2 with RouterOS 5.19 (and firmware 2.39) to use it as a low consumption BGP router (I already have 2 monster quagga x86 ones)
First step, VRRP. I try to pair it with a x86 PC running Advanced-Vrrpd-1.8 from numsys.eu
It should be easy, but I have some strange problems :
- on the PC i can become master or backup with atropos, and the RB1100 really answer to my ping when the PC is backup.
- whatever I do, 40 seconds after becoming backup, the x86 becomes master again, and answer to my ping
On the RB side :
- on the web interface, vrrp1 is always in RB state, even when it's master !
- on the cli interface, vrrp1 is always in RM state, even when it's backup !
Any idea ?
This is my vrrpd command-line on the x86 (I tried with or without -s and with different priorities)
vrrpd -i eth0 -v 13 -M 1 192.168.88.33 -d 2 -p 80 -s -U /etc/VRRP/Master.sh -D /etc/VRRP/Backup.sh (master and backup.sh are empty)
root@gavroche:/home/chris# atropos --state
VRRPD STATE 25310: STATE MASTER
UID PID PPID C STIME TTY TIME CMD
root 25310 1 0 14:39 pts/7 00:00:00 vrrpd -i eth0 -v 13 -M 1 192.168.88.33 -d 2 -p 80 -s -U /etc/VRRP/Master.sh -D /etc/VRRP/Backup.sh
eth0 Current MAC is: 00 00 5e 00 01 0d
Then I switch backup :
root@gavroche:/home/chris# atropos --backup
VRRPD BACKUP
Please wait
Don't use "CTRL+C"
-
DONE
VRRP PID 25310 STATE: STATE BACKUP
UID PID PPID C STIME TTY TIME CMD
root 25310 1 0 14:39 pts/7 00:00:00 vrrpd -i eth0 -v 13 -M 1 192.168.88.33 -d 2 -p 80 -s -U /etc/VRRP/Master.sh -D /etc/VRRP/Backup.sh
eth0 Current MAC is: 50 e5 49 54 fc d7
Be careful, Atropos don't show virtual mac address of vlan interface
Then, after exactly 40 seconds, it always becomes master again. In the PC logs i see each time the same lines :
Mar 18 15:22:36 gavroche vrrpd[25310]: VRRP ID 13 on eth0: we are now a backup router.
Mar 18 15:22:36 gavroche vrrpd[28513]: VRRP ID 13 on eth0: scriptdown: /etc/VRRP/Backup.sh
Mar 18 15:22:36 gavroche vrrpd[25310]: VRRP ID 13 on eth0: Send gratuitous ARP for all ip addresses
Mar 18 15:22:39 gavroche vrrpd[25310]: VRRP ID 13 on eth0: - State INIT -
Mar 18 15:23:16 vrrpd[25310]: last message repeated 13 times
Mar 18 15:23:16 gavroche vrrpd[25310]: VRRP ID 13 on eth0: we are now the master router.
On the RB 1100 AH x2 side I see that :
The cli output :
[admin@MikroTik] > /interface vrrp print
Flags: X - disabled, I - invalid, R - running, M - master, B - backup
# NAME INTERFACE MAC-ADDRESS VRID PRIORITY INTERVAL VERSION V3-PROTOCOL
0 RM vrrp1 ether1 00:00:5E:00:01:0C 12 100 1s 3 ipv4
[admin@MikroTik] > /ip address print
Flags: X - disabled, I - invalid, D - dynamic
# ADDRESS NETWORK INTERFACE
0 ;;; default configuration
192.168.88.1/24 192.168.88.0 ether1
1 192.168.88.33/24 192.168.88.0 vrrp1
One last thing : I can see the multicast packets from the PC on the RB, and the multicast packets from the RB on the PC !
Thank you for your help