From owner-freebsd-questions@freebsd.org Tue Aug 16 11:13:22 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 758F1BBBD26 for ; Tue, 16 Aug 2016 11:13:22 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id ECEC814CA for ; Tue, 16 Aug 2016 11:13:20 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id u7GBD9vS090721; Tue, 16 Aug 2016 21:13:10 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Tue, 16 Aug 2016 21:13:09 +1000 (EST) From: Ian Smith To: Ernie Luzar cc: Alnis Morics , freebsd-questions@freebsd.org Subject: Re: dhcpd and interface name In-Reply-To: Message-ID: <20160816205252.C79687@sola.nimnet.asn.au> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Aug 2016 11:13:22 -0000 In freebsd-questions Digest, Vol 637, Issue 1, Message: 9 On Mon, 15 Aug 2016 07:58:03 -0400 Ernie Luzar wrote: > When starting dhcpd at boot time the rc.conf contains dhcpd_iface"rl0" > but when restarting using /usr/local/etc/rc.d/isc-dhcpd restart all > interfaces on the host get included. > > Is there a dhcpd.conf statement for defining the interface to use? Joe there's a typo, whether just in your messages or in your rc.conf: /usr/ports/net/isc-dhcp41-server/pkg-message: **** This port installs dhcp daemon, but doesn't invoke dhcpd by default. If you want to invoke dhcpd at startup, put these lines into /etc/rc.conf. dhcpd_enable="YES" # dhcpd enabled? dhcpd_flags="-q" # command option(s) dhcpd_conf="%%PREFIX%%/etc/dhcpd.conf" # configuration file dhcpd_ifaces="" # ethernet interface(s) dhcpd_withumask="022" # file creation mask [..] As Alnis already pointed out, it's dhcpd_ifaces, plural. Ian