dhcp.conf配置

ddns-update-style interim;
ignore client-updates;
subnet 172.16.1.0 netmask 255.255.255.0 {
# --- default gateway
        option routers                  172.16.1.1;
        option subnet-mask              255.255.255.0;
        option broadcast-address        172.16.1.255;
        option domain-name              "yupong.com";
        option domain-name-servers      172.16.1.1,172.16.1.2;
        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 172.16.1.128 172.16.1.254;
        default-lease-time 21600;
        max-lease-time 43200;
        group {
                host xp {
                   option host-name "xp.yupong.com";
                   hardware ethernet 00:0C:29:C8:46:74;
                   fixed-address 172.16.1.180;
                }
        }
        host ns {
                next-server suse102.yupong.com;
                hardware ethernet 00:0C:29:CF:4D:8E;
                fixed-address 172.16.1.250;
        }
}


你可能感兴趣的:(职场,conf,DHCP,休闲)