Dumb Question:
How do I see what vmnic a Virtual Machine is currently using?
The Virtual Machine switch is configured as follows:
Name: vSwitch1
Two physical NICs active (vmnic1,vmnic2)
Load balancing is 'Route based on the originating virtual port ID'
My understanding is that in this configuration each VM alternates usage between vmnic1 and vmnic2 (I can validate this via esxtop (network stats) where I see traffic on both vmnics; however, I am trying to figure out exactly which vmnic a given VM is using...)
-Thank you
you will not be able to do this with any of the built in VMware tools, the question you are effectively asking is what port on a switch trunk am I using. your VMguests are not connected directly to the vmnics in ESX due to the intermediate vSwitch. this is unlike the hosted products that are bridged or natted via the host network points.
the above give a general outline of what is happening
Tom Howarth
VMware Communities User Moderator
Hello,
Not a dumb question!
I would use the physical switch interface info. You need to now the VM's MAC address and then you can look up what port its on which is where one one the vmnic's will be.
show mac-address-table {interface interface interface-number} for a cisco
you will not be able to do this with any of the built in VMware tools, the question you are effectively asking is what port on a switch trunk am I using. your VMguests are not connected directly to the vmnics in ESX due to the intermediate vSwitch. this is unlike the hosted products that are bridged or natted via the host network points.
the above give a general outline of what is happening
Tom Howarth
VMware Communities User Moderator