您的位置:首页 > 其它

Windows 7下VS2008升级正式版补丁

2010-02-15 01:16 316 查看
用dhcp-client-identifier控制dhcp分配地址

dns-update-style none;
subnet 192.168.1.0 netmask 255.255.255.0 {
option routers 192.168.1.102;
option subnet-mask 255.255.255.0;
option nis-domain "domain.org";
option domain-name "domain.org";
option domain-name-servers 192.168.1.102;
option time-offset -18000;
default-lease-time 21600;
max-lease-time 43200; class "vms" {
# XenSource, Inc. and VMware, Inc. network cards
match if (substring (pick-first-value (option dhcp-client-identifier, hardware), 0, 4) = 1:00:16:3E)
or (substring (pick-first-value (option dhcp-client-identifier, hardware), 0, 4) = 1:00:0C:29)
or (substring (pick-first-value (option dhcp-client-identifier, hardware), 0, 4) = 1:00:50:56)
or (substring (pick-first-value (option dhcp-client-identifier, hardware), 0, 4) = 1:00:05:69);
# match pick-first-value (option dhcp-client-identifier, hardware);
}
# subclass "myvms" 1:00:16:3E:00:00:11; pool {
allow members of "vms";
range dynamic-bootp 192.168.1.128 192.168.1.138;
}
}
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: