dhcp6

Simon Hobson dhcp1 at thehobsons.co.uk
Tue Sep 4 07:01:56 UTC 2012


Gerald Vogt wrote:

>Generally you do this:
>
># dhcpd -4 -cf dhcpd.conf
># dhcpd -6 -cf dhcp6d.conf
>
>dhcpd.conf is the configuration file for the DHCPv4 server.
>dhcp6d.conf is the configuration file for the DHCPv6 server.

Since he's using Ubuntu, he probably needs to copy the init file in 
/etc/init.d from isc-dhcp-server to (say) isc-dhcp6-server. Then edit 
the copy to change references to dhcp to reference dhcp6 where 
appropriate - different config file, different defaults file, 
different PID, different leases file, and so on.

Then "invoke-rc.d isc-dhcp6-server start" should start it.
To make it auto-start at boot time, use "update-rc.d [-n] 
isc-dhcp6-server defaults" to install all the aliases in the 
/etc/rc<n>/ directories.

Presumably the distros will catch up eventually and provide the right 
scripts etc out of the box.

-- 
Simon Hobson

Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed
author Gladys Hobson. Novels - poetry - short stories - ideal as
Christmas stocking fillers. Some available as e-books.


More information about the dhcp-users mailing list