How to sync a Linux secondary DHCP server?

perl-list perl-list at network1.net
Wed Aug 1 13:32:02 UTC 2018


You could do that as long as there are no dynamic leases (ie: everyone has a fixed-address or similar). 

You would want to make sure that you didn't have: 

authoritative; 

in the config file as that would cause the servers to NAK each other's traffic (I think it still would with fixed-address). 

> From: "Sandra Schlichting" <littlesandra88 at gmail.com>
> To: "Users of ISC DHCP" <dhcp-users at lists.isc.org>
> Sent: Wednesday, August 1, 2018 9:22:26 AM
> Subject: Re: How to sync a Linux secondary DHCP server?

> > If, for example, you added fixed reservations using omapi, then you would
> > need to register these same configuration with both dhcp servers.

> > This is the only way to ensure there is consistent configuration on both
> > servers.

> > The leases files are different on the two servers, so you can't just copy
> > the leases file from one server to the other.

> My thought were to have two standalone dhcp servers. No failover, no
> omapi. I would then rsync/scp the reserverations to the other when I
> make changes.

> Of course this means, the leases on each would be different, and that
> is my question. What would happen if two identical dhcp servers with
> identical reservations offer the same IP's?

> The motivation would be to get a simple two dhcp server setup without
> using the builtin failover.
> _______________________________________________
> dhcp-users mailing list
> dhcp-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20180801/3af224bf/attachment.html>


More information about the dhcp-users mailing list