Same NIC name to MAC mapping on FreeBSD

Wei Hu weh at microsoft.com
Tue Jun 30 04:50:39 UTC 2015


> -----Original Message-----
> From: owner-freebsd-net at freebsd.org [mailto:owner-freebsd-
> net at freebsd.org] On Behalf Of Paul S.
> Sent: Monday, June 29, 2015 7:53 PM
> To: freebsd-net at 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


More information about the freebsd-net mailing list