Virtualization

 View Only
  • 1.  VM can get IP from Gateway but can't ping gateway

    Posted Apr 30, 2022 03:09 AM

    Hey guys I am hoping someone can help me. I am going through the CBT Nuggets VMware learning and I built a lab in VMware Workstation 16 Pro. The network adapter is bridged. in Vmware Workstation I have a Windows Server 2019 Domain controller with DNS, I am not using DHCP on the server. I am getting DHCP from my comcast router. I also have an ESXi 7 host and Vcenter appliance running as a VM inside Workstation. My Windows 2019 Server, ESXI host and Vcenter appliance can all get IP's from my comcast router and can ping the internet without issue. When I create a VM inside my ESXi host it can also receive an IP from my comcast router. If i do Ipconfig on the VM which is Windows 10 Pro I can see my IP, Comcast DNS and gateway which is the router but the VM can't ping the gateway and cant reach the internet. I CAN ping the ESXi host but thats it. Is there a service I need to turn on or di i need to unblock internet traffic somewhere. I have looked everywhere and can't find why this is happening. Any help would really be appreciated. Thanks!

     



  • 2.  RE: VM can get IP from Gateway but can't ping gateway

    Posted May 01, 2022 04:29 PM

    Bump



  • 3.  RE: VM can get IP from Gateway but can't ping gateway

    Posted May 04, 2022 01:31 AM

    Bump



  • 4.  RE: VM can get IP from Gateway but can't ping gateway

    Posted May 04, 2022 09:06 AM

    HI , 

    I guess you have created  VM network created on vSwitch of  esxi host and you are assigning that to the VM . If that is correct then you will have to trunk the network port (vmnic) which is passing this traffic . If your router cannot handle vLAN then assign the default vLan 0 to the VMnetwork . 

     

     If you think your queries have been answered
    Mark this response as "Solution Provided" "Correct" or "Helpful".

     

    Thanks , 

    pashnal 



  • 5.  RE: VM can get IP from Gateway but can't ping gateway

    Posted May 08, 2022 03:51 AM

    How would I do this? 



  • 6.  RE: VM can get IP from Gateway but can't ping gateway

    Posted May 04, 2022 05:26 PM

    In case of a nested setup like this, you may want to enable "Promiscuous Mode" on the VM portgroup to which the nested VM is connected. That's because a Standard vSwitch does not learn MAC addresses.

    André



  • 7.  RE: VM can get IP from Gateway but can't ping gateway

    Posted May 08, 2022 03:48 AM

    Thanks for the reply. I tried your suggestion of enabling Promisc mode but it didnt help. 



  • 8.  RE: VM can get IP from Gateway but can't ping gateway

    Posted May 08, 2022 03:50 AM

    I tired enabling Promisc mode but it didnt help. Any other suggestions?