From owner-freebsd-net@freebsd.org Tue Jun 30 22:56:34 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 96C0A990086 for ; Tue, 30 Jun 2015 22:56:34 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-ie0-x232.google.com (mail-ie0-x232.google.com [IPv6:2607:f8b0:4001:c03::232]) (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 639132B45 for ; Tue, 30 Jun 2015 22:56:34 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by iecuq6 with SMTP id uq6so22980353iec.2 for ; Tue, 30 Jun 2015 15:56:33 -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=bUJX6ZnL/MHzDHuds3MQyXvAPDLr1uT3bUN3FlpKjoM=; b=u77KZG9yj1PXItqntDKdB6O3h8QPB7vGkC28cW8pOXa/E8Io/4pvhPuEy1uZi/+fWF FlPsCQzSWdN048JOdmt9HPTxzojOGniXbPADCjwIMcYcJ/EanfPA6EfFDUPsoCJFzIZ9 tvQ9NiX7Pzheg+LoGjfOTT5naXqh3h67Vqe0nG1BheZW2+XJf3ZPY0ybPsP2ZJ6kyc0C IuJNcBzXixPHEHAicrn3D8YXz1qaW8Wpqk+5M2oy9JodW4QG7Q1pe3QkeD8fPIycyFBc anvv0sDR5xkhxV84q7mX61JnHZDS02zUucEFa/c2RCICvk+Br95MveCBBdd5InoDf7gg zXng== MIME-Version: 1.0 X-Received: by 10.50.111.167 with SMTP id ij7mr27342549igb.49.1435704993412; Tue, 30 Jun 2015 15:56:33 -0700 (PDT) Received: by 10.36.38.133 with HTTP; Tue, 30 Jun 2015 15:56:33 -0700 (PDT) In-Reply-To: References: <559131AC.6010304@winterei.se> Date: Tue, 30 Jun 2015 15:56:33 -0700 Message-ID: Subject: Re: Same NIC name to MAC mapping on FreeBSD From: Adrian Chadd To: Wei Hu Cc: "Paul S." , "freebsd-net@freebsd.org" Content-Type: text/plain; charset=UTF-8 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: Tue, 30 Jun 2015 22:56:34 -0000 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. > > 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"