VMware Cloud Community
aryajp
Contributor
Contributor

Hardware address mismatch with VMXNET3 network adaptor in linux machine

Hi,

If I add more than 3 VMXNET3 network adaptors to linux machine, I am seeing hardware address mismatch between virtual network adaptor and interface inside linux machine. Is this a know issue or any fix is there?

-Arya

Reply
0 Kudos
1 Reply
T180985
Expert
Expert

Quoting MKguy

This is not an "issue". On Linux, eth interfaces are typically numbered by the PCI address or PCI slot number of the device. These PCI properties are not necessarily corresponding to the network interface numbering you see in the VM edit settings, which basically just counts vNICs up from 1.

You can check the PCI address/slot number on your Linux guest with lspci:

# lspci -v | grep Ethernet -A2

0b:00.0 Ethernet controller: VMware VMXNET3 Ethernet Controller (rev 01)

        Subsystem: VMware VMXNET3 Ethernet Controller

        Physical Slot: 192

You can write custom udev rules to handle the interface numbering like:

http://www.cyberciti.biz/faq/howto-linux-rename-ethernet-devices-named-using-udev/

http://www.debianhelp.co.uk/udev.htm

MAC address mismatch

Please mark helpful or correct if my answer resolved your issue. How to post effectively on VMTN https://communities.vmware.com/people/daphnissov/blog/2018/12/05/how-to-ask-for-help-on-tech-forums
Reply
0 Kudos