VMware Communities
bllr
Contributor
Contributor

Workstation 9 and Windows 8 - getting internet access?

I apologise in advance for this - am new to virtualisation and unsure what I'm doing (in contrast to most of you on this forum).

Host is Windows 7 Ultimate, using VMWare 9 Workstation, trying to install Windows 8 RTM (build 9200).

Ubuntu 12.04 installed fine including internet access - network adapter is NAT.

Unfortunately, not the same success with Windows 8. Installation went OK (I've installed Windows 8 elsewhere so I know what it looks like), no problems except for no internet access. Default network adapter is NAT - worked ok on Ubuntu but not here (BTW: Ubuntu off - no other VMs running at the time). Went to Edit virtual machine settings. Tried (laboriously) each of the other settings - ('Bridged', 'Host only' etc) without knowing what any of them mean - no success.

NIC is Intel(R) 82579V Gigabit network connection.

I note in passing that Windows 7 Network and Sharing Centre reports the presence of VMWare Network Adapter VMnet1 and VMWare Network Adapter VMnet 8 but that neither have internet access (relevance?). In neither case, under Properties is the VMWare Bridge Protocol ticked - I tried ticking both and using the Bridging option in the Windows 8 virtual machine but still nothing.

I'm trapped by my ignorance. Anyone able to assist this newbie in getting the network adapter working and enabling internet access? (I'd appreciate an elaborated response please if it's not too much bother...)

Thanks in advance.

Reply
0 Kudos
13 Replies
a_p_
Leadership
Leadership

Welcome to the Community,

basically NAT should work flawlessly. Please provide the output of ipconfig /all for the host (vmnet8 is important) and the guest OS.

André

Reply
0 Kudos
bllr
Contributor
Contributor

Thanks Andre, appreciated. Here's the information:

Host: ipconfig /all (Windows 7 Ultimate x64)

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Windows\system32>ipconfig /all

Windows IP Configuration

   Host Name . . . . . . . . . . . . : [XXXXXXX]
   Primary Dns Suffix  . . . . . . . :
   Node Type . . . . . . . . . . . . : Hybrid
   IP Routing Enabled. . . . . . . . : No
   WINS Proxy Enabled. . . . . . . . : No

Ethernet adapter Bluetooth Network Connection 3:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Bluetooth Device (Personal Area Network)
#3
   Physical Address. . . . . . . . . : 00-11-67-D6-B9-AA
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes

Ethernet adapter Local Area Connection:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Intel(R) 82579V Gigabit Network Connection
   Physical Address. . . . . . . . . : 10-BF-48-7F-38-21
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes
   Link-local IPv6 Address . . . . . : fe80::643f:f3ec:ee87:d092%11(Preferred)
   IPv4 Address. . . . . . . . . . . : 192.168.0.2(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Lease Obtained. . . . . . . . . . : Sunday, 26 August 2012 6:33:51 p.m.
   Lease Expires . . . . . . . . . . : Monday, 27 August 2012 6:33:52 p.m.
   Default Gateway . . . . . . . . . : 192.168.0.1
   DHCP Server . . . . . . . . . . . : 192.168.0.1
   DHCPv6 IAID . . . . . . . . . . . : 235978568
   DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-17-A0-09-E6-10-BF-48-7F-38-21

   DNS Servers . . . . . . . . . . . : 192.168.0.1
   NetBIOS over Tcpip. . . . . . . . : Enabled

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
   Autoconfiguration Enabled . . . . : Yes
   Link-local IPv6 Address . . . . . : fe80::98b:c708:30fc:3fa9%14(Preferred)
   IPv4 Address. . . . . . . . . . . : 192.168.201.1(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . :
   DHCPv6 IAID . . . . . . . . . . . : 234901590
   DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-17-A0-09-E6-10-BF-48-7F-38-21

   DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1
                                       fec0:0:0:ffff::2%1
                                       fec0:0:0:ffff::3%1
   NetBIOS over Tcpip. . . . . . . . : Enabled

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
   Autoconfiguration Enabled . . . . : Yes
   Link-local IPv6 Address . . . . . : fe80::4cd4:7247:3113:244c%15(Preferred)
   IPv4 Address. . . . . . . . . . . : 192.168.194.1(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . :
   DHCPv6 IAID . . . . . . . . . . . : 251678806
   DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-17-A0-09-E6-10-BF-48-7F-38-21

   DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1
                                       fec0:0:0:ffff::2%1
                                       fec0:0:0:ffff::3%1
   NetBIOS over Tcpip. . . . . . . . : Enabled

Tunnel adapter isatap.{5533FE56-36B9-4EB4-9C21-03A84C818A56}:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Microsoft ISATAP Adapter
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes

Tunnel adapter Teredo Tunneling Pseudo-Interface:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes
   IPv6 Address. . . . . . . . . . . : 2001:0:9d38:953c:db:2ee6:3f57:fffd(Preferred)
   Link-local IPv6 Address . . . . . : fe80::db:2ee6:3f57:fffd%12(Preferred)
   Default Gateway . . . . . . . . . : ::
   NetBIOS over Tcpip. . . . . . . . : Disabled

Tunnel adapter isatap.{65E44B29-71DE-4FDA-978E-38A8A20FF038}:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Microsoft ISATAP Adapter #2
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes

Tunnel adapter isatap.{E9154116-CDB9-41E0-86B7-33DE711047FB}:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Microsoft ISATAP Adapter #3
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes

Tunnel adapter isatap.{677B6767-C958-4807-96C5-C32C4A5DD86C}:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Microsoft ISATAP Adapter #4
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes

C:\Windows\system32>

Guest: ipconfig /all (Windows 8 RTM x86 on VMWare Workstation 9)

Microsoft Windows [Version 6.2.9200]
(c) 2012 Microsoft Corporation. All rights reserved.

C:\Windows\system32>ipconfig /all

Windows IP Configuration

   Host Name . . . . . . . . . . . . : WIN-0D431OQODBS
   Primary Dns Suffix  . . . . . . . :
   Node Type . . . . . . . . . . . . : Hybrid
   IP Routing Enabled. . . . . . . . : No
   WINS Proxy Enabled. . . . . . . . : No

Ethernet adapter Bluetooth Network Connection:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Bluetooth Device (Personal Area Network)
   Physical Address. . . . . . . . . : 00-11-67-D6-B9-AA
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes

C:\Windows\system32>

Hope you're able to see something there - outside my expertise. Cheers.

Reply
0 Kudos
a_p_
Leadership
Leadership

It looks like the guest didn't detect the virtual NIC at all. Please take a look at the VM's device manager to see whether it shows a yellow exclamation mark. Did you already install VMware Tools in the virtual machine? Please provide (attach) the VM's vmware.log file with your next post.

André

Reply
0 Kudos
ramansingla
Contributor
Contributor

I am having the same issue. My host is Windows 7 x64 Ultimate with Workstation 9. I installed Ubuntu 12.04 with bridged networking. Works great with internet access. Then installed Windows 8 Pro x86 with bridged networking. No internet access. My physical network card is Intel(R) Centrino(R) Advanced-N 6230. Tried all other configurations (NAT, Host). When using NAT it shows network cable unplugged. VMWare Tools are installed.

Message was edited by: ramansingla Added x86 to Windows 8

Reply
0 Kudos
bllr
Contributor
Contributor

Thanks Andre.

1. Correct, the VM device manager is showing the yellow exclamation mark against the ethernet controller (when interrogated, 'Windows could not find a driver for your device'). Following that thought, I went to 'update driver' and using 'Browse my computer...' then 'Let me pick...', of the network adaptors available for Intel, none of them are as recent as the NIC on this board. It's an 82579V whereas all those available are 8255X or 8256X. Prompted me to search out Windows 8 network adaptor drivers from Intel - which I appear to have found. Was about to install them on the VM but then wondered, how come Ubuntu was able to make it work - as I understand it, the NAT setting piggybacks on the host computer's devices anyway, so....? I'd like your advice on that please. (Would it make any difference that the host computer is Windows 7 x64 whereas the guest is Windows 8 x86 - possibly incompatible driver?)

2. Logs. Sorry to seem stupid. In User\AppData\Local\VMWare there is a workstationlog and a workstationUploadedData log. Is it one of these you were after? To save time, I've uploaded both - if it's not either of these, let me know where the one you need is located and I'll upload it.

3. Sorry, forgot to mention that Tools installed automatically at the time of the Windows 8 installation. Must have done so successfully; the VMWare menu shows 'Reinstall VMWare tools...'

Cheers, Bill

Reply
0 Kudos
a_p_
Leadership
Leadership

VMware Workstation presents a virtual NIC to the guest OS, so the physical NIC in your system does not matter for the VM. The vmware.log file I would like to see is located in the VM's folder. It contains information about the virtual machines configuration, ...

You may also check what kind of virtual NIC has been configured to the VM by editing the VM's .vmx file. It should contain something like:

ethernet0.virtualDev = "e1000e"

If you are going to edit the .vmx file, make sure you do this with the VM powered off and either the VM's tab closed (no .lck files or folders present) or VMware Workstation closed at all.

Btw, you say that VMware Tools were installed automatically. Does this mean you used VMware's "Easy Install" feature, i.e. you selected "Installer disc image file (iso)" while creating the VM?

André

Reply
0 Kudos
ramansingla
Contributor
Contributor

That's the string in my .vmx file. I tried removing the last e which didn't work either. I didn't use the Easy Install and installed VMWare Tools manually.

Reply
0 Kudos
bllr
Contributor
Contributor

Sorry, Andre, domestic obligations took me away for a while ... 🙂

1. The vmware.log is attached.

2. In the .vmx file for the Windows 8 VM, there's no sign of ethernet0.virtualDev = "e1000e". There are various other references to ethernet0.xxxx but none with that precise spelling.

SUBSEQUENTLY ADDED... the only strings containing 'ethernet0.xxxx are:


ethernet0.present = "TRUE"
ethernet0.connectionType = "nat"
ethernet0.wakeOnPcktRcv = "FALSE"
ethernet0.addressType = "generated"


ethernet0.generatedAddress = "00:0C:29:8A:F0:03"
ethernet0.pciSlotNumber = "33"


ethernet0.generatedAddressOffset = "0"


ethernet0.linkStatePropagation.enable = "FALSE"
ethernet0.vnet = "VMnet1"

Are you suggesting that I add ethernet0.virtualDev = "e1000e" to the .vmx file (in which case, anywhere in particular - after which line?)? Or save it till you do a bit more diagnosing?

3. Correct, I did load from an ISO on the desktop and Workstation said it was using Easy Install - whence the Tools were installed automatically. .

Cheers, Bill

Reply
0 Kudos
a_p_
Leadership
Leadership

Are you suggesting that I add ethernet0.virtualDev = "e1000e" to the  .vmx file (in which case, anywhere in particular - after which line?

Yes, you can place the line anywhere, but I'd suggest you insert it next to ethernet0.present = "TRUE" for a better overview. Again, make sure the VM is powered off and the VM's tab in the VMware Workstation GUI is closed when you edit the .vmx file. This ensures VMware Workstation will re-read the .vmx file.

André

Reply
0 Kudos
bllr
Contributor
Contributor

Well done Andre, thank you, that worked. Pour yourself a small treat and enjoy it in my name - many thanks.

Cheers,  Bill

Reply
0 Kudos
bllr
Contributor
Contributor

Andre (and all), for the sake of security, I've now removed the files I'd previously uploaded.

Thanks again.

Reply
0 Kudos
jakobjoergensen
Contributor
Contributor

Super thanks ... this works. One can't help think ... why?! An 'error' like this should really not happen?

For new readers to sum up:

(File is expected to be named Windows 😎

Important: Shut your Virutal Machine off!

Find the Windows 8.vmwarevm file at Documents / Virtual Machines

Show Package Contents and open Windows 8.wmx file in Text Edit.

Enter follwing text after ethernet0.present = "TRUE"

ethernet0.virtualDev = "e1000e"

Save the file at the same location. Start your virtual machine.

Super thanks to Billr and André for bringing this solution to us!

Reply
0 Kudos
Wbutler
Contributor
Contributor

All,

I'm having a similar issue with a Linux VM.  When I don't have a physical connection, either LAN or Wifi, I can't connect to my VM.  I attempted to modify my .VMX file and added the ethernet0.virtualDev = "e1000e" to the .vmx file.  Previvously it was set to e1000, without the e.

I see in my vm log file I'm getting an error for the following.

2013-02-27T09:31:26.235-06:00| vmx| I120: LOCALE windows-1252 -> NULL User=409 System=409
2013-02-27T09:31:26.235-06:00| vmx| I120: Msg_SetLocaleEx: HostLocale=windows-1252 UserLocale=NULL
2013-02-27T09:31:26.248-06:00| vmx| I120: Msg_Reset:
2013-02-27T09:31:26.248-06:00| vmx| I120: [msg.dictionary.load.openFailed] Cannot open file "C:\Users\wbutler\AppData\Roaming\VMware\config.ini": The system cannot find the file specified.
2013-02-27T09:31:26.248-06:00| vmx| I120: ----------------------------------------
2013-02-27T09:31:26.248-06:00| vmx| I120: ConfigDB: Failed to load C:\Users\wbutler\AppData\Roaming\VMware\config.ini
2013-02-27T09:31:26.249-06:00| vmx| I120: OBJLIB-LIB : Objlib initialized.
2013-02-27T09:31:26.255-06:00| vmx| I120: Msg_Reset:
2013-02-27T09:31:26.255-06:00| vmx| I120: [msg.dictionary.load.openFailed] Cannot open file "C:\Users\wbutler\AppData\Roaming\VMware\config.ini": The system cannot find the file specified.
2013-02-27T09:31:26.255-06:00| vmx| I120: ----------------------------------------
2013-02-27T09:31:26.255-06:00| vmx| I120: PREF Optional preferences file not found at C:\Users\wbutler\AppData\Roaming\VMware\config.ini. Using default values.
2013-02-27T09:31:26.256-06:00| vmx| I120: FILE: FileLockDynaLink: Further process validation tools are: available
2013-02-27T09:31:26.321-06:00| vmx| I120: Hostname=wbutler-THINK

In this directory, C:\Users\wbutler\AppData\Roaming\VMware, I only have the two following files.

inventory.vmls

preferences.ini

I've also attached the entire log file.

I went and created this file with nothing in it.  C:\Users\wbutler\AppData\Roaming\VMware\config.ini.  the error went away, but I still cannot connect unless I have a physical connection.

Any thoughts or help is appreciated.

Regards,

Will Butler

Reply
0 Kudos