From owner-freebsd-net@FreeBSD.ORG Mon Apr 24 13:30:07 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C2A5E16A406 for ; Mon, 24 Apr 2006 13:30:07 +0000 (UTC) (envelope-from ferdinand.goldmann@jku.at) Received: from emailsecure.uni-linz.ac.at (emailsecure.uni-linz.ac.at [140.78.3.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id C012243D6A for ; Mon, 24 Apr 2006 13:30:04 +0000 (GMT) (envelope-from ferdinand.goldmann@jku.at) Received: from [140.78.164.13] (jku006048.edvz.uni-linz.ac.at [140.78.6.48]) by emailsecure.uni-linz.ac.at (Postfix) with ESMTP id 1D7FE22802C for ; Mon, 24 Apr 2006 15:30:02 +0200 (CEST) Message-ID: <444CD2D0.50800@jku.at> Date: Mon, 24 Apr 2006 15:29:52 +0200 From: Ferdinand Goldmann Organization: Johannes Kepler University User-Agent: Thunderbird 1.5 (Macintosh/20051201) MIME-Version: 1.0 To: freebsd-net@freebsd.org X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: How to change order of NICs in FreeBSD? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ferdinand.goldmann@jku.at List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Apr 2006 13:30:07 -0000 Hi there, this might be an easy one, but I seem to be unable to come up with a google'd solution. :( I have a machine with four network cards using the em driver: em0@pci2:12:0: class=0x020000 card=0x10028086 chip=0x10268086 rev=0x04 hdr=0x00 em1@pci3:11:0: class=0x020000 card=0x10028086 chip=0x10268086 rev=0x04 hdr=0x00 em2@pci6:7:0: class=0x020000 card=0x016d1028 chip=0x10768086 rev=0x05 hdr=0x00 em3@pci7:8:0: class=0x020000 card=0x016d1028 chip=0x10768086 rev=0x05 hdr=0x00 Two of the cards are onboard, namely em2 and em3, and the other two (em0, em1) are sitting in expansion slots. I would like to change the order of the cards, so that the onboard cards are recognized as em0 and em1. I tried using the device.hints file, but without much success. Is there any way how to do this? Kind regards -- >> Ferdinand Goldmann //// | | >> |--00 | UNIX | >> Tel. : +43/732/2468/9398 Fax. : +43/732/2468/9397 C ^ | | >> EMail: Ferdinand.Goldmann@zid.uni-linz.ac.at \ ~/ ~~~|~~~~~~~~ >> PGP D4CF 8AA4 4B2A 7B88 65CA 5EDC 0A9B FA9A 13EA B993| |-----3