User Tools

Site Tools


quay:dhcp

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
quay:dhcp [2020-05-18 18:51]
gabriel start service and notes on static leases
quay:dhcp [2020-05-18 19:05] (current)
gabriel systemd and IPv6 bug
Line 6: Line 6:
  
 Both servers are configured as failover peers. ​ beowulf.in.quay.net is the primary, grendel.in.quay.net is secondary. 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]]. Static leases are stored in a separate ''​static-leases.conf''​ file that should be updated on both servers using [[ansible|Ansible]].
quay/dhcp.txt ยท Last modified: 2020-05-18 19:05 by gabriel