From owner-freebsd-rc@FreeBSD.ORG Wed Oct 19 16:50:18 2005 Return-Path: X-Original-To: freebsd-rc@freebsd.org Delivered-To: freebsd-rc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 36EEE16A41F for ; Wed, 19 Oct 2005 16:50:18 +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 5847C43D4C for ; Wed, 19 Oct 2005 16:50:17 +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 j9JGoGnR025372; Wed, 19 Oct 2005 09:50:16 -0700 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.13.0/8.13.0/Submit) id j9JGoG13025370; Wed, 19 Oct 2005 09:50:16 -0700 Date: Wed, 19 Oct 2005 09:50:16 -0700 From: Brooks Davis To: Philipp Wuensche Message-ID: <20051019165016.GB20830@odin.ac.hmc.edu> References: <435412F7.2030906@h3q.com> <20051017215309.GH15097@odin.ac.hmc.edu> <4355B4AD.20001@h3q.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="yEPQxsgoJgBvi8ip" Content-Disposition: inline In-Reply-To: <4355B4AD.20001@h3q.com> 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: freebsd-rc@freebsd.org Subject: Re: alias configuration in rc.conf X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Oct 2005 16:50:18 -0000 --yEPQxsgoJgBvi8ip Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Oct 19, 2005 at 04:51:25AM +0200, Philipp Wuensche wrote: > Brooks Davis wrote: > > > > Finally modifications will be needed to rc.conf(5). >=20 > Here is what I made up for rc.conf(5): >=20 > One can configure more than one IP address with the > ipv4__addr variable. One or more IP addresses must > be provided in Classless Inter-Domain Routing (CIDR) address > notation, whose last byte can be a range like > 192.168.0.5-23/24. In this case the address 192.168.0.5 will > be configured with the netmask /24 and the addresses > 192.168.0.6 to 192.168.0.23 with the netmask /32. With the > interface in question being ed0, an example could look like: >=20 > ipv4_ed0_addr=3D"127.0.0.1/24 127.0.1.1-5/28" An example that is likely to actually work would probably go good (not using 127.0.0.1), but otherwise this seems fine. The patch to etc/network.subr looks good as well. The next step seems to be rolling up the full patch. -- 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 --yEPQxsgoJgBvi8ip Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFDVnlHXY6L6fI4GtQRArYiAJ0ROrLtSjq0UWWyXZ2zgdxRbMKhhwCfWLv4 ITWJFUFMqSvRxA+8/iD+ulk= =1MEP -----END PGP SIGNATURE----- --yEPQxsgoJgBvi8ip--