一次DHCP的绑定实现

简介:
#
# DHCP Server Configuration file.
#   see /usr/share/doc/dhcp*/dhcpd.conf.sample  
#
ddns-update-style interim;
default-lease-time 28800;
max-lease-time 43200;
option routers                  172.20.1.1;
option subnet-mask              255.255.255.0;
option domain-name-servers      172.20.1.1,202.106.0.20;
option domain-name              "bjepiao.com";
subnet 172.20.1.0 netmask 255.255.255.0 {
        range  172.20.1.170 172.20.1.230;
host Router1 {hardware ethernet 00:19:e0:e7:43:ee;fixed-address 172.20.1.11;}
host Router2 {hardware ethernet 00:23:cd:28:71:c4;fixed-address 172.20.1.12;}
host Router3 {hardware ethernet 00:21:27:6e:3d:e2;fixed-address 172.20.1.13;}
host Router4 {hardware ethernet 00:f0:4c:00:e9:75;fixed-address 172.20.1.100;}
host OracleRAC1 {hardware ethernet 00:24:01:14:7c:a0;fixed-address 172.20.1.136;}
host OracleRAC2 {hardware ethernet 00:24:01:14:7f:28;fixed-address 172.20.1.146;}
host weboracle1 {hardware ethernet 00:0c:29:dd:12:a8;fixed-address 172.20.1.240;}
host Neiserver1 {hardware ethernet 00:e0:81:b2:9b:10;fixed-address 172.20.1.166;}
host neiserver2 {hardware ethernet 00:0c:29:cb:a5:54;fixed-address 172.20.1.182;}
host Neiserver3 {hardware ethernet 00:0c:29:af:e9:98;fixed-address 172.20.1.183;}
host OracleRAC3 {hardware ethernet 00:24:01:14:7c:a0;fixed-address 172.20.1.245;}
host OracleRAC4 {hardware ethernet 00:24:01:14:7c:a0;fixed-address 172.20.1.246;}
host duanxingw {hardware ethernet 00:26:18:5c:af:32;fixed-address 172.20.1.35;}
host zhuboyi {hardware ethernet 00:1f:f3:8b:f9:45;fixed-address 172.20.1.22;}
host zangna {hardware ethernet 00:1f:29:b5:b3:8f;fixed-address 172.20.1.20;}
host wangxin {hardware ethernet 00:0c:f1:da:03:8c;fixed-address 172.20.1.21;}
host wuzenghui {hardware ethernet 00:03:0d:bf:12:09;fixed-address 172.20.1.23;}
host zhaoweiwei {hardware ethernet 00:03:0d:af:0c:fa;fixed-address 172.20.1.26;}
host dingxia {hardware ethernet 00:03:0d:c1:89:38;fixed-address 172.20.1.24;}
host lixia {hardware ethernet 00:05:5d:6a:78:6c;fixed-address 172.20.1.40;}
host wangxiufang {hardware ethernet 00:0b:2f:06:61:d7;fixed-address 172.20.1.41;}
host caoyuhong {hardware ethernet 00:e0:4c:f8:c8:e1;fixed-address 172.20.1.104;}
host hewei {hardware ethernet 00:1d:ba:78:c2:8e;fixed-address 172.20.1.160;}
host liudonghua {hardware ethernet 00:26:18:1d:bb:7c;fixed-address 172.20.1.161;}
host wangyukun {hardware ethernet 00:1f:d0:c6:bc:89;fixed-address 172.20.1.162;}
host Liujiashou1 {hardware ethernet 00:18:f3:a2:87:b9;fixed-address 172.20.1.167;}
host Liujiashou2 {hardware ethernet 00:03:0d:bf:12:b1;fixed-address 172.20.1.168;}
host lixinyang {hardware ethernet 00:1f:d0:c6:bf:f3;fixed-address 172.20.1.163;}
host luochaowei {hardware ethernet 00:50:8d:9c:66:23;fixed-address 172.20.1.164;}
host qiming {hardware ethernet 00:23:54:e0:b4:ba;fixed-address 172.20.1.165;}
host zhancheng {hardware ethernet 00:ea:01:16:ae:93;fixed-address 172.20.1.169;}
host maojunfeng {hardware ethernet 00:24:1d:31:ba:9b;fixed-address 172.20.1.170;}
host zhangqianqian {hardware ethernet 00:1d:0f:16:58:d2;fixed-address 172.20.1.171;}
host bailiu {hardware ethernet 00:e0:4c:f8:78:43;fixed-address 172.20.1.50;}
host shihongting {hardware ethernet 00:17:c4:34:5d:0f;fixed-address 172.20.1.51;}
host yanyan {hardware ethernet 00:03:0d:be:c0:15;fixed-address 172.20.1.53;}
host sunchunli {hardware ethernet 00:0d:61:9a:53:09;fixed-address 172.20.1.55;}
host liuying {hardware ethernet 00:e0:0c:77:24:c7;fixed-address 172.20.1.56;}
host wgzto {hardware ethernet 00:1E:68:E8:A0:55;fixed-address 172.20.1.57;}
host wgzwireless {hardware ethernet 00:16:EA:E8:6A:2C;fixed-address 172.20.1.58;}
host wgzming {hardware ethernet 00:40:D0:7C:D1:B1;fixed-address 172.20.1.58;}
host gaolei {hardware ethernet 00:23:54:d0:e4:2a;fixed-address 172.20.1.67;}
host nizhongfu {hardware ethernet 00:0e:35:5c:6a:dc;fixed-address 172.20.1.65;}
host liuyue {hardware ethernet 00:03:0d:af:5f:1d;fixed-address 172.20.1.66;}
host laibaoming {hardware ethernet 00:05:5d:6a:5c:4b;fixed-address 172.20.1.68;}
host Nouse1 {hardware ethernet 00:03:0d:bf:cd:c2;fixed-address 172.20.1.70;}
host Nouse2 {hardware ethernet 00:03:0d:bf:0c:6e;fixed-address 172.20.1.71;}
}









本文转自 jxwpx 51CTO博客,原文链接:http://blog.51cto.com/jxwpx/218058,如需转载请自行联系原作者
目录
相关文章
|
5天前
|
网络协议
DHCP-动态主机配置协议
DHCP协议工作流程包括四个阶段:发现、提供、选择和确认。在发现阶段,客户端广播DHCP Discover报文寻找服务器。服务器在提供阶段回应DHCP Offer报文,包含可用IP地址及配置信息。客户端在选择阶段接收多个Offer并发送DHCP Request给选定服务器。最后,服务器发送DHCP Ack报文确认IP地址分配,客户端应用配置并接入网络。
9 0
|
11月前
|
网络协议 网络安全 开发工具
DHCP服务及配置
DHCP服务及配置
211 0
|
12月前
|
Linux
DHCP服务的安装以及配置,使主机IP地址自动获取
DHCP服务的安装以及配置,使主机IP地址自动获取
169 0
|
网络协议 开发工具
|
网络协议 数据库 开发工具
|
网络协议 网络虚拟化 网络架构