首页 > 其他 > 详细

dhcp服务配置

时间:2017-02-04 14:23:52      阅读:152      评论:0      收藏:0      [点我收藏+]

技术分享

 

 

ddns-update-style interim;
ignore client-updates;             
subnet 192.168.1.0 netmask 255.255.255.0 {
range dynamic-bootp 192.168.1.100 192.168.1.200;     #段
option domain-name-servers 8.8.8.8,192.168.1.1;       #dns服务
option domain-name "han.com";            #域名
option subnet-mask 255.255.255.0;       #掩码
option time-offset -18000;                      #租用时间
option routers 192.168.1.254;                #吓一跳,网关
default-lease-time 21600;                   #默认时间
max-lease-time 43200;                       #最大租用时间
host web {                                           #捆绑ip
option host-name "hanlei.com";            #域名
hardware ethernet 00:0c:29:70:73:cb;   #mac地址
fixed-address 192.168.1.168 ;               #捆绑ip
}
}

 ******************************************************

超级作用域

ddns-update-style interim;
ignore client-updates;
shared-network aaa{
subnet 192.168.1.0 netmask 255.255.255.0 {
# range dynamic-bootp 192.168.1.100 192.168.1.200;
option domain-name-servers 8.8.8.8,192.168.1.1;
option domain-name "han.com";
option subnet-mask 255.255.255.0;
option time-offset -18000;
option routers 192.168.1.254;
default-lease-time 21600;
max-lease-time 43200;

}
subnet 192.168.2.0 netmask 255.255.255.0 {
range dynamic-bootp 192.168.2.100 192.168.2.200;
option domain-name-servers 8.8.8.8,192.168.1.1;
option domain-name "han.com";
option subnet-mask 255.255.255.0;
option time-offset -18000;
option routers 192.168.2.254;
default-lease-time 21600;
max-lease-time 43200;
}
}

dhcp服务配置

原文:http://www.cnblogs.com/han1094/p/6364203.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!