From popdata
Jump to: navigation, search

Back to Services

DHCP primary (only) on Champlain

  • /etc/dhcp/ contains single configuration file dhcpd.conf (before 2012-01-04 did include /etc/dhcpd.chspr => /etc/dhcp/dhcpd.chspr)
  • /etc/default/isc-dhcp-server specifies: INTERFACES="eth0"
  • Reload requires restart: /etc/init.d/isc-dhcp-server [start | stop | restart | force-reload | status
    • restart does: test_config; stop; sleep 2; start
  • Alternate safe test of config : /usr/sbin/dhcpd -t [Options: -d (debug to stdout); -cf ALT_CONFIG_FILE]
  • /var/lib/dhcp/dhcpd.leases
  • grep "dhcpd:" /var/log/daemon.log
  • Popdata (1-254)
  • HELP
  • SOEH
  • Popdata Yellow1
  • PD IT
  • SRE
  • RTL
  • SRTL

DHCP secondary (future) on Cook

File /etc/dhcp/dhcpd.conf should contain the failover config (different on primary/secondary), and then include dhcpd.master (which should be identical on both servers).
4) Identify other network elements that will have to be aware of both servers. Configure DHCP relays to relay forwarded discovers and requests to both servers. Ensure that firewalls and filters allow DHCP traffic, OMAPI control channel traffic, and failover protocol messages to reach your servers.

  • ... may have error in "mclt" on secondary, check MAN page
  • Copy dhcpd.conf, dhcpd.local, dhcpd.static from the primary server to /etc/dhcp and replace the existing ones, if any.
  • Copy the /etc/rndc.key from the primary server to the secondary. ???

  • Denis would like to use "split 256" so secondary answers no queries except when primary down.
  • Select name "failover-partner" . Using same name in both primary/secondary to identify "other" allows using identical configurations for all except the failover block.
  • "deny bootp client" in each pool.

RedZone DHCP on Franklin

  • log: /var/log/syslog
  • /etc/dhcp/dhcpd.conf
    • (obsolete) red1..25; rzvm1..16;
    • include /etc/ltsp/dhcpd.conf: LTSP boot



Feb 15 12:16:15 champlain dhcpd: WARNING: Host declarations are global.  They are not limited to the scope you declared them in.

The host declarations in /etc/dhcp/dhcpd.conf are for fixed addresses, e.g. in "subnet" "host { hardware ethernet 00:25:4b:c4:2d:52; fixed-address; [...]"

Jun 17 07:09:12 champlain dhcpd: uid lease for client 00:50:56:b9:4f:47 is duplicate on                  
Jun 17 07:09:12 champlain dhcpd: DHCPREQUEST for from 00:50:56:b9:4f:47 via                               
Jun 17 07:09:12 champlain dhcpd: DHCPACK on to 00:50:56:b9:4f:47 via                                      

Cause: old dynamic leases for RTL and SRE VMs in /var/lib/dhcp/dhcpd.leases overridden by static leases in /etc/dhcp/dhcpd.conf . Old dynamic expiry ~2012/05/14, how to purge?