Anyone who can tell me the algorithm of Route based on originating port id load balancing policy?
It's a round robin assignment of the physical uplinks at the time a VM is powered on.
For details see http://www.vmware.com/files/pdf/virtual_networking_concepts.pdf
André
where is the algorithm given in this document?
An uplink is chosen based on the virtual port where the traffic entered the virtual switch. For example you have 3 uplinks on a virtual switch - the first VM is powered on and traffic goes out uplink 1, second vm is powered on traffic goes out uplink 2, the third is powere on and goes out uplink 3 and when the fourth VM is powered on the traffic goes uplink 1 and the cycle repeats -
Actually you need to read a little bit "between the lines" for this:
Choose an uplink based on the virtual port where the traffic entered the virtual switch.
...This setting provides an even distribution of traffic if the number of virtual Ethernet adapters is greater than the number of physical adapters.
What this means is that - once a VM is powered on - a virtual port ID is assigned to each virtual NIC. Based on this port ID and the number of uplinks a physical uplink is assigned to the virtual port.
André
i want to know like ip hash has a algorithm like in the same way a calculation is also used in this policy that formula i want to know
I didn't see any formula for this yet, but it should be something like
pPort = ((vPort + "# of pPorts" - 1) mod "# of pPorts") + 1
André
Google would have pointed you to:
http://kensvirtualreality.wordpress.com/2009/04/05/the-great-vswitch-debate%E2%80%93part-3/
I already know the article on this link but i don't know whether this link is genuine or not? because in this website it is written mac address change disable the port but someone told me it is not true. can you please answer this whether it disabled the port or not?
Depends on the vSwitch/port group configuration. see MAC Address Changes
André