Search code examples
virtual-machinevmware

guest VM can't get IP address with bridge mode


I have one guest VM(windows 7) running on VMWare in the MAC OSX host. When I use "NAT" mode, the guest VM has no problem getting IP etc. to connect to internet. However, when I change to use "bridge" mode, the guest OS can't connect to internet. How to fix this?

  1. The guest VM should connect to the vmnet0 in the host.
  2. The vmnet0 bridges the guest VM to my physical router.
  3. Since both the guest VM and the physical router have DHCP turned on, the guest VM should be able to retrieve the IP, gateway but the guest VM only has IP address and couldn't get on internet.

Solution

  • I had the same issue with VMWare Workstation 11. It apparently started happening AFTER I upgraded to: 11.1.2 build-2780323 although it may have been the addition of a Juniper or Hamachi network client.

    I had used "Bridged" for each VM but after the upgrade, I encountered connectivity problems. After I set the NIC to NAT, it started working.

    Here is how I was able to resolve the issue and start using "Bridged" network adapter again:

    1. Go to File -> Edit -> Virtual Network Editor
    2. Use the Change Settings" button
    3. Highlight the first selection VMnet0
    4. Under VMnet Information choose the "Automatic Setting" button
    5. You will get a list of all of the adapters on your system.
    6. Uncheck ones that might be causing the issue.
    7. Click "Apply" then "OK"

    Now, the "Bridged" setting should work or at least it did for me. Go back and change any that you had changed to NAT to get them working.