红联Linux门户
Linux帮助

一个dhcpd.conf实例

发布时间:2009-04-29 17:26:21来源:红联作者:longjiuxiong
[root@gzmail etc]# vi dhcpd.conf
subnet 10.20.16.0 netmask 255.255.240.0 {
# default gateway
option routers 10.20.18.1;
option subnet-mask 255.255.240.0;

option domain-name "gz.cn.globeunion.com";
option domain-name-servers 10.20.17.1;
range 10.20.19.10 10.20.19.220;
default-lease-time 86400;
max-lease-time 172800;
host jackson{hardware ethernet 00:90:96:18:f4:1c;
fixed-address 10.20.19.1;}
host crystal{hardware ethernet 00:00:39:d6:dd:34;
fixed-address 10.20.19.2;}
host gobobook1{hardware ethernet 00:00:39:02:fd:34;
fixed-address 10.20.19.3;}
host gobobook2{hardware ethernet 00:00:39:69:05:a7;
fixed-address 10.20.19.4;}
host gobo1701{hardware ethernet 52:54:ab:3b:a1:60;
fixed-address 10.20.19.5;}
host gobo1801{hardware ethernet 00:05:5d:e6:5f:df;
fixed-address 10.20.19.6;}
host gobo1802{hardware ethernet 00:00:21:00:07:21;
fixed-address 10.20.19.7;}
host janezhang{hardware ethernet 00:05:5d:ff:80:02;
fixed-address 10.20.19.8;}
host linda{hardware ethernet 00:e0:4c:73:11:01;
fixed-address 10.20.19.11;}
host dw {hardware ethernet 00:02:2a:dd:01:e7;
fixed-address 10.20.19.10;}
host zjx{hardware ethernet 52:54:ab:4b:d9:c8;
fixed-address 10.20.19.14;}
host long{hardware ethernet 00:e0:4c:48:09:02;
fixed-address 10.20.19.15;}
host lucy{hardware ethernet 00:50:ff:47:4c:8d;
fixed-address 10.20.19.20;}
host jeson{hardware ethernet 00:00:e2:58:88:e2;
fixed-address 10.20.19.30;}
host jeson{hardware ethernet 00:e0:4c:48:0a:29;
fixed-address 10.20.19.40;}
host ming{hardware ethernet 00:e0:4c:60:01:de;
fixed-address 10.20.19.50;}
host huz{hardware ethernet 00:50:bf:6c:d1:f2;
fixed-address 10.20.19.70;}
host zhb{hardware ethernet 00:02:2a:c2:4d:ab;
fixed-address 10.20.19.80;}
host judy{hardware ethernet 52:54:ab:3b:96:6f;
fixed-address 10.20.19.85;}
host norton{hardware ethernet 00:e0:4c:48:05:b7;
fixed-address 10.20.18.98;}
}
subnet 211.162.63.32 netmask 255.255.255.224 {
option routers 211.162.63.62;
option subnet-mask 255.255.255.224;

option domain-name "gz.cn.globeunion.com";
option domain-name-servers 202.96.168.68;
range 211.162.63.56 211.162.63.57;
}
文章评论

共有 0 条评论