VMware Communities
youngka
Contributor
Contributor

No Internet after switching from Player to Workstation.

I am hoping someone can help with this.  I have a VM that was working fine using Player, but I needed to switch to Workstation because of the need to run multiple VMs.  Workstation uninstalled Player as part of its installation process.  Previously the VM am I running was working fine for network connectivity.  After the install of Workstation I get no network connection.  i am hoping this is a simple fix/config issue.

As per the FAQ guidelines, I have posted as much detail below as I can.

Does anyone have any ideas on how to fix the networking?

  • What exact version of VMware Workstation.

7.1.4 build-385536

  • What is your host OS and include if it is 32-bit or 64-bit OS. If Linux include the exact Linux distribution and kernel version.

Windows XP 32-bit

  • What is the guest OS and include if it is 32-bit or 64-bit OS. If Linux include the exact Linux distribution and kernel version.

Ubuntu Desktop (Lucid)

  • How  often you see the problem (e.g. all the time, sometimes, rarely, etc.),  and if it had previously worked in the same setup (e.g. same virtual  machine, same computer)

Consistent - no network/internet connection since switch from Player to Workstation.  It was working fine in player.

  • What seems to trigger the problematic behavior

??

  • If there are any conditions where it does work

None that I can see.

  • Post the output from "ipconfig /all" (Windows) or " ifconfig -a" (Linux) from both the host and the guest OS

Only posting the VMware related bits as I don't know if I can post stuff about out internal network.  And that should have really no bearing as this VM was working just fine in Player:

A) Windows:

Ethernet adapter VMware Network Adapter VMnet8:

        Connection-specific DNS Suffix  . :
        Description . . . . . . . . . . . : VMware Virtual Ethernet Adapter for
VMnet8
        Physical Address. . . . . . . . . : 00-50-56-C0-00-08
        Dhcp Enabled. . . . . . . . . . . : No
        IP Address. . . . . . . . . . . . : 192.168.133.1
        Subnet Mask . . . . . . . . . . . : 255.255.255.0
        Default Gateway . . . . . . . . . :

Ethernet adapter VMware Network Adapter VMnet1:

        Connection-specific DNS Suffix  . :
        Description . . . . . . . . . . . : VMware Virtual Ethernet Adapter for
VMnet1
        Physical Address. . . . . . . . . : 00-50-56-C0-00-01
        Dhcp Enabled. . . . . . . . . . . : No
        IP Address. . . . . . . . . . . . : 192.168.59.1
        Subnet Mask . . . . . . . . . . . : 255.255.255.0
        Default Gateway . . . . . . . . . :

B) VM:

youngka@vadmin:~$ ifconfig -a
eth1      Link encap:Ethernet  HWaddr 00:0c:29:ef:ed:cf 
          inet6 addr: fe80::20c:29ff:feef:edcf/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:21 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:2118 (2.1 KB)  TX bytes:468 (468.0 B)
          Interrupt:18 Base address:0x2024

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:98 errors:0 dropped:0 overruns:0 frame:0
          TX packets:98 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:7344 (7.3 KB)  TX bytes:7344 (7.3 KB)

  • Post the .vmx file from the virtual machine.

VMX File:

#!/usr/bin/vmware
.encoding = "UTF-8"
config.version = "8"
virtualHW.version = "6"
scsi0.present = "TRUE"
scsi0.virtualDev = "lsilogic"
memsize = "512"
scsi0:0.present = "TRUE"
scsi0:0.fileName = "Ubuntu 9.04 Desktop.vmdk"
ide1:0.present = "TRUE"
ide1:0.fileName = "C:\Program Files\VMware\VMware Workstation\linux.iso"
ide1:0.deviceType = "cdrom-image"
floppy0.startConnected = "FALSE"
floppy0.fileName = "/dev/fd0"
floppy0.autodetect = "TRUE"
ethernet0.present = "TRUE"
ethernet0.connectionType = "nat"
ethernet0.wakeOnPcktRcv = "FALSE"
usb.present = "TRUE"
ehci.present = "TRUE"
sound.present = "TRUE"
sound.fileName = "-1"
sound.autodetect = "TRUE"
pciBridge0.present = "TRUE"
vmci0.present = "TRUE"
roamingVM.exitBehavior = "go"
displayName = "Ubuntu 9.04 Desktop"
guestOS = "ubuntu"
nvram = "Ubuntu 9.04 Desktop.nvram"
virtualHW.productCompatibility = "hosted"
ft.secondary0.enabled = "TRUE"
tools.upgrade.policy = "useGlobal"

extendedConfigFile = "Ubuntu 9.04 Desktop.vmxf"

ethernet0.addressType = "generated"
uuid.location = "56 4d 40 0a db ce 04 49-71 da 2b 6f 4e ef ed cf"
uuid.bios = "56 4d 40 0a db ce 04 49-71 da 2b 6f 4e ef ed cf"
scsi0:0.redo = ""
vmotion.checkpointFBSize = "19005440"
pciBridge0.pciSlotNumber = "17"
scsi0.pciSlotNumber = "16"
ethernet0.pciSlotNumber = "32"
sound.pciSlotNumber = "33"
ehci.pciSlotNumber = "34"
vmci0.pciSlotNumber = "35"
ethernet0.generatedAddress = "00:0c:29:ef:ed:cf"
ethernet0.generatedAddressOffset = "0"
vmci0.id = "563789986"
tools.remindInstall = "FALSE"

ide1:0.autodetect = "TRUE"
checkpoint.vmState = ""
ide1:0.startConnected = "FALSE"
tools.syncTime = "FALSE"
cleanShutdown = "FALSE"
replay.supported = "TRUE"
unity.wasCapable = "TRUE"
isolation.tools.hgfs.disable = "FALSE"
sharedFolder.maxNum = "2"
replay.filename = ""
sharedFolder0.present = "TRUE"
sharedFolder0.enabled = "TRUE"
sharedFolder0.readAccess = "TRUE"
sharedFolder0.writeAccess = "TRUE"
sharedFolder0.hostPath = "C:\_www"
sharedFolder0.guestName = "host-www"
sharedFolder0.expiration = "never"
sharedFolder1.present = "TRUE"
sharedFolder1.enabled = "TRUE"
sharedFolder1.readAccess = "TRUE"
sharedFolder1.writeAccess = "TRUE"
sharedFolder1.hostPath = "C:\_scratch"
sharedFolder1.guestName = "scratch"
sharedFolder1.expiration = "never"
debugStub.linuxOffsets = "0x0,0xffffffff,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0"

  • Details of how your host is connected to the network / Internet (Cable Modem, DSL, Router, Switch, Wired, Wireless,...).

Internal company Gigabit network

  • Details on how networking is configured for the guest (NAT, bridged, host-only).

Workstation is set to NAT.  I have no idea what Player was set to before it was uninstalled by Workstation.

0 Kudos
3 Replies
youngka
Contributor
Contributor

youngka@vadmin:~$ cat /etc/network/interfaces
auto lo
iface lo inet loopback

Should there be more in the above file?

0 Kudos
continuum
Immortal
Immortal

first of all you can run more VMsd in VMplayer then you can rin Workstation.
VMplayer has no limts - WS has a limit of 24

back to work: are you sure your host really has two virtual nics installed ?
are you connected to a network ? - your ipconfig does not list any external connection
if not - either fix that - or set the VM to use "bridged" instead of NAT

post a screenshot of Virtual Network Editor please


________________________________________________
Do you need support with a VMFS recovery problem ? - send a message via skype "sanbarrow"
I do not support Workstation 16 at this time ...

youngka
Contributor
Contributor

I was under the impression Player could only play 1 VM at a time (and I need to be able to run multiple at a time now)?

In any case, your suggestion got me to accidentally fix the problem. Smiley Happy

I went to take a screenshot as requested, and decided instead to first set the VM to bridged.  It picked up an IP off the network which is not how I wanted it to work, so I switched back to NAT.  A couple seconds after doing that Ubuntu reported it had a working connection.  A reboot of the VM confirmed it kept the connection.  I don't know why switching from NAT -> Bridge -> NAT suddenly made it work, but I am not going to spend too much time worrying about it.

Thanks for your response!

Cheers!

0 Kudos