VMware Cloud Community
rksam
Contributor
Contributor

guest vm networking to ESXi hypervisor VM broken

Hi Folks

First of all, i want to thank you all for the great help you have been providing, and

really appreciate the valuable time and inputs from you.

I seek your help in an issue i am facing:

I have a setup as follows:

On bare metal, i have installed ubuntu linux.

On this ubuntu linux i am running virtual box.

From virtual box i have installed ESXi 5.1 as VM.

On this ESXi 5.1 VM, i have installed ubuntu linux as a VM.

So here the stack:

linux-guest-VM (vnic ip: 10.0.0.190)

ESXi-5.1-hypervisor-VM (vmknic mgmt ip: 10.0.0.101)

Virtual-box on Ubuntu-host-OS. (eth0 ip: 10.0.0.100)

I am able to ping from ESXi to eth0 and to any network outside.

But am not able to do the following:

1> Cannot ping from linux-guest-VM to ESXi hypervisor VM.

ping 10.0.0.101 fails.

2> Cannot ping from linux-guest-VM to Ubuntu-host-OS eth0.

ping 10.0.0.100 fails.

3> Cannot ping from ESXi hypervisor VM to linux-guest-VM.

ping 10.0.0.190 fails.

Basically, the networking from linux-guest-VM to anywhere

down to ESXi and further is broken.

From anywhere outside, i can ping 10.0.0.100 and 10.0.0.101,

but i cannot ping the linux-guest-VM, meaning

ping 10.0.0.190 from anywhere outside fails.

I have connected the vnic from linux-guest-VM on a DVS

and from the DVS, i have vmnic.

Can someone please help me with the way to setup networking

from linux-guest-VM to ESXi hypervisor, where the ESXi hypervisor

itself is a VM.

I think i am missing some basic configuration, else, i did expect

the ping from ESXi hypervisor to linux-guest-vm to work at least.

Can someone please help with this?

Thanks in advance and really greatful for your valuable time and input.

0 Kudos
5 Replies
admin
Immortal
Immortal

Have you enabled promiscuous mode for the virtual network interface of the ESXi VM under VirtualBox?

0 Kudos
rksam
Contributor
Contributor

Hi jmattson

Can you please let me know where i should do that?

The only other promiscuous mode i have set is, from the Vsphere client, i have enabled promiscuous mode for the vswitch on which ESXi management ip interface is present.

Thanks

0 Kudos
admin
Immortal
Immortal

In VirtualBox, edit the VM settings.  There should be an 'Advanced' section under Network that has a promiscuous mode setting.

0 Kudos
rksam
Contributor
Contributor

Thanks for the info.

In VirtualBox -> Network is an adapter (eth0), which is the device for uplink connected to external switch, from where

packets are received into the server.  In Advanced settings, i have enabled promiscuous mode 'Allow All' here.

Still it is not working.  Can you please help?

0 Kudos
admin
Immortal
Immortal

What is the output of 'esxcfg-vswitch -l' executed on the ESXi hypervisor?

0 Kudos