Resolve CentOS 7 DHCP server-no subnet declaration for start (no IPV4 addresses.)

Source: Internet
Author: User

The above configuration is a Hyper-V installation of CentOS 7.0

The way to install a DHCP server is

Yum Install DHCPD

After installation and configuration, there is an error when running

The error prompts are as follows:

 for Start (no IPV4 addresses.)--- error one .... configured to listenon any interfaces! ---error two.

-----------------------------------

Analyze the problem:

The reason for the error is: There is no DHCPD module in the/etc/rc.d/init.d/directory.

Workaround:

Copy/USR/BIN/DHCPD to/etc/rc.d/init.d/directory

Restart the service systemctl restart Dhcpd.service #当没有出现任何提示的时候, indicating that it started successfully.

For a look, debug output:

A word in the red area appears. It proves that DHCP is working properly.

Resolve CentOS 7 DHCP server-no subnet declaration for start (no IPV4 addresses.)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.