I am not able to ping VM which are in two different hosts.
I have checked below things:-
VTEP IPs of both hosts are successfully communicating.
VMs in different vxlan segment and in same host are communicating properly.
VMs in same vxlan segment and in same host are communicating,
Both host are part of same transport zone
Trace results (for VM within a same vxlan and in different host ) are like this-
0 ---- injected -------vNic
What could be the reason. please help.
Please check the MTU on the vDS switch and on the underlay network. There should be a minimum of 1600 MTU to enable VXLAN encapsulation between the 2 hosts.
I didn't quite understand the trace result. Can you send the screenshot?
Regarding VTEP connectivity between hosts, did you validate it with the following command to test both reachability and MTU of 1600?
vmkping ++netstack=vxlan -s 1572 -d x.x.x.x