From owner-freebsd-questions@FreeBSD.ORG Thu Jan 1 16:28:04 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9109616A4CE for ; Thu, 1 Jan 2004 16:28:04 -0800 (PST) Received: from mail3.panix.com (mail3.panix.com [166.84.1.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id CC98543D66 for ; Thu, 1 Jan 2004 16:27:42 -0800 (PST) (envelope-from stanb@panix.com) Received: from panix.com (brillig.panix.com [166.84.1.76]) by mail3.panix.com (Postfix) with ESMTP id 00CEB9851D for ; Thu, 1 Jan 2004 19:27:42 -0500 (EST) Received: from teddy.fas.com (pcp01010374pcs.mplsnt01.sc.comcast.net [68.58.176.69]) by panix.com (Postfix) with ESMTP id EC4012AA48 for ; Thu, 1 Jan 2004 19:27:40 -0500 (EST) Received: from stan by teddy.fas.com with local (Exim 3.36 #1 (Debian)) id 1AcDAC-00034A-00 for ; Thu, 01 Jan 2004 19:27:40 -0500 Date: Thu, 1 Jan 2004 19:27:40 -0500 From: stan To: Free BSD Questions list Message-ID: <20040102002740.GC11556@teddy.fas.com> Mail-Followup-To: Free BSD Questions list Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Editor: gVim X-Operating-System: Debian GNU/Linux X-Kernel-Version: 2.4.23 X-Uptime: 19:19:34 up 7 days, 2:10, 2 users, load average: 0.22, 0.13, 0.09 User-Agent: Mutt/1.5.4i Sender: Stan Brown Subject: ISC dhcpd serve configuration question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Jan 2004 00:28:04 -0000 I'm still trying to get ISC dhcp to work in a "redundnat" fashion where I have 2 machines, and they share an address pool. Here's where I am on this. Well I thoguht I had it working for a minute. The executbale is _really_ picky about the syntax od the config file, and I found some help at: http://www.lithodyne.net/docs/dhcp/dhcp-4.html#ss4.3 So, I wound up with this on the master machine: # dhcpd.conf # # Sample configuration file for ISC dhcpd # # option definitions common to all supported networks... option domain-name "fas.com"; option domain-name-servers 205.159.77.224, 205.159.77.225; default-lease-time 600; max-lease-time 7200; # If this DHCP server is the official DHCP server for the local # network, the authoritative directive should be uncommented. authoritative; # ad-hoc DNS update scheme - set to "none" to disable dynamic DNS updates. ddns-update-style interim; ignore client-updates; option domain-name "fas.com"; ddns-domainname "fas.com"; zone fas.com. { primary 127.0.0.1; } # Use this to send dhcp log messages to a different log file (you also # have to hack syslog.conf to complete the redirection). # log-facility local7; # No service will be given on this subnet, but declaring it helps the # DHCP server to understand the network topology. subnet 10.152.187.0 netmask 255.255.255.0 { } failover peer "pool" { primary; address black.fas.com; port 519; peer address cindy.fas.com; peer port 520; split 128; max-response-delay 60; max-unacked-updates 10; mclt 3600; load balance max seconds 3; } subnet 205.159.77.0 netmask 255.255.255.0 { pool { failover peer "pool"; range 205.159.77.50 205.159.77.75; deny dynamic bootp clients; } option routers 205.159.77.234; } And this on the slave: # dhcpd.conf # # Sample configuration file for ISC dhcpd # # option definitions common to all supported networks... option domain-name "fas.com"; option domain-name-servers 205.159.77.224, 205.159.77.225; default-lease-time 600; max-lease-time 7200; # If this DHCP server is the official DHCP server for the local # network, the authoritative directive should be uncommented. authoritative; # ad-hoc DNS update scheme - set to "none" to disable dynamic DNS updates. ddns-update-style interim; ignore client-updates; option domain-name "fas.com"; ddns-domainname "fas.com"; zone fas.com. { primary 127.0.0.1; } # Use this to send dhcp log messages to a different log file (you also # have to hack syslog.conf to complete the redirection). # log-facility local7; # No service will be given on this subnet, but declaring it helps the # DHCP server to understand the network topology. subnet 10.152.187.0 netmask 255.255.255.0 { } failover peer "pool" { secondary; address cindy.fas.com; port 519; peer address black.fas.com; peer port 520; max-response-delay 60; max-unacked-updates 10; mclt 3600; load balance max seconds 3; } subnet 205.159.77.0 netmask 255.255.255.0 { pool { failover peer "pool"; range 205.159.77.50 205.159.77.75; deny dynamic bootp clients; } option routers 205.159.77.234; } And both sides started up OK. But when I booted one of the OpenBSD machines as a client it failed to get an address. Looking at tcpdump it _si_ a bootp packet that it sends, so I'm wondering if this line is the problem? deny dynamic bootp clients; Any ideas? -- "They that would give up essential liberty for temporary safety deserve neither liberty nor safety." -- Benjamin Franklin