ESXi | Physical ports numbers don't match OpenWrt

I have added a four port network card to my home server.

This is the ESXi config. I've only ever had one port, so this might not be the best way to do things.

Physical NICs

Virtual switches

Port Groups

I configured eth4 as a management interface, but vmnic4 didn't have network connectivity.

By trial and error, I found that the vmnic3 is mapped to eth4 in OpenWrt.

  • Is this a known issue?
  • Can the mappings be changed via the CLI?
  • Are the mappings 'sticky' - i.e. will they now remain the same or will they randomly change at boot?

I've ordered a couple more NICs and I'd ideally like to have three VMs all running OpenWrt:

  • Last working version.
  • Current working version.
  • Pre-prod version prior to switchover.

This will allow me to provision new versions of OpenWrt and switch over by swapping the cables to the next NIC card. If I break something in the current version, and kill the network, I can restore connectivity by switching the cabling back to the last working version.

If that's going to work, I need to be sure that the port mappings are the same on each NIC card.


I ended up deleting the VM and starting from scratch.

I resolved the issue as follows:

  1. I did first boot with just vmnic1 associated with the VM.
  2. Shutdown and booted with vmnic1 and vmnic2 associated with the VM.
  3. Shutdown and booted with vmnic1, vmnic2 and vmnic3 associated with the VM.
  4. Shutdown and booted with vmnic1, vmnic2, vmnic3 and vmnic4 associated with the VM.

All the NICs are now correctly mapped, but it was a bit of a palaver.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.