dhcpd.conf配置样例:
ddns-update-style interim;
ignore client-updates;
default-lease-time 1800;
max-lease-time 3600;
shared-network vlan{
subnet 192.168.100.0 netmask 255.255.255.0 {
option routers 192.168.100.1;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.100.255;
option domain-name-servers 192.168.300.254,192.168.300.253;
range dynamic-bootp 192.168.100.10 192.168.100.240;
host test {hardware ethernet 00:dd:09:88:xx:33;fixed-address 192.168.100.66;}
}
}
shared-network vlan{
subnet 192.168.200.0 netmask 255.255.255.0 {
option routers 192.168.200.1;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.200.255;
option domain-name-servers 192.168.300.254,192.168.300.253;
range dynamic-bootp 192.168.200.10 192.168.200.240;
host printer {hardware ethernet 00:25:11:77:88:99; fixed-address 192.168.200.88;}
}
}
阅读(1500) | 评论(0) | 转发(0) |