- 论坛徽章:
- 0
|
这个是另外一对双机的主配置,跟上面的差不多:
[root@DNS-DHCP-NTP-SERVER1 etc]# vi dhcpd.conf
#authritative;
ddns-update-style interim;
ignore client-updates;
#one-lease-per-client true;
#option nis-domain "pz.com";
#option domain-name "pz.com";
option domain-name-servers 10.32.0.100,10.32.0.101,202.96.128.86,202.96.128.166;
#option time-offset -18000;
#option ntp-servers 10.32.0.100,10.32.0.101;
option netbios-name-servers 10.32.0.100,10.32.0.101;
default-lease-time 21600;
max-lease-time 43200;
log-facility local6;
failover peer "dhcp"{
primary;
address 10.32.0.100;
port 519;
peer address 10.32.0.101;
peer port 520;
max-response-delay 60;
max-unacked-updates 10;
mclt 600;
split 128;
#authritative;
ddns-update-style interim;
ignore client-updates;
#one-lease-per-client true;
#option nis-domain "pz.com";
#option domain-name "pz.com";
option domain-name-servers 10.32.0.100,10.32.0.101,202.96.128.86,202.96.128.166;
#option time-offset -18000;
#option ntp-servers 10.32.0.100,10.32.0.101;
option netbios-name-servers 10.32.0.100,10.32.0.101;
default-lease-time 21600;
max-lease-time 43200;
log-facility local6;
failover peer "dhcp"{
primary;
address 10.32.0.100;
port 519;
peer address 10.32.0.101;
peer port 520;
max-response-delay 60;
max-unacked-updates 10;
mclt 600;
split 128;
load balance max seconds 3;
}
############################################################
#DataCenter #
############################################################
subnet 10.32.0.0 netmask 255.255.255.0 {
option routers 10.32.0.1;
option subnet-mask 255.255.255.0;
pool{
failover peer "dhcp";
range 10.32.0.200 10.32.0.210;
deny dynamic bootp clients;
}
}
############################################################
#wireless AP management address assignment,vlan101~vlan113 #
############################################################
option serverip code 43 = ip-address;
class "vendor-class" {
match option vendor-class-identifier;
}
#danjuan 1-C cheng,wireless AP Vlan-800
subnet 10.34.0.0 netmask 255.255.224.0 {
option routers 10.34.0.1;
option subnet-mask 255.255.224.0;
subclass "vendor-class" "ArubaAP" {
option vendor-class-identifier "ArubaAP";
option serverip 10.37.17.4;
}
pool {
failover peer "dhcp";
range 10.34.8.101 10.34.8.254;
deny dynamic bootp clients;
}
} |
|