From owner-freebsd-net@freebsd.org Wed Jul 1 03:43:01 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 182C1991E62 for ; Wed, 1 Jul 2015 03:43:01 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from vps1.elischer.org (vps1.elischer.org [204.109.63.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "vps1.elischer.org", Issuer "CA Cert Signing Authority" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id BCBFC2449 for ; Wed, 1 Jul 2015 03:43:00 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from Julian-MBP3.local (ppp121-45-228-122.lns20.per1.internode.on.net [121.45.228.122]) (authenticated bits=0) by vps1.elischer.org (8.14.9/8.14.9) with ESMTP id t613gnGL097265 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Tue, 30 Jun 2015 20:42:52 -0700 (PDT) (envelope-from julian@freebsd.org) Message-ID: <559361B3.9030702@freebsd.org> Date: Wed, 01 Jul 2015 11:42:43 +0800 From: Julian Elischer User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: freebsd-net@freebsd.org Subject: Re: Same NIC name to MAC mapping on FreeBSD References: <559131AC.6010304@winterei.se> In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Jul 2015 03:43:01 -0000 On 7/1/15 6:56 AM, Adrian Chadd wrote: > Hi, > > If we don't support this as part of the interface renaming stuff, it > would certainly be good to. > > > a- > > > On 29 June 2015 at 21:36, Wei Hu wrote: >>> -----Original Message----- >>> From: owner-freebsd-net@freebsd.org [mailto:owner-freebsd- >>> net@freebsd.org] On Behalf Of Paul S. >>> Sent: Monday, June 29, 2015 7:53 PM >>> To: freebsd-net@freebsd.org >>> Subject: Re: Same NIC name to MAC mapping on FreeBSD >>> >>> On my production systems, I've never seen it deviate without hardware >>> changes. >>> >>> Are you seeing otherwise? >>> >> In Hyper-V, if say three NICs were assigned to the VM, I got following mapping >> Initially: >> >> Hn0 -> MAC 0 >> Hn1 -> MAC 1 >> Hn2 -> MAC2 >> >> Then if I remove the NIC with MAC 1 and reboot, I want the other two interfaces to keep the same >> Names instead of reassigning hn1 to MAC2. This is a requirement from virtual appliance >> Vendor to retain such mappings. I am wondering if there is any way to do this without >> Asking customer or manually editing any config files. do interface arrivals show up in devd? if so they could be renamed on arrival I vaguely remember being able to do this some years ago but I can't remember the details. >> >> Thanks, >> Wei >> _______________________________________________ >> 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" > _______________________________________________ > 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" > >