Problem to set up DHCP for ipv6 - subnet_number():inet.c:45: Addr/mask length mismatch

Simon Hobson dhcp1 at thehobsons.co.uk
Thu May 26 10:13:12 UTC 2016


Reed Xia <huaqin2005 at gmail.com> wrote:

> At very beginning, I put the dhcp-4.3.4.tar.gz file in /root and installed it as README file said(./configure -> make -> make install), and I launched the service by "/root/dhcp-4.3.4/server/dhcpd", I guess I might not install dhcp well.(sorry I just started to use dhcpd a few day ago)
> 
> May I ask, as you said, I guess I shall launch the service by "service isc-dhcp-server start"?
> 
> I just tired it in my terminal, but it failed "isc-dhcp-server: unrecognized service".

Ah, if you didn't install using the OS package manager then you might not have the init scripts installed - in that case "service ..." won't know about it.
Just leave off the "start" from the end of the command line, it'll clear the error about unknown interface "start".



More information about the dhcp-users mailing list