From owner-freebsd-net@FreeBSD.ORG Mon Apr 13 16:14:25 2015 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E193C7CF for ; Mon, 13 Apr 2015 16:14:25 +0000 (UTC) Received: from formentor.toolfactory.net (pina.toolfactory.net [213.97.158.39]) by mx1.freebsd.org (Postfix) with ESMTP id 94729A for ; Mon, 13 Apr 2015 16:14:21 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by formentor.toolfactory.net (Postfix) with ESMTP id 3610F177947 for ; Mon, 13 Apr 2015 18:14:11 +0200 (CEST) Received: from formentor.toolfactory.net ([127.0.0.1]) by localhost (formentor.toolfactory.net [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id uO8InCmbAAnC for ; Mon, 13 Apr 2015 18:14:10 +0200 (CEST) Received: from localhost (localhost.localdomain [127.0.0.1]) by formentor.toolfactory.net (Postfix) with ESMTP id B629A177965 for ; Mon, 13 Apr 2015 18:14:10 +0200 (CEST) X-Virus-Scanned: amavisd-new at logpmzimmta01v.toolfactory.net Received: from formentor.toolfactory.net ([127.0.0.1]) by localhost (formentor.toolfactory.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id OPl6yqKK6W1D for ; Mon, 13 Apr 2015 18:14:10 +0200 (CEST) Received: from xorrigo.toolfactory.net (unknown [192.168.2.210]) by formentor.toolfactory.net (Postfix) with ESMTP id 9D511177947 for ; Mon, 13 Apr 2015 18:14:10 +0200 (CEST) Date: Mon, 13 Apr 2015 18:14:09 +0200 (CEST) From: Raimund Sacherer Reply-To: Raimund Sacherer To: freebsd-net@freebsd.org Message-ID: <1515307147.125084364.1428941649424.JavaMail.zimbra@logitravel.com> Subject: Network Interface name change MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [192.168.2.213] X-Mailer: Zimbra 8.0.8_GA_6184 (ZimbraWebClient - SAF7 (Mac)/8.0.8_GA_6184) Thread-Topic: Network Interface name change Thread-Index: 4W4qx2XA+YnoDwld5RTjkGkUOU9OEw== X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Apr 2015 16:14:26 -0000 Hello, We have one firewall (out of a cluster) in a very remote area and it displays erratic behaviour. On reboot, sometimes it initialises network port 0 correctly and sometimes it does not. I firmly believe it has to do with the KVM port being active on port 0 and I had lot's of troubles with it (working/not working) so it's a gamble if port 0 can be initialised on reboot or not. And more often then not it doesn't come up correctly. When it does not work I get this in the boot log: em0: port 0xf060-0xf07f mem 0xf7c00000-0xf7c1ffff,0xf7c34000-0xf7c34fff irq 20 at device 25.0 on pci0 em0: Using an MSI interrupt em0: Setup of Shared code failed device_attach: em0 attach returned 6 My real problem is that once this happens the port which should be em1 will now be em0 and then all my port assignments don't work anymore. In anticipation of this possible error I configured the VLANs on the switches accordingly so at least I can get access to the firewall and can work on it, but I do not know how I can force e.g. that MAC XX is always em1 (or em2, em3) regardless of what the BIOS or the boot process think it should be. Thank you, Best Ray