07-27-2018 06:51 AM
Workaround #1 isn't working for me. I have confirmed localcli alias swap took place after the reboot, but as far as ESXi gui, the vnics in question still point to the same MAC addresses. Have I made a mistake?
[root@evm63:~] localcli --plugin-dir /usr/lib/vmware/esxcli/int/ deviceInternal alias list Bus type Bus address Alias -------------------------------------- pci s00000002:03.01 vmnic1 pci p0000:1a:00.0 vmhba1 pci s00000002:03.03 vmhba2 pci s0000000b:03.00 vmnic2 pci s00000002:03.02 vmnic4 pci s0000000b:03.01 vmnic3 pci p0000:00:11.5 vmhba0 pci s0000000b:03.02 vmnic5 pci s0000000b:03.03 vmhba3 pci s00000002:03.00 vmnic0 logical pci#s0000000b:03.00#0 vmnic2 logical pci#s00000002:03.00#0 vmnic0 logical pci#p0000:00:11.5#0 vmhba0 logical pci#p0000:1a:00.0#0 vmhba1 logical pci#s0000000b:03.02#0 vmnic5 logical pci#s00000002:03.01#0 vmnic1 logical pci#s0000000b:03.01#0 vmnic3 logical pci#s00000002:03.02#0 vmnic4 [root@evm63:~] localcli --plugin-dir /usr/lib/vmware/esxcli/int/ deviceInternal alias store --alias vmnic2 --bus-address s00000002:03.02 --bus-type pci [root@evm63:~] localcli --plugin-dir /usr/lib/vmware/esxcli/int/ deviceInternal alias store --alias vmnic4 --bus-address s0000000b:03.00 --bus-type pci [root@evm63:~] reboot [root@evm63:~] localcli --plugin-dir /usr/lib/vmware/esxcli/int/ deviceInternal alias list Bus type Bus address Alias -------------------------------------- pci s00000002:03.03 vmhba2 pci s0000000b:03.00 vmnic4 pci s00000002:03.01 vmnic1 pci p0000:1a:00.0 vmhba1 pci s00000002:03.02 vmnic2 pci s0000000b:03.01 vmnic3 pci s0000000b:03.02 vmnic5 pci s0000000b:03.03 vmhba3 pci p0000:00:11.5 vmhba0 pci s00000002:03.00 vmnic0 logical pci#s00000002:03.02#0 vmnic4 logical pci#s0000000b:03.01#0 vmnic3 logical pci#s00000002:03.01#0 vmnic1 logical pci#s0000000b:03.02#0 vmnic5 logical pci#p0000:1a:00.0#0 vmhba1 logical pci#p0000:00:11.5#0 vmhba0 logical pci#s00000002:03.00#0 vmnic0 logical pci#s0000000b:03.00#0 vmnic2
07-27-2018 07:05 AM - edited 07-27-2018 01:04 PM
maybe i should do something with the logical bus type? (these are new esxi 6.7 hosts)
EDIT:
https://kb.vmware.com/s/article/2091560
added
[root@evm63:~] localcli --plugin-dir /usr/lib/vmware/esxcli/int/ deviceInternal alias store --alias vmnic2 --bus-address pci#s00000002:03.02#0 --bus-type logical [root@evm63:~] localcli --plugin-dir /usr/lib/vmware/esxcli/int/ deviceInternal alias store --alias vmnic4 --bus-address pci#s0000000b:03.00#0 --bus-type logical
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide