LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 09-12-2011, 04:50 PM   #1
Hambone_20003
Member
 
Registered: Feb 2005
Posts: 42

Rep: Reputation: 15
DHCP Server Configurations


Hello All,

I currently have 2 DHCP Servers setup with the fail-over peer statements for redundancy. I would like to add a third server to this pair in another location just in case I loose connection to the network where the first two servers are racked.

My question is has anyone added a 3rd fail over peer to there DHCP? Is this even a possibility or am I going to have to rsync the files from the other server to the third server and turn it up manually in the event of a failure?

Any advice or possible configuration setups that anyone has would be greatly appreciated.

Thank You

Brian
 
Old 09-12-2011, 06:10 PM   #2
dafydd2277
Member
 
Registered: Mar 2010
Posts: 58

Rep: Reputation: 5
Hi, HamBone,

According to the dhcpd.conf man page, it can't be done:

Quote:
The failover protocol allows two DHCP servers (and no more than two) to share a common address pool. Each server will have about half of the available IP addresses in the pool at any given time for allocation. If one server fails, the other server will continue to renew leases out of the pool, and will allocate new addresses out of the roughly half of available addresses that it had when communications with the other server were lost.
(I also note that failover only works for pools, so my assign-ip-addresses-from-a-central-config-file enterprise, using hostnames and "fixed-address," can't be set up for two redundant DHCP servers.)

Cheers!
dafydd
 
Old 09-13-2011, 07:18 AM   #3
Hambone_20003
Member
 
Registered: Feb 2005
Posts: 42

Original Poster
Rep: Reputation: 15
Dafydd2277,

Thank you for posting back. I read what you have posted and that is currently what I have setup. I have two servers that split the pool and will handle DHCP if the other goes down. I was looking to split the pool possibly 3 ways but your post also covers that. I will just have to Rsync the leases and conf files over to the other server every 5 minutes or so and manually turn it up in the event of a failure.
 
  


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
trying to understand DHCP configurations Skaperen Linux - Networking 4 02-08-2011 10:59 AM
Problem on acquiring IP addr. on client from dhcp server through dhcp relay server haariseshu Linux - Server 5 08-10-2009 01:20 AM
Instead of Router DHCP Server, Pass DHCP Server control to Slackware orbit Slackware 6 05-11-2009 02:00 AM
Mail Server Configurations stuartornum Linux - Server 1 03-16-2007 03:39 PM
Server Configurations jeffpoulsen Linux - General 4 02-12-2003 08:23 PM

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

All times are GMT -5. The time now is 08:57 AM.

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