VMware Cloud Community
RedDragon1
Contributor
Contributor

VMware Virtual machines unable to reach Gateway.

Hello,

I have Cisco Unity Connection that I am trying to install but the virtual that it is running on cant reach to my PC as default gateway. The Virtual is setup with IP 192.168.2.3 255.255.255.0 192.168.2.1. The Vmware ESXi 6.5.0 is 192.168.2.50 255.255.255.0 192.168.2.1 and the PC has an IP of 192.168.2.1. My VM PG has the Promiscuous mode as "Accept" under security and NIC teaming as Route based on IP Hash. I have 1 virtual switch and it has Promiscuous mode as "Accept" also and NIC teaming to Route based on IP Hash as well. Using standard TCP/IP stack. My physical NICs are up and I ping from my PC (192.168.2.1) to VMware ESXi server (192.168.2.50) just fine. I am able to ping from virtual (192.168.2.3) to VMware ESXi server (192.168.2.50) fine as well. I am not able to ping from Virtual (192.168.2.3) external to PC (192.168.2.1). I am not sure where I have the setup wrong. 

Thank you

11 Replies
scott28tt
VMware Employee
VMware Employee

Is this nested in VMware Workstation, or is ESXi installed directly on the hardware?

-------------------------------------------------------------------------------------------------------------------------------------------------------------

Although I am a VMware employee I contribute to VMware Communities voluntarily (ie. not in any official capacity)
VMware Training & Certification blog
Reply
0 Kudos
RedDragon1
Contributor
Contributor

ESXi is installed on the Cisco ISR4331 USC-E module and connected to PC via LAN. When I first installed the virtual it was able to connect to gateway for about half a day and then connection timeout occurred. Now the virtual machines can talk to each other but cant ping externally to PC. 

Reply
0 Kudos
RedDragon1
Contributor
Contributor

I am also curious to know if windows is not letting the virtual connect to itself. I have disabled the firewall and I was wondering if there is timer somewhere that would not allow the virtual to come through after a certain amount of time?

Reply
0 Kudos
Sachchidanand
Expert
Expert

Have you tried changing Promiscuous mode as "reject" as Promiscuous mode is used to monitor(sniff) network traffic.

Regards,

Sachchidanand

Reply
0 Kudos
RedDragon1
Contributor
Contributor

Yes, I tried that at the PG and Switch and didn't work. 

 

Reply
0 Kudos
Sachchidanand
Expert
Expert

Do you have functinality on virtual to check if you are getting ARP of your gateway?

Regards,

Sachchidanand

Reply
0 Kudos
RedDragon1
Contributor
Contributor

Yes, its showing arp of gate and shows as incomplete. 

Reply
0 Kudos
Kinnison
Expert
Expert

Hello,


I edited the comment because there are already others pertinent to the topic under discussion.

Reply
0 Kudos
Sachchidanand
Expert
Expert

Have you tried using the default settings? see the attached screenshot for your reference.

Regards,

Sachchidanand

 

 

 

Reply
0 Kudos
scott28tt
VMware Employee
VMware Employee

So the physical switch ports are configured with EtherChannel, right?

That is a requirement when you use the "Route based on IP hash" teaming policy.

https://docs.vmware.com/en/VMware-vSphere/7.0/com.vmware.vsphere.networking.doc/GUID-D34B1ADD-B8A7-4...

-------------------------------------------------------------------------------------------------------------------------------------------------------------

Although I am a VMware employee I contribute to VMware Communities voluntarily (ie. not in any official capacity)
VMware Training & Certification blog
Reply
0 Kudos
Kinnison
Expert
Expert

I edited the comment because there are already others pertinent to the topic under discussion.

Reply
0 Kudos