From owner-freebsd-questions Fri Apr 17 01:19:29 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA04383 for freebsd-questions-outgoing; Fri, 17 Apr 1998 01:19:29 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from freebie.lemis.com (freebie.lemis.com [139.130.136.133]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA04310 for ; Fri, 17 Apr 1998 08:19:20 GMT (envelope-from grog@lemis.com) Received: (from grog@localhost) by freebie.lemis.com (8.8.8/8.8.7) id RAA27720; Fri, 17 Apr 1998 17:49:13 +0930 (CST) (envelope-from grog) Message-ID: <19980417174913.S1090@freebie.lemis.com> Date: Fri, 17 Apr 1998 17:49:13 +0930 From: Greg Lehey To: chas , freebsd-questions@FreeBSD.ORG Subject: Re: How does FBSD choose which NIC to make primary ? References: <3.0.32.19980417105416.00eabfd0@peace.com.my> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: <3.0.32.19980417105416.00eabfd0@peace.com.my>; from chas on Fri, Apr 17, 1998 at 10:32:01AM +0800 WWW-Home-Page: http://www.lemis.com/~grog Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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