From owner-freebsd-net@FreeBSD.ORG Wed Sep 28 11:14:53 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ECC5D16A41F; Wed, 28 Sep 2005 11:14:53 +0000 (GMT) (envelope-from ticso@cicely12.cicely.de) Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id B283143D4C; Wed, 28 Sep 2005 11:14:52 +0000 (GMT) (envelope-from ticso@cicely12.cicely.de) Received: from cicely5.cicely.de (cicely5.cicely.de [10.1.1.7]) (authenticated bits=0) by srv1.cosmo-project.de (8.12.10/8.12.10) with ESMTP id j8SBEcBS088849 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Wed, 28 Sep 2005 13:14:41 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (cicely12.cicely.de [10.1.1.14]) by cicely5.cicely.de (8.12.10/8.12.10) with ESMTP id j8SBEJeG065623 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 28 Sep 2005 13:14:20 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (localhost [127.0.0.1]) by cicely12.cicely.de (8.13.4/8.13.3) with ESMTP id j8SBEJ9e062029; Wed, 28 Sep 2005 13:14:19 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: (from ticso@localhost) by cicely12.cicely.de (8.13.4/8.13.3/Submit) id j8SBEJFW062028; Wed, 28 Sep 2005 13:14:19 +0200 (CEST) (envelope-from ticso) Date: Wed, 28 Sep 2005 13:14:18 +0200 From: Bernd Walter To: Yar Tikhiy Message-ID: <20050928111418.GL54923@cicely12.cicely.de> References: <20050922104104.GA13539@comp.chem.msu.su> <20050925213741.GG15981@odin.ac.hmc.edu> <1127686105.23447.35.camel@buffy.york.ac.uk> <20050925225432.GH552@cicely12.cicely.de> <20050928103241.GC86457@comp.chem.msu.su> <20050928105742.GJ54923@cicely12.cicely.de> <20050928110525.GF86457@comp.chem.msu.su> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050928110525.GF86457@comp.chem.msu.su> X-Operating-System: FreeBSD cicely12.cicely.de 5.4-STABLE alpha User-Agent: Mutt/1.5.9i X-Spam-Status: No, score=-5.9 required=3.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.4 X-Spam-Report: * -3.3 ALL_TRUSTED Did not pass through any untrusted hosts * -2.6 BAYES_00 BODY: Bayesian spam probability is 0 to 1% * [score: 0.0000] X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on cicely12.cicely.de Cc: Bernd Walter , freebsd-current@freebsd.org, Gavin Atkinson , freebsd-net@freebsd.org Subject: Re: "ifconfig -vlandev" syntax X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ticso@cicely.de List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Sep 2005 11:14:54 -0000 On Wed, Sep 28, 2005 at 03:05:25PM +0400, Yar Tikhiy wrote: > On Wed, Sep 28, 2005 at 12:57:42PM +0200, Bernd Walter wrote: > > On Wed, Sep 28, 2005 at 02:32:41PM +0400, Yar Tikhiy wrote: > > > On Mon, Sep 26, 2005 at 12:54:33AM +0200, Bernd Walter wrote: > > > > > > > What doesn't work is this: > > > > ifconfig_vlan1_alias0="1.2.3.4/32" > > > > I had to configure them by a selfdone script. > > > > > > Adding aliases on vlanX this way has been working for me. Could > > > you check if prepending the "inet" keyword before the address changes > > > anything? I prefer to specify address family explicitly in my > > > rc.conf files. E.g.: > > > > > > ifconfig_vlan1_alias0="inet 1.2.3.4/32" > > > > Sorry, but the configuration is used on a production machine that > > I can't do tests on. > > Just tested without "inet", and it still worked for me. Damn - I have a typo in the variable name. That explains everything... -- B.Walter BWCT http://www.bwct.de bernd@bwct.de info@bwct.de