Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Nov 2019 20:49:18 +0300
From:      Dima Veselov <kab00m@lich.phys.spbu.ru>
To:        freebsd-questions@freebsd.org
Subject:   Re: DHCP server failover: advise is needed
Message-ID:  <943ea22c-ce4d-e6d0-2ee6-21dea3af075d@lich.phys.spbu.ru>
In-Reply-To: <53102df9-ca90-6338-7ff2-c370a42c690e@kicp.uchicago.edu>
References:  <53102df9-ca90-6338-7ff2-c370a42c690e@kicp.uchicago.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On 22.11.2019 20:00, Valeri Galtsev wrote:

I had been in same situation as you described, my advice may be handy.

> Could someone point to description of working DHCP failover configuration?

I used https://kb.isc.org/docs/aa-00502 as an instruction.

> I do not want to make two independent DHCP servers handling half of the 
> pool each. We are not that rich as far as IP space is concerned.

> I am not married to ISC DHCP server, so any one I can run on FreeBSD 
> will do, because:
> 
> <rant>
> My current configuration is something that was gradually migrated and/or 
> adjusted through several generations of systems, and server versions 
> over the years. It works. When I tried to incorporate what I need for 
> failover following ISC documentation, and some people's guides, I 
> discovered, I need more sophisticated structure of sections and 
> subsections, which I figured out finally. But the annoying part was: in 
> ISC documentation there is no general stricture of which section can 
> appear inside which; like:

Basically, ISC DHCPD allow described structures and nothing more. Being 
on your side I had to do some work like moving static hosts in main 
config and reorganize subnets. This seemed noisy but appeared quite 
easy. For detailed advice we need to see your config or questionable 
parts of it.

> So, I am not married to ISC DHCP server, we didn't get along now as far 
> as my use of documentation is concerned. Anything that works - with  > failover! - on FreeBSD will be great.

I can email you my own working configuration. General advice - try to 
make configuration as plain as it might be. If you have working subnets 
with working pools you just add failover peer and it start working.

-- 
Dima Veselov
Physics R&D Establishment of Saint-Petersburg University



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?943ea22c-ce4d-e6d0-2ee6-21dea3af075d>