From owner-freebsd-questions@FreeBSD.ORG Mon Apr 21 15:10:35 2003 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 B957337B401 for ; Mon, 21 Apr 2003 15:10:35 -0700 (PDT) Received: from sccrmhc03.attbi.com (sccrmhc03.attbi.com [204.127.202.63]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1BAAE43FB1 for ; Mon, 21 Apr 2003 15:10:35 -0700 (PDT) (envelope-from freebsduser@attbi.com) Received: from attbi.com (12-225-141-88.client.attbi.com[12.225.141.88]) by sccrmhc03.attbi.com (sccrmhc03) with SMTP id <20030421221033003008tlv8e>; Mon, 21 Apr 2003 22:10:34 +0000 Message-ID: <3EA46C5A.2060700@attbi.com> Date: Mon, 21 Apr 2003 15:10:34 -0700 From: K Anderson User-Agent: Mozilla/5.0 (X11; U; Linux i386; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Paul Hoffman References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-questions@FreeBSD.ORG Subject: Re: Running isc-dhcpd on two interfaces? 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: Mon, 21 Apr 2003 22:10:36 -0000 Paul Hoffman wrote: > Hi again. I have a box that has two interfaces on two nets, and I want > it to be a DHCP server for both nets. I installed isc-dhcpd from ports, > but it looks like it is pretty much hard-wired to only run once, using > just one config file. How do I make it work for two different interfaces ? > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > I'm running it on a multi-homed network and here's what I get on startup. And I've got three NICs. It's telling me, hey, I'm listening on ed1 and rl0 so who ever asks, I answer. :) Didn't do anything special. Hmm, you also might have a CLI switch that says to listen on a particular interface in a config file someplace. Internet Software Consortium DHCP Server V3.0.1rc11 Copyright 1995-2003 Internet Software Consortium. All rights reserved. For info, please visit http://www.isc.org/products/DHCP Wrote 0 deleted host decls to leases file. Wrote 0 new dynamic host decls to leases file. Wrote 10 leases to leases file. Multiple interfaces match the same subnet: rl0 ed1 Multiple interfaces match the same shared network: rl0 ed1 Listening on BPF/ed1/00:40:33:29:f0:c7/192.168.100.0/24 Sending on BPF/ed1/00:40:33:29:f0:c7/192.168.100.0/24 Listening on BPF/rl0/00:00:c5:b3:31:6c/192.168.100.0/24 Sending on BPF/rl0/00:00:c5:b3:31:6c/192.168.100.0/24 No subnet declaration for ed0 (my_ip.address.munged). ** Ignoring requests on ed0. If this is not what you want, please write a subnet declaration in your dhcpd.conf file for the network segment to which interface ed0 is attached. ** Sending on Socket/fallback/fallback-net