Creating Redundant Configuration with Mikrotik
This is my experiment in creating router redundancy for my home network. The routers that I use are Mikrotik routers. I have one hardware router (MikroTik CRS309-1G-8S+IN), and I have configured a Mikrotik software router as a backup
Since this is a home network I only have a single ISP, so the redundancy is limited to the routers (I plan to cover ISP redundancy later with a cell phone). But it does allow me to perfrom maintenance on the routers without impacting my network.
The cable modem is connected to a switch, and both routers connected to the switch (I refer to that connection on the router side as ‘wan’) Obviously both the cable modem and the switch constitute a single point of failure.
My ISP is providing a single public internet IP address using the DHCP protocol. That means both routers cannot be active on the wan interface at the same time.
The idea is to configure VRRP within the local LAN subnets and create a script on the vrrp configuration that brings the wan interface up and down according to the vrrp status.
So, let’s get started.