VMware Cloud Community
casit
Enthusiast
Enthusiast

vswitch major problems.

I have 2 NICS on my blade. One for a main ethernet switch(vmnic0) and also one for a new ethernet switch(vmnic1). I created a new vswitch1 on the vmnic1 adapter. This nic is on a totally seperate subnet than the rest of the network. My problem is this.

I can ping from ssh'ing to the server and pinging a device on the outisde of the new switch. And I can ping from the outside device to the esx service console which has an ip in this new range. And I can also ping from the serivce console to the vm in this new switch. However I can't ping from the vm to the outside device. Extremely frustrating and really don't know what the problem is since it all makes sense in my head but this problem has me spinnning in circles Smiley Happy

0 Kudos
3 Replies
kathirkk23
Enthusiast
Enthusiast

Hi,

Check your VM Network adpater Network connection settings

VM is connected in the network or out of network..?

If its in the network then change Network connection settings and ping..

Kathir

Regards Kathir
0 Kudos
Texiwill
Leadership
Leadership

Hello,

Please provide a diagram, what you said is not all that clear. I interpret that you have:

subnet<->pSwitch<->pNIC0<->vSwitch0<->Portgroup0<-> SC
subnet<->pSwitch<->pNIC1<->vSwitch1<->Portgroup1<->VMs

You can ssh to and from your SC.

You can not reach the VMs? Are your VMs using static IPs? Or do you want it to use DHCP, do you provide this server? Are you trying to ping from the proper subnet?


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.

Blue Gears and SearchVMware Pro Blogs: http://www.astroarch.com/wiki/index.php/Blog_Roll

Top Virtualization Security Links: http://www.astroarch.com/wiki/index.php/Top_Virtualization_Security_Links

--
Edward L. Haletky
vExpert XIV: 2009-2023,
VMTN Community Moderator
vSphere Upgrade Saga: https://www.astroarch.com/blogs
GitHub Repo: https://github.com/Texiwill
0 Kudos
atbnet
Expert
Expert

Sounds like the VM portgroup is not setup or is wrong. Using the service console whic you can SSH into still see how everything is mapped.

esxcfg-vswitch -lSwitch Name Num Ports Used Ports Configured Ports MTU Uplinks

vSwitch0 64 9 64 1500 vmnic2,vmnic0

PortGroup Name VLAN ID Used Ports Uplinks

VM Network 41 5 vmnic0,vmnic2

Switch Name Num Ports Used Ports Configured Ports MTU Uplinks

vSwitch1 64 6 64 1500 vmnic3,vmnic1

PortGroup Name VLAN ID Used Ports Uplinks

Service Console 35 1 vmnic1,vmnic3

VMkernel 35 1 vmnic1,vmnic3

Switch Name Num Ports Used Ports Configured Ports MTU Uplinks

vSwitch2 64 1 64 1500PortGroup Name VLAN ID Used Ports Uplinks

Internal 0 0

This should identify what is connected to what.

From there you can maybe identify incorrect VLAN IDs etc. Once you have identified the incorrect settings you will can use some esx-cfg commands to resolve the problem.

http://www.vmadmin.co.uk/index.php/resources/35-esxserver/54-virtualswitchescmd

Andy, VMware Certified Professional (VCP),

If you found this information useful please award points using the buttons at the top of the page accordingly.

Andy Barnes
VCP / VCA-DT / MCITP:EA / CCIA
Help, Guides and How Tos... www.VMadmin.co.uk

If you found this information useful please award points using the buttons at the top of the page accordingly.
0 Kudos