LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 07-08-2014, 03:09 PM   #1
ipcipher
LQ Newbie
 
Registered: Jul 2014
Posts: 2

Rep: Reputation: Disabled
Redundant DHCP server


I am trying to setup two DHCP servers one as the primary and the other as a secondary. I have applied the configuration listed below and the DHCP servers are not responding to DHCP request from clients. The ultimate goal is to have the secondary pick up if the primary DHCP goes down. Has anyone configured DHCP this way? If so can you help me?


dhcpd.conf
Primary
failover peer "dhcp-failover" {
primary; # declare this to be the primary server
address 10.10.1.2;
port 620;
peer address 10.10.1.3;
peer port 619;
max-response-delay 30;
max-unacked-updates 10;
load balance max seconds 3;
mclt 1800;
split 128;
}

subnet 10.10.1.0 netmask 255.255.255.0 {
range 10.10.1.20 10.10.1.20;
}
host PC2 {
hardware ethernet 00:00:00:00:00:02;
fixed-address 10.10.1.20; }
host PC3 {
hardware ethernet 00:00:00:00:00:03;
fixed-address 10.10.1.25; }

--------------------------------------------
dhcpd.conf
Secondary
failover peer "dhcp-failover" {
secondary; # declare this to be the secondary server
address 10.10.1.3;
port 619;
peer address 10.10.1.2;
peer port 620;
max-response-delay 30;
max-unacked-updates 10;
load balance max seconds 3;
}

subnet 10.10.1.0 netmask 255.255.255.0 {
range 10.10.1.20 10.10.1.20;
}

host PC2 {
hardware ethernet 00:00:00:00:00:02;
fixed-address 10.10.1.20; }
host PC3 {
hardware ethernet 00:00:00:00:00:03;
fixed-address 10.10.1.25; }
 
Old 07-08-2014, 03:41 PM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,156

Rep: Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266
Why do you think the conf files are relevant? Have you checked if the processes are running? Have you checked the messages file? Have you checked your firewall settings?
 
Old 07-08-2014, 05:53 PM   #3
ipcipher
LQ Newbie
 
Registered: Jul 2014
Posts: 2

Original Poster
Rep: Reputation: Disabled
I don’t know that the conf files are relevant or not. I posted them to let people know what I have done so far. I have check the message file (/var/log/messages) and I can't find anything useful. I wasn't sure how to permanently open firewall ports on Linux so I haven’t done anything with the ports yet. Can you provide me a quick guide on how to open ports?
 
  


Reply



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
Best Way to Setup a Redundant Server Solution birdy1982 Red Hat 4 09-06-2008 01:27 PM
Redundant Web Server arktik Linux - Server 2 01-05-2008 08:00 PM
Trying to create Redundant Server helptonewbie Linux - Networking 4 08-09-2006 09:05 AM
redundant dhcp server stategy egarnel Linux - Networking 0 01-29-2005 02:28 PM
Redundant Mail Server minor Linux - General 4 07-20-2001 11:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:24 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