VMware Communities
MRose34
Contributor
Contributor

ESX 5.1 Hosts can't ping each other in nested workstation 9 lab

I am building out a home lab and I can not get the hosts to ping eachother. Below is my lab info and the steps I have taken.

Update:  to sum this problem up in one sentece, the two hosts cannot ping each other.  A seperate VM in Workstation can ping both hosts.  A VM running on one host can ping another VM running on the other host but cannot ping the host itself.

Lab Build-out:

Physical Server

1x Physical Server running Windows 7 with Workstaion 9 (I am running my lab nested under workstation 9)

1x Cable/Wireless router. (I am in a wired config, not wireless)

Router IP: 192.168.1.1

Physical NIC IP: 192.168.1.163

Subnet: 255.255.255.0

Gateway: 192.168.1.1

DNS: 192.168.1.1

Workstation 9 Network Config:

1x network on VMnet0 running Bridged mode, assigned to my Phy NIC

Workstation 9 has the following hosts/servers

1x standalone install (VM) of Windows Server 2008 (confiugred as AD-DS and DNS)

Domain: homelab.local

IP#1: 192.168.1.3 and IP#2: 192.168.1.4 (both vNICs are set to Bridged and set to "replicate physical network connection state"

Subnet: 255.255.255.0

Gateway: 192.168.1.1

DNS: 127.0.0.1

2x ESXi 5.1 Hosts

Host#1: IP: 192.168.1.30 (vNIC is set to Bridged and set to "replicate physical network connection state")

Host#2: IP: 192.168.1.31 (vNIC is set to Bridged and set to "replicate physical network connection state")

Both Hosts have the same subnet, gateway and DNS. Both Hosts are joined to the homelab.local domain

Subnet: 255.255.255.0

Gateway: 192.168.1.1

DNS: 192.168.1.3 and 192.168.1.4 ( I have created records in both forward and reverse DNS and they resovle)

1x vCenter Appliance (running on Host #1)

IP: 192.168.1.7

Subnet: 255.255.255.0

Gateway: 192.168.1.1

DNS: 192.168.1.3 and 192.168.1.4

I have joined this vCenter to the domain homlab.local

1x Windows Server 2008 (running on Host #2)

IP: 192.168.1.9

Subnet: 255.255.255.0

Gateway: 192.168.1.1

DNS: 192.168.1.3 and 192.168.1.4

I have joined this server to the domain homlab.local

My Problem

I cannot get the two hosts to ping each other. So when I go into vCenter I cannot add any host except the one vcenter is running on. This all due to them not being able to see each other.

Detailed steps:

AD-DS/DNS VM running in workstation 9 (not running on any host)

CAN PING:

  • 192.168.1.1 (gateway)
  • 192.168.1.3 (self)
  • 192.168.1.4 (self)
  • 192.168.1.7 (vcenter on host 1)
  • 192.168.1.9 (windows server on host 2)
  • 192.168.1.30 (esx host 1)
  • 192.168.1.31 (esx host 2)
  • 192.168.1.163 (phy NIC)

ESX Host#1 VM running in workstation 9

CAN PING:

  • 192.168.1.1 (gateway)
  • 192.168.1.3 (AD-DS/DNS)
  • 192.168.1.4 (AD-DS/DNS)
  • 192.168.1.7 (vcenter on host 1)
  • 192.168.1.30 (self)
  • 192.168.1.163 (phy NIC)

CANNOT PING

  • 192.168.1.31 (esx host 2)
  • 192.168.1.9 (windows server on host 2)

ESX Host#2 VM running in workstation 9

CAN PING:

  • 192.168.1.1 (gateway)
  • 192.168.1.3 (AD-DS/DNS)
  • 192.168.1.4 (AD-DS/DNS)
  • 192.168.1.31 (self)
  • 192.168.1.9 (windows server on host 2)
  • 192.168.1.163 (phy NIC)

CANNOT PING

  • 192.168.1.30 (esx host 1)
  • 192.168.1.7 (vcenter on host 1)

Windows Server 2008 VM running on ESX Host 2

CAN PING:

  • 192.168.1.1 (gateway)
  • 192.168.1.3 (AD-DS/DNS)
  • 192.168.1.4 (AD-DS/DNS)
  • 192.168.1.31 (Host 2)
  • 192.168.1.9 (self)
  • 192.168.1.7 (vcenter on host 1) (yes for some reason it can ping the VM on Host 1 but not host 1)
  • 192.168.1.163 (phy NIC)

CANNOT PING

  • 192.168.1.30 (esx host 1)

My Physical Host

CAN PING Everything

Trouble shooting steps:

  • I have firewalls disabled on Phy host and both Windows Server VMs
  • I am not running VLANs
  • I am running standard switches with VM network, Management Network
  • I have set the accept promisscous mode on both vswitches, the managment network and the vm network

There must be something I am missing at the host level to allow these guys to communicate. Please help, 2nd rebuild of this lab and I am ready to stick something sharp in my eye...well maybe even somethng dull.

Thanks

Mike

0 Kudos
3 Replies
MRose34
Contributor
Contributor

I finally was able to resole the issue.  I had to manually change the driver for the nic from the e1000 to the VMXNET3 driver inside the VMX file for the Host.

changing the "ethernetN.virtualDev = "e1000"" to ethernetN.virtualDev = "vmxnet3" allows the Hosts to now ping each other.

0 Kudos
LorenzoComEsx
Contributor
Contributor

Hi,

Hi really don't understand, I experiment the same problem and this solution won't work for me Smiley Sad !!!

How to install vmxnet3 driver for a virtulized ESXi host ? Modify the vmx file is not enough :

here my .vmx file:

ethernet0.present = "TRUE"

ethernet0.connectionType = "custom"

ethernet0.virtualDev = "vmxnet3"

ethernet0.wakeOnPcktRcv = "FALSE"

ethernet0.addressType = "static"

here my host after a reboot:

~ # esxcfg-nics -l

Name    PCI           Driver      Link Speed     Duplex MAC Address       MTU    Description

vmnic0  0000:02:00.00 e1000       Up   1000Mbps  Full   00:50:56:3b:8c:37 1500   Intel Corporation 82545EM Gigabit Ethernet Controller (Copper)

Here I find another solution :

http://communities.vmware.com/thread/433886

But it is not sustainable...

My environment is really simple (for the moment):

2 ESXi hosts

1 Win (AD) host

Communication is ok in all way except between the two ESXi hosts.

Who make his kind of lab and dont have this problem ? I try to change network configuration in VMware workstation, my IP configuration is OK (I'm really sure about)

Thanks for help !

0 Kudos
omegahost
Enthusiast
Enthusiast

The main reason is vmk0 management network MAC address is not updated when NIC card is replaced.

You can find solution from this KB:

http://kb.vmware.com/kb/1031111

0 Kudos