Ifconfig with rc.conf Broken
Miguel Lopes Santos Ramos
miguel at anjos.strangled.net
Mon Feb 20 16:47:06 PST 2006
> From: James Wyatt <jwyatt at RWSystems.net>
> 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 <rossiya at gmail.com>
> > 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...
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
More information about the freebsd-stable