To start a set of primary-secondary DHCP servers (2 for failover).
- Prepare 2 alpine lxc containers (unprivileged, with features
keyctlandnestingto enable docker-in-lxc setup) on Proxmox. Give each 2 network devices (vmbr2 - NAT, vmbr1 - Cluster). Set one device's Cluster IP address to10.0.50.200and the other to10.0.50.201. Subnetmask is255.255.255.0. - Clone this repo to both containers.
- Run
./start-cluster-dhcp.sh primaryin the10.0.50.200container. Run./start-cluster-dhcp.sh secondaryin the10.0.50.201container.