To start a set of primary-secondary DHCP servers (2 for failover).
- Prepare 2 alpine lxc containers (unprivileged, with features
keyctl
andnesting
to 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.200
and the other to10.0.50.201
. Subnetmask is255.255.255.0
. - Clone this repo to both containers.
- Run
./start-cluster-dhcp.sh primary
in the10.0.50.200
container. Run./start-cluster-dhcp.sh secondary
in the10.0.50.201
container.