Re: Ifconfig with rc.conf Broken

2006-02-20 Thread Matthew D. Fuller
On Mon, Feb 20, 2006 at 01:56:47PM -0600 I heard the voice of
James Wyatt, and lo! it spake thus:
>
> Don't alias interfaces have to be added to the "network_interfaces="
> line?  I thought only "real" interfaces were autodetected...

I think you're thinking of interface name aliases, not additional
addresses on interfaces.


-- 
Matthew Fuller (MF4839)   |  [EMAIL PROTECTED]
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/
   On the Internet, nobody can hear you scream.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Ifconfig with rc.conf Broken

2006-02-20 Thread Miguel Lopes Santos Ramos
> From: James Wyatt <[EMAIL PROTECTED]>
> 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 <[EMAIL PROTECTED]>
> > 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 0xff00"
> > ifconfig_bge0_alias0="inet 10.0.0.16 netmask 0x" # Sample alias 
> > entry.
> > defaultrouter="10.0.0.10"
> >
> > Doesn't configure the bge0 interface!  But:
> >
> > ifconfig bge0 10.0.0.8 netmask 0x 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
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Ifconfig with rc.conf Broken

2006-02-20 Thread James Wyatt
Don't alias interfaces have to be added to the "network_interfaces=" line? 
I thought only "real" interfaces were autodetected...


On Mon, 20 Feb 2006, MC wrote:

Date: Mon, 20 Feb 2006 11:20:21 -0800
From: MC <[EMAIL PROTECTED]>
To: freebsd-stable@freebsd.org
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 0xff00"
ifconfig_bge0_alias0="inet 10.0.0.16 netmask 0x" # Sample alias entry.
defaultrouter="10.0.0.10"

Doesn't configure the bge0 interface!  But:

ifconfig bge0 10.0.0.8 netmask 0x 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
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"



___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Ifconfig with rc.conf Broken

2006-02-20 Thread MC
Bizarre behavior with configuring the main interface IP with rc.conf:

ifconfig_bge0="inet 10.0.0.15  netmask 0xff00"
ifconfig_bge0_alias0="inet 10.0.0.16 netmask 0x" # Sample alias entry.
defaultrouter="10.0.0.10"

Doesn't configure the bge0 interface!  But:

ifconfig bge0 10.0.0.8 netmask 0x 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
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"