DHCP service setup under Linux

Source: Internet
Author: User

  1. Environment centos6.5, centos6.6

  2. Install the DHCP service: Yum install dhcp*-y

  3. Edit the configuration file/etc/dhcp/dhcpd.conf me here directly to overwrite the previous content:

  4. Ddns-update-style Interim;
    Ignore client-updates;
    Next-server 192.168.77.168;
    FileName "pxelinux.0";
    Allow booting;
    Allow BOOTP;
    Subnet 192.168.77.0 netmask 255.255.255.0 {
    #---Default gateway
    Option routers 192.168.77.1;
    Option Subnet-mask 255.255.255.0;
    # option Nis-domain "domain.org";
    # option Domain-name "192.168.0.10";
    # option Domain-name-servers 192.168.0.11;
    # option Ntp-servers 192.168.1.1;
    # option Netbios-name-servers 192.168.1.1;
    #---Selects point-to-point node (default is hybrid). Don ' t change this unless
    #--You understand Netbios very well
    # option Netbios-node-type 2;
    Range DYNAMIC-BOOTP 192.168.77.100 192.168.77.200;
    Host NS {
    Hardware Ethernet 00:1a:a0:2b:38:81;
    Fixed-address 192.168.77.101;}
    }

  5. Change according to your own situation OK,, restart the service/ETC/INIT.D/DHCPD restart success

  6. The client changes static to DHCP to automatically get the ...

This article is from the "Fluffy Duck" blog, please be sure to keep this source http://woshitieren.blog.51cto.com/2466034/1666087

DHCP service setup under Linux

Related Article

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.