From owner-freebsd-stable@FreeBSD.ORG Tue Feb 21 00:47:06 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A2FA816A422 for ; Tue, 21 Feb 2006 00:47:06 +0000 (GMT) (envelope-from miguel@anjos.strangled.net) Received: from mailrly07.isp.novis.pt (mailrly07.isp.novis.pt [195.23.133.217]) by mx1.FreeBSD.org (Postfix) with ESMTP id 52FBA43D5F for ; Tue, 21 Feb 2006 00:47:01 +0000 (GMT) (envelope-from miguel@anjos.strangled.net) Received: (qmail 27794 invoked from network); 21 Feb 2006 00:46:59 -0000 Received: from unknown (HELO mailfrt02.isp.novis.pt) ([195.23.133.194]) (envelope-sender ) by mailrly07.isp.novis.pt with compressed SMTP; 21 Feb 2006 00:46:59 -0000 Received: (qmail 26419 invoked from network); 21 Feb 2006 00:46:59 -0000 Received: from unknown (HELO compaq.anjos.strangled.net) ([87.196.195.154]) (envelope-sender ) by mailfrt02.isp.novis.pt with SMTP; 21 Feb 2006 00:46:59 -0000 Received: from compaq.anjos.strangled.net (localhost [127.0.0.1]) by compaq.anjos.strangled.net (8.13.4/8.13.4) with ESMTP id k1L0ktuk006707 for ; Tue, 21 Feb 2006 00:46:56 GMT (envelope-from miguel@compaq.anjos.strangled.net) Received: (from miguel@localhost) by compaq.anjos.strangled.net (8.13.4/8.13.4/Submit) id k1L0AeTJ005368 for freebsd-stable@freebsd.org; Tue, 21 Feb 2006 00:10:40 GMT (envelope-from miguel) Date: Tue, 21 Feb 2006 00:10:40 GMT From: Miguel Lopes Santos Ramos Message-Id: <200602210010.k1L0AeTJ005368@compaq.anjos.strangled.net> To: freebsd-stable@freebsd.org In-Reply-To: <20060220135523.W66460@extra.rwsystems.net> Subject: Re: Ifconfig with rc.conf Broken 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: Tue, 21 Feb 2006 00:47:06 -0000 > From: James Wyatt > Subject: Re: Ifconfig with rc.conf Broken > > Don't alias interfaces have to be added to the "network_interfaces=" line? > I thought only "real" interfaces were autodetected... I don't think this is the case. It shouldn't be... But MC can test that using ifconfig -l > On Mon, 20 Feb 2006, MC wrote: > > From: MC > > Subject: Ifconfig with rc.conf Broken > > > > Bizarre behavior with configuring the main interface IP with rc.conf: > > > > ifconfig_bge0="inet 10.0.0.15 netmask 0xffffff00" > > ifconfig_bge0_alias0="inet 10.0.0.16 netmask 0xffffffff" # Sample alias entry. > > defaultrouter="10.0.0.10" > > > > Doesn't configure the bge0 interface! But: > > > > ifconfig bge0 10.0.0.8 netmask 0xffffffff alias > > > > works fine in rc.local. Also configuration from command line in > > multiuser mode works fine, although I notice messages about bge0 going > > down, then another about it coming back up upon adding the main IP > > I apparently have identical behavior from another machine with an fxp0 > > interface, from 6.1-PRERELEASE cvsuped on Sunday I have 6.1-PRERELEASE #3, compiled on Feb 14, and it works for me... I have: ifconfig_fxp0="inet 192.168.0.2 netmask 255.255.255.0" ifconfig_fxp0_alias0="inet 192.168.0.1 netmask 255.255.255.255" try ifconfig -l