From owner-freebsd-stable@FreeBSD.ORG Mon Feb 12 17:59:41 2007 Return-Path: X-Original-To: freebsd-stable@FreeBSD.ORG Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C02C616A402; Mon, 12 Feb 2007 17:59:41 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net (grnl-static-02-0046.dsl.iowatelecom.net [69.66.56.110]) by mx1.freebsd.org (Postfix) with ESMTP id 7F93713C491; Mon, 12 Feb 2007 17:59:41 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net (localhost [127.0.0.1]) by lor.one-eyed-alien.net (8.13.8/8.13.8) with ESMTP id l1CHxe4C052838; Mon, 12 Feb 2007 11:59:40 -0600 (CST) (envelope-from brooks@lor.one-eyed-alien.net) Received: (from brooks@localhost) by lor.one-eyed-alien.net (8.13.8/8.13.8/Submit) id l1CHxeit052837; Mon, 12 Feb 2007 11:59:40 -0600 (CST) (envelope-from brooks) Date: Mon, 12 Feb 2007 11:59:40 -0600 From: Brooks Davis To: freebsd-stable@FreeBSD.ORG, koitsu@FreeBSD.ORG, kevin@insidesystems.net, brooks@FreeBSD.ORG, joao@matik.com.br Message-ID: <20070212175940.GA52751@lor.one-eyed-alien.net> References: <20070212163652.GA51709@lor.one-eyed-alien.net> <200702121739.l1CHdZPO062101@lurza.secnetix.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="sm4nu43k4a2Rpi4c" Content-Disposition: inline In-Reply-To: <200702121739.l1CHdZPO062101@lurza.secnetix.de> User-Agent: Mutt/1.5.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (lor.one-eyed-alien.net [127.0.0.1]); Mon, 12 Feb 2007 11:59:40 -0600 (CST) Cc: Subject: Re: Desired behaviour of "ifconfig -alias" X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Feb 2007 17:59:41 -0000 --sm4nu43k4a2Rpi4c Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Feb 12, 2007 at 06:39:35PM +0100, Oliver Fromme wrote: > Brooks Davis wrote: > > Oliver Fromme wrote: > > > Jeremy Chadwick wrote: > > > > Oliver Fromme wrote: > > > > FWIW, I still use alias/-alias. Mainly because that's what has > > > > existed historically, and the term "alias" is what is used in > > > > reference to rc.conf ifconfig_iface_aliasX entries. > > >=20 > > > Maybe it would make sense to remove "alias" from the rc.conf > > > entries and simply number them. > >=20 > > ipv4_addrs_ is a much better replacement IMO. It's easy to > > use and doesn't required the hackish pseudo array traversal used by > > ifconfig_iface_aliasX. >=20 > That might work for simple cases, but how do you specify > other parameters beside the IPs if you need to? What do you need to set? It's sets IP and netmask. It doesn't handle broadcast, but I'd be pretty suprised if that's needed often. What else is needed? Axing ifconfig_iface_aliasX is not needed, but reducing the visiability of the interface in the documentation is probably in order particularly since it's quite fragile since you have to renumber whenever you remove an entry. -- Brooks --sm4nu43k4a2Rpi4c Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFF0KsLXY6L6fI4GtQRAtQJAKCb0v75Laquzw+RI5WgMjDcBJQ9kACfYP/W dQZzULX+zxpAIZltd60WVyM= =mOcb -----END PGP SIGNATURE----- --sm4nu43k4a2Rpi4c--