firestartah
Virtuoso
Virtuoso

VM's can't ping while on Distributed Virtual Switches Vlans

Hi

We are currently experiencing a very strange problem with our Virttual machines on our distributed virtual switches. The problem is when we create new machines from our personal templates and add them to their own project specific vlan on our distributed switched the machines can ping each other but can't ping out. The only way we have found to get to get them on is we have to change the vlan assigned to the vm, apply the changes,ping something via the vm,switch off the vm's network card,apply the changes ,ping again/carry on pinging ,reconnect the vm's network card, apply the changes ,change back to original vlan, apply changes to the vm, after all this the pings now start working and the vm can now connect to the internet etc. This happens for VLANs that have dhcp assigned and VLAN's where we assign static machines on windows 2003 se and ee windows 2008 EE R2 x64 and Windows 2008 EE x64. I have checked the ports connectivity via the ports tab on the port group for the vlan on the distributed vSwitch and it says link up.This happens on all our esx servers so it isn't specific to an esx host either.

Anyone experienced this before/have any ideas?

Gregg Robertson, VCP3,4 , MCSE, MCSA, MCTS, MCITP

If you found this or other information useful, please consider awarding points for "Correct" or "Helpful". Gregg http://thesaffageek.co.uk
0 Kudos
4 Replies
SandyB
Enthusiast
Enthusiast

we had something similar,

on each port group we have set the load balancing type to "route based on IP hash" and this resolved the problem.

firestartah
Virtuoso
Virtuoso

I've tried this before and it didn't help or work unfortunately

Gregg Robertson,

If you found this or other information useful, please consider awarding points for "Correct" or "Helpful". Gregg http://thesaffageek.co.uk
0 Kudos
Texiwill
Leadership
Leadership

Hello,

Almost sounds like PVLANS are configured somehow until the first ping.... When you clone, do you recreate the UUID. Have you verified your dVS configuration? If you have, I would suggest you open a case with VMware as that just does not sound right.


Best regards,
Edward L. Haletky VMware Communities User Moderator, VMware vExpert 2009

Now Available: 'VMware vSphere(TM) and Virtual Infrastructure Security'[/url]

Also available 'VMWare ESX Server in the Enterprise'[/url]

Blogging: The Virtualization Practice[/url]|Blue Gears[/url]|TechTarget[/url]|Network World[/url]

Podcast: Virtualization Security Round Table Podcast[/url]|Twitter: Texiwll[/url]

--
Edward L. Haletky
vExpert XII: 2009-2020,
VMTN Community Moderator
vSphere Upgrade Saga: https://www.astroarch.com/blogs
GitHub Repo: https://github.com/Texiwill
firestartah
Virtuoso
Virtuoso

Hi

Just to make sure if anyone comes across this, i found the answer and have blogged about it here: http://thesaffageek.wordpress.com/2010/03/08/vms-cant-ping-while-on-distributed-virtual-switches-vla...

If you found this or other information useful, please consider awarding points for "Correct" or "Helpful".

Gregg Robertson, VCP3,4 , MCSE, MCSA, MCTS, MCITP

If you found this or other information useful, please consider awarding points for "Correct" or "Helpful". Gregg http://thesaffageek.co.uk
0 Kudos