From owner-freebsd-current@FreeBSD.ORG Sun Jun 19 00:21:36 2005 Return-Path: X-Original-To: current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CB4A416A41C for ; Sun, 19 Jun 2005 00:21:36 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [204.156.12.53]) by mx1.FreeBSD.org (Postfix) with ESMTP id A3DC543D1D for ; Sun, 19 Jun 2005 00:21:36 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by cyrus.watson.org (Postfix) with ESMTP id 56F1C46B89 for ; Sat, 18 Jun 2005 20:21:36 -0400 (EDT) Date: Sun, 19 Jun 2005 01:24:09 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: current@FreeBSD.org Message-ID: <20050619011903.X56734@fledge.watson.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Subject: dhclient changes: ifconfig_sisXX="... DHCP" almost works right with natd X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Jun 2005 00:21:36 -0000 With the new dhclient arrangement, it looks like we almost support the following syntax: ifconfig_sis0="ether 00:XX:XX:XX:XX:XX DHCP" In that the boot sequence appears to automatically try DHCP after doing the ifconfig line. This is great. However, it looks like the detection of interfaces to use "-dynamic" with in /etc/rc.d/natd no longer works. Specifically, when I use the above syntax in rc.conf and run sh /etc/rc.d/natd start, I get the following: natdnatd: sis0: cannot get interface address If I manually launch natd with -dynamic, then it does work properly again. If I remove the extended ether segment of the ifconfig line, it works again also. So it looks like 'list_net_interfaced dhcp' isn't matching the sis0 interface in the above example? Robert N M Watson