LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-09-2017, 04:18 PM   #1
CyberIT
Member
 
Registered: Jun 2017
Posts: 56

Rep: Reputation: Disabled
Can ISC DHCPd Failover work with PXE Boot?


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;
  }
}

Last edited by CyberIT; 06-12-2017 at 04:17 PM.
 
Old 06-13-2017, 03:43 PM   #2
nini09
Senior Member
 
Registered: Apr 2009
Posts: 1,823

Rep: Reputation: 157Reputation: 157
The allow booting and allow bootp are relative to PXE. DHCP failover doesn't need it.
If your primary and second DHCP server use PXE booting, these two configuration should be included.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
"one-lease-per-client" option in ISC dhcpd dhcpd.conf file m4rtin Linux - Networking 3 09-27-2012 05:44 AM
Missing /etc/init.d/dhcpd from ISC DHCPD Quigi Linux - Networking 4 03-27-2008 09:50 PM
PXE booting an iso plus DHCPd won't work :S Person_1873 Linux - Newbie 8 02-15-2008 02:35 AM
ISC-DHCPD on specified interface only? zivota Linux - Networking 2 02-06-2007 03:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration