From owner-freebsd-net@FreeBSD.ORG Mon Apr 13 17:45:57 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 5B16471C for ; Mon, 13 Apr 2015 17:45:57 +0000 (UTC) Received: from mail-pd0-x236.google.com (mail-pd0-x236.google.com [IPv6:2607:f8b0:400e:c02::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 26E8BCFF for ; Mon, 13 Apr 2015 17:45:57 +0000 (UTC) Received: by pdbqa5 with SMTP id qa5so114464336pdb.1 for ; Mon, 13 Apr 2015 10:45:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=t0a+I0uN0ciMEmsk7i6TZvZcXXjbJfkkwjDAnOxHKLQ=; b=V6RIzBXItNoh9Kj+5WWRrOZMi9pagyQHbDSyVUay50FOypRIcDwwzIDOLWyChuwZKn K+/xJz6/7G6CiNCRVsiYi7kTbT1p/7Lyp2UwjuZ+rMA0hJHijbkQZ6sAh7BP4/R6rNQD vDsmxs4g+NuJGzOQOk8KYxmnz/vjCfToapgcd83IB8yKchpoiII+uv3IZ40ttFIbl8ec RTNBmxihxROTk1vkeivyne/b1uhLQuZePXnIBzFMk0NMEAII4Nl1zHTBVPQvHByPaGGr D6+PwgvJRlH6HaoqqCAp3DLuRtUnBvNwBQseL4SdeR7+Lkx8fl+I10IrBK7Uk1enatyI vfIQ== MIME-Version: 1.0 X-Received: by 10.68.57.201 with SMTP id k9mr28629860pbq.135.1428947156589; Mon, 13 Apr 2015 10:45:56 -0700 (PDT) Received: by 10.70.104.4 with HTTP; Mon, 13 Apr 2015 10:45:56 -0700 (PDT) Received: by 10.70.104.4 with HTTP; Mon, 13 Apr 2015 10:45:56 -0700 (PDT) In-Reply-To: <1515307147.125084364.1428941649424.JavaMail.zimbra@logitravel.com> References: <1515307147.125084364.1428941649424.JavaMail.zimbra@logitravel.com> Date: Mon, 13 Apr 2015 20:45:56 +0300 Message-ID: Subject: Re: Network Interface name change From: Sami Halabi To: Raimund Sacherer Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: freebsd-net@freebsd.org 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 17:45:57 -0000 Hi, the simest way is to write a script that seeks for MACs and sets names upon system restart. of course if anyone has an elegant way or patch its bretter. Sami =D7=91=D7=AA=D7=90=D7=A8=D7=99=D7=9A 13 =D7=91=D7=90=D7=A4=D7=A8=D7=B3 2015= 19:14,=E2=80=8F "Raimund Sacherer" =D7=9B=D7=AA=D7=91: > 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 an= d > 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 switche= s > 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 > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >