User Tools

Site Tools


quay:dhcp

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
quay:dhcp [2020-05-18 15:19] – created gabrielquay:dhcp [2020-05-18 19:05] (current) – systemd and IPv6 bug gabriel
Line 2: Line 2:
  
 I run the [[https://www.isc.org/dhcp/|ISC DHCP Server]] service on my local network in a reduntant configuration for assigning addresses dynamically.  This page documents this usage. I run the [[https://www.isc.org/dhcp/|ISC DHCP Server]] service on my local network in a reduntant configuration for assigning addresses dynamically.  This page documents this usage.
 +
 +===== Configuration =====
 +
 +Both servers are configured as failover peers.  beowulf.in.quay.net is the primary, grendel.in.quay.net is secondary.
 +
 +To ensure that we don't try to serve IPv6 addresses (and to work around an issue with the systemd unit), configure the interface explictly in ''/etc/default/isc-dhcp-server'' by adding an interface to the following variable that is empty by default:
 +
 +<code>
 +INTERFACESv4="eth0"
 +</code>
 +
 +Provided that IPv6 is disabled via sysctl then this will work correctly.
 +
 +Static leases are stored in a separate ''static-leases.conf'' file that should be updated on both servers using [[ansible|Ansible]].
 +
 +Start the service thusly:
 +
 +<code>
 +systemctl enable isc-dhcp-server
 +systemctl start isc-dhcp-server
 +</code>
quay/dhcp.1589829558.txt.gz · Last modified: 2020-05-18 15:19 by gabriel