Hotspot redundancy with VRRP

Hello everyone,

i need to deploy an HA hotspot environment to provide networking continuity to an hotspot installation.
I need a MASTER/SLAVE architecture with hot standby.
My setup requires public ip addresses are given to subscribers, so i need to match these requirements:

    1. TWO (or more) mikrotik: 1 active / 1+ hot standby
  1. a set of private IPs in the internal LAN (e.g. 192.168.25.0/24)
  2. a set of public IPs on the internet (e.g. 192.168.1.0/24) THESE NUMBERS ARE FOR EXAMPLE ONLY!
  3. NAT 1:1 private-public addresses
  4. hotspot setup on both mikrotik, with users configured (i’ll use Radius)
  5. VRRP

The entire network can be illustrated as in figure below:

I have set-up two VRRP interfaces:
both Ether1 are enslaved to VRRP-EXT
both Ether2 are enslaved to VRRP-INT

Master has priority 250 and Slave has priority 30, with preemption.

Now that’s what I need:
I need to be able to completely switch from master to slave (and back) and thus to have the two VRRPs switching together. In brief, if an interface goes down (Master-ether1, Master-ether2, Slave-ether1, Slave-ether2) i want to switch completely to the other mikrotik.
I cannot have only one VRRP because i need to mount the public ip addresses to the correct mikrotik interface, and it is possible only having VRRP mounted on the external interfaces too.

The only thing i figured out is to have some script that changes the VRRP priorities in order to switch simultaneously all interfaces.


Next question could be:
once i reach my HA goal, is it possible to transfer existing hotspot sessions to the other Mik? Or at least the active cookies? (just to limit the number of re-authentications…) it would be very appreciated


Thanks in advance,

Roberto

Hi robre77,

I was wondering if you never solved your problem and if yes, if you can share how you did it. I have a similiar setup that I need help with.

Thank you in advance.

Angelo

That makes two of us!

three!!

You are right, the only way to switch completely is to use script. First option is to change priorities as you mentioned, another option is to disable other vrrp interface if one becomes a slave.

Guys have you succeeded in setting up an redundant system?
I’m looking for information on how to do this.
But when you start thinking about L2 systems (DHCP, etc) i wonder how you can make this redundant.