码迷,mamicode.com
首页 > 其他好文 > 详细

dhcpd.conf配置文件几例

时间:2015-02-20 21:56:05      阅读:176      评论:0      收藏:0      [点我收藏+]

标签:

例1

 

ddns-update-style interim;
ignore client-updates;
 
subnet 192.168.222.0 netmask 255.255.255.0 {
 
# --- default gateway
option routers                  192.168.222.1;
option subnet-mask              255.255.255.0;
 
option nis-domain               "linuxreaders.com";
option domain-name              "linuxreaders.com";
option domain-name-servers      192.168.222.1;
 
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). Dont change this unless
# -- you understand Netbios very well
#       option netbios-node-type 2;
 
range dynamic-bootp 192.168.222.128 192.168.222.254;
default-lease-time 21600;
max-lease-time 43200;
 
# we want the nameserver to appear at a fixed address
host ns {
next-server marvin.redhat.com;
hardware ethernet 12:34:56:78:AB:CD;
fixed-address 207.175.42.254;
}

dhcpd.conf配置文件几例

标签:

原文地址:http://www.cnblogs.com/linuxbo/p/4296715.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!