Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Apr 1998 17:49:13 +0930
From:      Greg Lehey <grog@lemis.com>
To:        chas <panda@peace.com.my>, freebsd-questions@FreeBSD.ORG
Subject:   Re: How does FBSD choose which NIC to make primary ?
Message-ID:  <19980417174913.S1090@freebie.lemis.com>
In-Reply-To: <3.0.32.19980417105416.00eabfd0@peace.com.my>; from chas on Fri, Apr 17, 1998 at 10:32:01AM %2B0800
References:  <3.0.32.19980417105416.00eabfd0@peace.com.my>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 17 April 1998 at 10:32:01 +0800, chas wrote:
> Initially, I had one 3C3509 NIC (ISA) at ep0.
> Everything was working fine.
>
> I added a 3C900 (PCI) and it was recognised
> immediately at vx0. (Hey, this is better than PnP ;)
>
> On reboot, I specified an ifconfig for ep0 but not
> vx0 in /etc/rc.conf.
> ifconfig -a showed that ep0 was indeed active but
> no network communications were possible with this
> interface.
>
> So, I changed /etc/rc.conf to use vx0 and on next
> reboot, full communications were restored.
>
> I'm just wondering : how does FBSD decide which card
> should be used (and hence specified in /etc/rc.conf) ?

It doesn't.  UNIX doesn't have the concept of a "primary" NIC.  Each
NIC is responsible for the network addresses that you assign to it.

If you're having trouble with the ep0 interface when the 3C900 board
is present but inactive, it suggests to me a hardware conflict (IRQ or
I/O address).

Greg
--
See complete headers for address and phone numbers
finger grog@lemis.com for PGP public key

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980417174913.S1090>