Good Afternoon!
Im trying to configure DHCPd with Failover and PXE Boot...
What does the following two options actually do for DHCPd and does it work with failover?
allow booting;
allow bootp;
Im trying to configure DHCPd Failover and from what Im reading Im not quite sure if DHCP scopes that need PXE boot will work with DHCPd Failover. I believe the two options listed above would be needed but I dont know. If so, should they be added in the primary and secondary dhcpd.conf files or the dhcpd.master?
Also the two options below -- are they also needed and should they be added in the primary and secondary dhcpd.conf files or the dhcpd.master too?
next-server x.x.x.x;
filename "xxx";
Thanks in advance!
Primary dhcpd.conf file
Code:
#authoritative;
ddns-update-style none;
ignore client-updates;
one-lease-per-client true;
omapi-port 7911;
#Failover peer section
failover peer "dhcp-partner" {
primary;
address server1.paychex.com;
port 647;
peer address server2.paychex.com;
peer port 647;
max-response-delay 60;
max-unacked-updates 10;
mclt 3600;
split 153;
load balance max seconds 3;
}
include "/etc/dhcp/dhcpd.master";
Secondary dhcpd.conf file
Code:
#authoritative;
ddns-update-style none;
ignore client-updates;
one-lease-per-client true;
omapi-port 7911;
#Failover peer section
failover peer "dhcp-partner" {
secondary;
address server2.paychex.com;
port 647;
peer address server1.paychex.com;
peer port 647;
max-response-delay 60;
max-unacked-updates 10;
load balance max seconds 3;
}
include "/etc/dhcp/dhcpd.master";
dhcpd.master file
Code:
option domain-name "example.com";
allow booting;
allow bootp;
next-server x.x.x.x;
filename "xxx";
option option-242 code 242 = string;
#dhcpd wants to listen on its own networks
subnet 10.8.4.0 netmask 255.255.252.0 {
ignore unknown-clients;
}
#dhcpd wants to listen on its own network
subnet 10.4.8.0 netmask 255.255.252.0 {
ignore unknown-clients;
}
#Scope [10.4.4.0] TEST PXE Boot
subnet 10.4.4.0 netmask 255.255.252.0 {
option subnet-mask 255.255.252.0;
option routers 10.4.4.1;
option domain-name-servers 10.2.2.198;
pool {
failover peer "dhcp-partner";
default-lease-time 300;
max-lease-time 360;
range 10.4.5.0 10.4.5.255;
}
}