From owner-freebsd-questions Thu Jun 1 8: 8: 7 2000 Delivered-To: freebsd-questions@freebsd.org Received: from eagle.prod.itd.earthlink.net (eagle.prod.itd.earthlink.net [207.217.120.24]) by hub.freebsd.org (Postfix) with ESMTP id 52E2337BA87 for ; Thu, 1 Jun 2000 08:08:04 -0700 (PDT) (envelope-from eogren@earthlink.net) Received: from rod.darktech.org (ip83.cambridge2.ma.pub-ip.psi.net [38.32.112.83]) by eagle.prod.itd.earthlink.net (8.9.3/8.9.3) with ESMTP id IAA12677; Thu, 1 Jun 2000 08:07:59 -0700 (PDT) Received: (from eogren@localhost) by rod.darktech.org (8.10.1/8.10.1) id e51F9Ca04368; Thu, 1 Jun 2000 11:09:12 -0400 (EDT) Date: Thu, 1 Jun 2000 11:09:12 -0400 From: Eric Ogren To: Fred Clift Cc: freebsd-questions@FreeBSD.ORG Subject: Re: change in pci bus probe order between 3.2 and 4.0? Message-ID: <20000601110912.A4341@earthlink.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: ; from fred@veriohosting.com on Thu, Jun 01, 2000 at 08:53:59AM -0600 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Jun 01, 2000 at 08:53:59AM -0600, Fred Clift wrote: > In 4.0 it seems that pci3, then pci2 then pci1 then pci0 are being probed, > finding the cards in the other order, and swapping what is fxp0 and fxp1. > > The problem is that the cards get swapped. It's a long story why just > switching the cables on the cards isn't really an option (lots of > machines, wiring in racks of lots of machines shouldn't depend on which > kernel or even which os the box is running, etc...) Um...perhaps I'm being stupid, but why don't you just switch the IP addresses of the NICs? If I understand what you were saying, in 3.2, your config looked like: fxp0, 1.2.3.4 --> some hub fxp1, 10.11.12.13 --> a different hub and now, it looks like fxp0, 10.11.12.13 --> the 1.2.3.* hub fxp1, 1.2.3.4 --> the 10.11.12.* hub Why don't you just do # ifconfig fxp0 inet 1.2.3.4 netmask # ifconfig fxp1 inet 10.11.12.13 netmask which will give you your original configuration again, and then fold those changes into /etc/rc.conf so the configuration is preserved if the system reboots? Or is there something I'm missing? Eric To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message