From owner-freebsd-questions@freebsd.org Fri Nov 22 17:00:15 2019 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 334EE1BC2BB for ; Fri, 22 Nov 2019 17:00:15 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from kicp.uchicago.edu (kicp.uchicago.edu [128.135.20.70]) by mx1.freebsd.org (Postfix) with ESMTP id 47KN322xcZz40MM for ; Fri, 22 Nov 2019 17:00:14 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from point.uchicago.edu (point.uchicago.edu [128.135.52.6]) (Authenticated sender: galtsev) by kicp.uchicago.edu (Postfix) with ESMTPSA id A210C4E632 for ; Fri, 22 Nov 2019 11:00:13 -0600 (CST) To: FreeBSD Mailing List From: Valeri Galtsev Subject: DHCP server failover: advise is needed Message-ID: <53102df9-ca90-6338-7ff2-c370a42c690e@kicp.uchicago.edu> Date: Fri, 22 Nov 2019 11:00:13 -0600 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.2.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 47KN322xcZz40MM X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=uchicago.edu (policy=none); spf=none (mx1.freebsd.org: domain of galtsev@kicp.uchicago.edu has no SPF policy when checking 128.135.20.70) smtp.mailfrom=galtsev@kicp.uchicago.edu X-Spamd-Result: default: False [-1.55 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; DMARC_POLICY_SOFTFAIL(0.10)[uchicago.edu : No valid SPF, No valid DKIM,none]; NEURAL_HAM_MEDIUM(-0.95)[-0.948,0]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.87)[-0.867,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(0.16)[ip: (0.45), ipnet: 128.135.0.0/16(0.22), asn: 160(0.18), country: US(-0.05)]; TO_DN_ALL(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[70.20.135.128.list.dnswl.org : 127.0.10.0]; R_SPF_NA(0.00)[]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:160, ipnet:128.135.0.0/16, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Nov 2019 17:00:15 -0000 Dear Experts, I was running ISC DHCP server for longer than I would care to remember. Now I decided to climb out of the cave and configure failover set (primary-secondary), and I seem to hit brick wall, which I need help with. I only need IP v4, no v6, which may simplify things. Could someone point to description of working DHCP failover configuration? 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: 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: a { b { c { } } } You can create each of sections/subsections following documentation, but to put them together making consistent config file you (I at least) have to figure on your own which section goes inside of which. 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. Thanks in advance for all your answers! Valeri -- ++++++++++++++++++++++++++++++++++++++++ Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247 ++++++++++++++++++++++++++++++++++++++++