|
发表于 2007-7-5 06:00:20
|
显示全部楼层
unknown client是指那些除了在配置文件中用hardware ethernet命令明确列出mac地址的主机。
举例:- max-lease-time 240;
- default-lease-time 240;
- deny unknown-clients;
- option domain-name "bar.com";
- option domain-name-servers foo1.bar.com, foo2.bar.com;
- subnet 192.168.1.0 netmask 255.255.255.0 {
- range 192.168.1.2 192.168.1.100;
- range 192.168.1.110 192.168.1.254;
- option broadcast-address 192.168.1.255;
- }
- group {
- option routers 192.168.2.101;
- host foo3 {
- hardware ethernet 00:c0:c3:11:90:23;
- option host-name pc3;
- }
- host foo4 {
- hardware ethernet 00:c0:c3:cc:0a:8f;
- fixed-address 192.168.1.105;
- }
- }
- host foo5 {
- hardware ethernet 00:c0:c3:2a:34:f5;
- server-name "bootp.bar.com";
- filename "boot";
- }
复制代码 |
|