From owner-freebsd-current@FreeBSD.ORG Mon Jun 27 16:43:26 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 05EAE16A41C; Mon, 27 Jun 2005 16:43:26 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id D4D9043D1D; Mon, 27 Jun 2005 16:43:25 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.13.0/8.13.0) with ESMTP id j5RGhP5L019114; Mon, 27 Jun 2005 09:43:25 -0700 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.13.0/8.13.0/Submit) id j5RGhPvk019113; Mon, 27 Jun 2005 09:43:25 -0700 Date: Mon, 27 Jun 2005 09:43:25 -0700 From: Brooks Davis To: Robert Watson Message-ID: <20050627164325.GB16732@odin.ac.hmc.edu> References: <20050619011903.X56734@fledge.watson.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="hHWLQfXTYDoKhP50" Content-Disposition: inline In-Reply-To: <20050619011903.X56734@fledge.watson.org> User-Agent: Mutt/1.4.1i X-Virus-Scanned: by amavisd-new X-Spam-Status: No, hits=0.0 required=8.0 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on odin.ac.hmc.edu Cc: current@freebsd.org Subject: Re: 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: Mon, 27 Jun 2005 16:43:26 -0000 --hHWLQfXTYDoKhP50 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jun 19, 2005 at 01:24:09AM +0100, Robert Watson wrote: >=20 > With the new dhclient arrangement, it looks like we almost support the=20 > following syntax: >=20 > ifconfig_sis0=3D"ether 00:XX:XX:XX:XX:XX DHCP" >=20 > In that the boot sequence appears to automatically try DHCP after doing= =20 > the ifconfig line. This is great. However, it looks like the detection= =20 > of interfaces to use "-dynamic" with in /etc/rc.d/natd no longer works.= =20 > Specifically, when I use the above syntax in rc.conf and run sh=20 > /etc/rc.d/natd start, I get the following: >=20 > natdnatd: sis0: cannot get interface address >=20 > If I manually launch natd with -dynamic, then it does work properly again= .=20 > If I remove the extended ether segment of the ifconfig line, it works=20 > again also. So it looks like 'list_net_interfaced dhcp' isn't matching th= e=20 > sis0 interface in the above example? The check is broken in that case, I'm going to fix it this week (assuming someone hasn't done it for me already). -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --hHWLQfXTYDoKhP50 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFCwCysXY6L6fI4GtQRAqZcAKCGimDGKS/2hno42+9MCACEINKq0gCfRU39 6Jr65BcEQmPFKyG5RPOHzgg= =ymUf -----END PGP SIGNATURE----- --hHWLQfXTYDoKhP50--