dhcpd.conf.txt

dhcpd.conf.txt

ddns-update-style interim;
ignore client-updates;
subnet 192.168.0.0 netmask 255.255.255.0 {
# --- default gateway
    option routers            192.168.0.1;
    option subnet-mask        255.255.255.0;
    option broadcast-address    192.168.0.255;
#    option nis-domain        "domain.org";
    option domain-name        "test.edu.cn";
    option domain-name-servers    192.168.0.5;
    option time-offset        -18000;    # Eastern Standard Time
#    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.0.128 192.168.0.254;
    default-lease-time 21600;
    max-lease-time 43200;
 
    range 192.168.0.20 192.168.0.254;
 
    host ztg{
        option host-name "ztg.test.edu.cn";
        hardware ethernet 00:0C:F1:D5:85:B5;
#        hardware ethernet 00:0A:EB:13:FC:6F;
        fixed-address 192.168.0.66;
    }
 


原文地址:https://www.cnblogs.com/ztguang/p/12647954.html