Hi,
After usign Mikrotik routers for most customer connections, and becoming fairly familiar, I've decided it's time to replace some equipment at our main location. We currently have a pair of linux routers running heartbeat in a high-availability type setup. I'm attempting to replicate this setup in a test environment and wondering if I'm going down the right path.
Current Config
R1 - eth0 - 172.31.255.1
R1 - eth1 - 172.16.0.1
R1 - eth1:1000 - 1.1.1.4
R2 - eth0 - 172.31.255.2
R2 - eth1 - 172.16.0.2
R2 - eth1:1000 - 1.1.1.2
R2 - eth1:1 - 1.1.1.3
HA File
eth0:1 - 2.2.2.2
eth1.30 - 172.30.30.254/24
eth1:2 - 192.168.1.1/24
eth1.20 - 192.168.32.1/24
eth1.23 - 192.168.33.1/24
eth1.22:0 - 1.1.1.177/28
So, i've got ethernet2 on the 493G setup as my primary wan port (emulating R1 eth0), and ethernet3 (replacing R1 eth1) as the lan port. I've added the VLANs to ethernet3, and then created vrrp's on the vlans. I'm assuming this is all correct up to now.
Based on the documentation, it states that they need to be on the same network as the real IPs, and also be a /32. I know that certain aspects of the documentation are fairly outdated, so I'm not sure how valid or rather required this is. I was originally adding the IP's with CIDR to match the existing haresources file.
My idea here was to assign the same IP's that are in the existing haresources file to the vrrp interfaces. Yes, we need to work on a script where if one vrrp interface fails, primarily ethernet2 or ethernet3, we would need to bring down all vrrp interfaces on MT1, and on MT2 do the opposite.
However, all my vrrp's are currently set as invalid.
Am I going in the right direction?
Thanks,
Carlos