We're implementing a new IPAM solution across all our campuses and are using bind with anycast to provide 8-way resiliency for all our DNS servers. I would like to be able to do the same with our DHCP servers and chance the IP helper addresses on our router interfaces to the single anycast address, however I can't see how to make this work with sharing the leases file, etc. Putting the same config on each server is pretty easy however. Is anyone else doing anything similar? I'd love to hear about your solutions.
ISC DHCP has its own built in failover mechanisms, which includes a method of keeping the leases synced between servers - the docs aren't amazing but this is a pretty good guide.
The closest solution I've found for setting up DHCP with anycast is the facebook one:
The best approch, I think, it is with KEA DHCP and leases databases locally for each site and with mysql nbd cluster to synced them: https://dev.mysql.com/doc/refman/5.7/en/mysql-cluster-overview.html
Best regards, Fernando.