1
General Discussion / HA only for DHCP: Possible?
« on: May 06, 2022, 11:36:43 am »
Hi all,
I'm running OPNsense since a while for my private home network and been quit happy with it. Now I thought about redundancy - but without the need of a full blown OPNSense HA Cluster.
For DNS I already have a Docker Swarm Cluster Setup up and running since a while (secondary). For DHCP I was using a pacemaker/corosync Cluster (different cluster technologies for self study purpose - so don't wonder). One thing about DHCP which bothered me was, that I had to sync the lists of fixed IP's manually and managed only the failover via OMAPI - As I do understand that OMAPI doesn't sync static entries, just leases and responsibilities.
So my question is: What would a setup look like, where only DHCP is used in a HA cluster for OPNsense?
Would it be enough to get a second machine with OPNSense and just setup / tick the "DHCPD" under High Availability? So without all the virtual IP etc... stuff, etc..?
Thanks for your Ideas, Help and Feedback,
Rob
PS: I know it might not sound very reasonable to do it that way... But it's what fits my personal setup best.
I'm running OPNsense since a while for my private home network and been quit happy with it. Now I thought about redundancy - but without the need of a full blown OPNSense HA Cluster.
For DNS I already have a Docker Swarm Cluster Setup up and running since a while (secondary). For DHCP I was using a pacemaker/corosync Cluster (different cluster technologies for self study purpose - so don't wonder). One thing about DHCP which bothered me was, that I had to sync the lists of fixed IP's manually and managed only the failover via OMAPI - As I do understand that OMAPI doesn't sync static entries, just leases and responsibilities.
So my question is: What would a setup look like, where only DHCP is used in a HA cluster for OPNsense?
Would it be enough to get a second machine with OPNSense and just setup / tick the "DHCPD" under High Availability? So without all the virtual IP etc... stuff, etc..?
Thanks for your Ideas, Help and Feedback,
Rob
PS: I know it might not sound very reasonable to do it that way... But it's what fits my personal setup best.