DHCP Configuration and troubleshooting

Source: Internet
Author: User

Arise, configure DHCP

Yum Search Dhcpyum install-y dhcp cp/usr/share/doc/dhcp-4.1.1/dhcpd.conf.sample/etc/dhcp/dhcpd.conf# more/etc/dhcp/ Dhcpd.confoption domain-name "lib01.com"; option domain-name-servers 192.168.20.10;default-lease-time 600; Max-lease-time 7200;log-facility local7;subnet 192.168.20.0 netmask 255.255.255.0 {range 192.168.20.100 192.168.20.200  ;  Option routers 192.168.20.10;  Option broadcast-address 192.168.20.255;  Default-lease-time 600; Max-lease-time 7200;}

/ETC/INIT.D/DHCPD start

Failed to start, view/var/log/messages:

17:26:56 lib01 dhcpd:can ' t chown new lease File:operation not permitted

Modify/ETC/INIT.D/DHCPD

User=root

Group=root



Reference:

Http://www.tuicool.com/articles/raM7naV

Http://www.linuxidc.com/Linux/2015-02/112985.htm

This article is from the "Thousand Face" blog, please make sure to keep this source http://oslibo.blog.51cto.com/10854638/1837386

DHCP Configuration and troubleshooting

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.