From owner-freebsd-questions@FreeBSD.ORG Sun Aug 1 21:02:35 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 84B4816A4CE for ; Sun, 1 Aug 2004 21:02:35 +0000 (GMT) Received: from out003.verizon.net (out003pub.verizon.net [206.46.170.103]) by mx1.FreeBSD.org (Postfix) with ESMTP id 18E9743D1F for ; Sun, 1 Aug 2004 21:02:35 +0000 (GMT) (envelope-from leblanc@keyslapper.org) Received: from localhost ([141.154.19.31]) by out003.verizon.net (InterMail vM.5.01.06.06 201-253-122-130-106-20030910) with ESMTP id <20040801210234.BPQP26805.out003.verizon.net@localhost> for ; Sun, 1 Aug 2004 16:02:34 -0500 Received: from keyslapper.org (localhost [127.0.0.1]) by localhost (8.12.11/8.12.11) with ESMTP id i71L2h9a039512 for ; Sun, 1 Aug 2004 17:02:43 -0400 (EDT) (envelope-from leblanc@keyslapper.org) Received: (from leblanc@localhost) by keyslapper.org (8.12.11/8.12.11/Submit) id i71L2gvQ039511 for freebsd-questions@FreeBSD.org; Sun, 1 Aug 2004 17:02:42 -0400 (EDT) (envelope-from leblanc) Date: Sun, 1 Aug 2004 17:02:42 -0400 From: Louis LeBlanc To: FreeBSD Questions Message-ID: <20040801210242.GC35481@keyslapper.org> Mail-Followup-To: FreeBSD Questions Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.5.6i X-Authentication-Info: Submitted using SMTP AUTH at out003.verizon.net from [141.154.19.31] at Sun, 1 Aug 2004 16:02:33 -0500 Subject: multiple fxp nics - how do I make them play nice? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd-questions@FreeBSD.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Aug 2004 21:02:35 -0000 Hey again everyone. I'm trying to get two network cards working on the same FreeBSD 5.2.1 box, which would normally be pretty trivial, except they're both on the fxp driver. I have them booting up, but As I suspected, the onboard nic dropped down to fpx1 while the newly installed nic hijacked fpx0. Here's the relevant info from /var/run/dmesg.boot: fxp0: port 0xdf00-0xdf1f mem 0xfce00000-0xfcefffff,0xf8000000-0xf8000fff irq 21 at device 0.0 on pci2 fxp0: Ethernet address 00:a0:c9:74:12:48 miibus0: on fxp0 inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp1: port 0xdf40-0xdf7f mem 0xfcdef000-0xfcdeffff irq 20 at device 8.0 on pci2 fxp1: Ethernet address 00:11:11:02:20:43 miibus1: on fxp1 inphy1: on miibus1 inphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto The ethernet addresses are what tells me the nics swapped out. Before installing the second nic, fxp0 (the onboard nic) was falling on irq 20 with ethernet address 00:11:11:01:20:43. I guess I don't really care all that much, but just to be sure they don't try connecting the wrong network if the other dies, I'd like to force them to a specific device. I vaguely remember something about hints in /boot/device.hints but I'm not sure I like the idea of 'guessing' the right way to do this. I didn't find it in the FAQ or the FM, but I know that doesn't mean it's not there. I'd appreciate the pointer or the quick and dirty howto. TIA Lou -- Louis LeBlanc FreeBSD@keyslapper.org Fully Funded Hobbyist, KeySlapper Extrordinaire :) http://www.keyslapper.org ԿԬ QOTD: "What do you mean, you had the dog fixed? Just what made you think he was broken!"