[pkg-dhcp-devel] Bug#592539: Could do it with only a startup script

Gero Treuner gt_72_debian.org at innocircle.com
Sun May 17 00:48:31 UTC 2015


While testing the configuration I discovered that the isc-dhcp-server
already uses separate pid and lease files with the "-6" option. Get it
working with a second init script seemed promising and is successful.

Steps

1. Copy /etc/init.d/isc-dhcp-server to /etc/init.d/isc-dhcp6-server .

2. Adjust filenames (config, pid) and dhcpd option in the startup
   script /etc/init.d/isc-dhcp6-server (file isc-dhcp-server.patch is
   attached).

3. Enable it
     systemctl enable isc-dhcp6-server.service # systemd
   or
     update-rc.d isc-dhcp6-server defaults # traditional "rc" startup

4. Create a fresh file /var/lib/dhcp/dhcpd6.leases using
   /var/lib/dhcp/dhcpd.leases as template.

5. Create your /etc/dhcp/dhcpd6.conf

Thanks for your work which made it so easy.


Regards,
      Gero
-------------- next part --------------
A non-text attachment was scrubbed...
Name: isc-dhcp-server.patch
Type: text/x-diff
Size: 2014 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-dhcp-devel/attachments/20150517/0079f732/attachment.patch>


More information about the pkg-dhcp-devel mailing list