Date: Sun, 1 Aug 2004 17:02:42 -0400 From: Louis LeBlanc <FreeBSD@keyslapper.org> To: FreeBSD Questions <freebsd-questions@FreeBSD.org> Subject: multiple fxp nics - how do I make them play nice? Message-ID: <20040801210242.GC35481@keyslapper.org>
next in thread | raw e-mail | index | archive | help
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: <Intel 82557 Pro/100 Ethernet> 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: <MII bus> on fxp0 inphy0: <i82555 10/100 media interface> on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp1: <Intel 82801BA (D865) Pro/100 VE Ethernet> port 0xdf40-0xdf7f mem 0xfcdef000-0xfcdeffff irq 20 at device 8.0 on pci2 fxp1: Ethernet address 00:11:11:02:20:43 miibus1: <MII bus> on fxp1 inphy1: <i82562ET 10/100 media interface> 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!"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040801210242.GC35481>