Date: Wed, 28 Sep 2005 13:14:18 +0200 From: Bernd Walter <ticso@cicely12.cicely.de> To: Yar Tikhiy <yar@comp.chem.msu.su> Cc: Bernd Walter <ticso@cicely12.cicely.de>, freebsd-current@freebsd.org, Gavin Atkinson <gavin.atkinson@ury.york.ac.uk>, freebsd-net@freebsd.org Subject: Re: "ifconfig -vlandev" syntax Message-ID: <20050928111418.GL54923@cicely12.cicely.de> In-Reply-To: <20050928110525.GF86457@comp.chem.msu.su> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050928111418.GL54923>