<div dir="ltr">Hi Simon,<div><br></div><div>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)</div><div><br></div><div>May I ask, as you said, I guess I shall launch the service by "service isc-dhcp-server start"?</div><div><br></div><div>I just tired it in my terminal, but it failed "isc-dhcp-server: unrecognized service".</div><div><br></div><div>And I can run "dhcpd", it will output logs as ones as I launched dhcpd for ipv4.</div><div><br></div><div>Thanks for your time!!</div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, May 26, 2016 at 5:28 PM, Simon Hobson <span dir="ltr"><<a href="mailto:dhcp1@thehobsons.co.uk" target="_blank">dhcp1@thehobsons.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">Reed Xia <<a href="mailto:huaqin2005@gmail.com">huaqin2005@gmail.com</a>> wrote:<br>
<br>
> root@johw-Lenovo:/etc# /root/dhcp-4.3.4/server/dhcpd -cf dhcpd.conf eth0 start<br>
</span>> ...<br>
<span class="">> No subnet declaration for start (no IPv4 addresses).<br>
<br>
</span>Can't help with the query itself, but you are starting the server incorrectly. "start" would be a command for your service management/init system - eg "service isc-dhcp-server [ start | stop ]". When starting the server directly as you are doing, omit the start - just executing it implies start !<br>
As it is, dhcpd is trying to interpret start as the name of an interface, hence the error it's spitting out.<br>
<br>
It's possible that this is the cause of your main issue - I've no idea on that but it's worth eliminating the "start" error first.<br>
<br>
BTW - in general it's best to use the scripts to start the service. While manually starting it is easy for testing, it may not result in the same environment as when using the scripts - which can result in you getting something working, only for it to fail to start/work properly at boot time.<br>
<br>
_______________________________________________<br>
dhcp-users mailing list<br>
<a href="mailto:dhcp-users@lists.isc.org">dhcp-users@lists.isc.org</a><br>
<a href="https://lists.isc.org/mailman/listinfo/dhcp-users" rel="noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/dhcp-users</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><font face="comic sans ms, sans-serif">Thanks,</font><div><font face="comic sans ms, sans-serif">- Reed</font></div></div></div>
</div></div>