From owner-freebsd-stable@FreeBSD.ORG Mon Feb 12 17:39:42 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 E967F16A402; Mon, 12 Feb 2007 17:39:42 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [83.120.8.8]) by mx1.freebsd.org (Postfix) with ESMTP id 71CB413C4C2; Mon, 12 Feb 2007 17:39:42 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (xabufw@localhost [127.0.0.1]) by lurza.secnetix.de (8.13.4/8.13.4) with ESMTP id l1CHdZ2M062102; Mon, 12 Feb 2007 18:39:41 +0100 (CET) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.13.4/8.13.1/Submit) id l1CHdZPO062101; Mon, 12 Feb 2007 18:39:35 +0100 (CET) (envelope-from olli) Date: Mon, 12 Feb 2007 18:39:35 +0100 (CET) Message-Id: <200702121739.l1CHdZPO062101@lurza.secnetix.de> From: Oliver Fromme To: freebsd-stable@FreeBSD.ORG, koitsu@FreeBSD.ORG, kevin@insidesystems.net, brooks@FreeBSD.ORG, joao@matik.com.br In-Reply-To: <20070212163652.GA51709@lor.one-eyed-alien.net> X-Newsgroups: list.freebsd-stable User-Agent: tin/1.8.2-20060425 ("Shillay") (UNIX) (FreeBSD/4.11-STABLE (i386)) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.1.2 (lurza.secnetix.de [127.0.0.1]); Mon, 12 Feb 2007 18:39:41 +0100 (CET) Cc: Subject: Re: Desired behaviour of "ifconfig -alias" X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-stable@FreeBSD.ORG, koitsu@FreeBSD.ORG, kevin@insidesystems.net, brooks@FreeBSD.ORG, joao@matik.com.br 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:39:43 -0000 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. > > > > Maybe it would make sense to remove "alias" from the rc.conf > > entries and simply number them. > > 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. That might work for simple cases, but how do you specify other parameters beside the IPs if you need to? I agree that the array traversal is somewhat hackish, but at least it works and provides a way to set all ifconfig parameters that you need. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, USt-Id: DE204219783 Any opinions expressed in this message are personal to the author and may not necessarily reflect the opinions of secnetix GmbH & Co KG in any way. FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "One of the main causes of the fall of the Roman Empire was that, lacking zero, they had no way to indicate successful termination of their C programs." -- Robert Firth