hi guys,
if using "balance by orginating port-id" as load-balancing I would like to find out, which (physical) adapter a VM is currently running on.
do you know a specific console command for this issue? my workaround at the moment is to detect the vMAC on the physical switch, not really nice
thx in advance!
With port ID load balancing on your teamed NICs, then the VM is technically running on both as the NIC used by a piece of traffic, is based on the virtual port where the traffic entered the virtual switch. So you could get 1 bit of traffic via 1 NIC, and another by the other NIC.
You might be able to trace a specific packet through a NIC, but in general it will use bot.
oops, I thought port-id would be more "static", i. e. VM1 uses uplink1, VM2 uplink2 and so on...?!?!
If they are using the same virtual switch for both VMs, then that is the way they it will work.
If you want a different VMs to use different NICs then you will need to setup seperate vswitches for each VM/NIC
Hello,
Port ID is based on the port # within the vSwitch and the traffic could switch from pNIC to pNIC depending on load. No this is not necessarily static. Even so it is not possible for the SC to find out which pNIC the traffic is running over. You would have to look at the pSwitch to determine that or place a sniffer between the pNIC and pSwitch.
Best regards,
Edward L. Haletky
VMware Communities User Moderator
====
Author of the book 'VMWare ESX Server in the Enterprise: Planning and Securing Virtualization Servers', Copyright 2008 Pearson Education.
CIO Virtualization Blog: http://www.cio.com/blog/index/topic/168354
As well as the Virtualization Wiki at http://www.astroarch.com/wiki/index.php/Virtualization
ok,
i will have to live with that. thanks for your help!