VMware novice here. I am having trouble getting my wireless connection working on my virtual machine. Both connections on host work fine. The wireless connection (which I re-named in guest OS to "Wireless Network Connection") can obtain an IP address when I boot the VM with the network cable connected, but does not when I do so when the cable is disconnected. In either case, I cannot browse the web from the wireless connection. I suspect something is set incorrectly in the bridged connection settings. Thanks for any help you can provide.
VMware Player 2.5.2 build-156735
Host: Windows XP 32-bit
Guest: Windows XP 32-bit
VMware tools: Installed on the guest.
Both adapters are configured as bridged.
HOST IPCONFIG
========
Windows IP Configuration
Host Name . . . . . . . . . . . . : <OMITTED FOR PRIVACY>
Primary Dns Suffix . . . . . . . : <OMITTED FOR PRIVACY>
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : <OMITTED FOR PRIVACY>
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.116.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.187.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
Ethernet adapter Wireless Network Connection:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Intel(R) WiFi Link 5300 AGN
Physical Address. . . . . . . . . : 00-16-EA-A2-7C-AC
Dhcp Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 192.168.100.16
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.100.1
DHCP Server . . . . . . . . . . . : 1.1.1.1
DNS Servers . . . . . . . . . . . : 4.2.2.2
Lease Obtained. . . . . . . . . . : Thursday, July 23, 2009 8:55:52 AM
Lease Expires . . . . . . . . . . : Friday, July 24, 2009 8:55:52 AM
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . : <OMITTED FOR PRIVACY>
Description . . . . . . . . . . . : Intel(R) 82567LM Gigabit Network Connection
Physical Address. . . . . . . . . : 00-24-81-23-B7-A8
Dhcp Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 149.208.46.251
Subnet Mask . . . . . . . . . . . : 255.255.252.0
Default Gateway . . . . . . . . . : 149.208.44.200
DHCP Server . . . . . . . . . . . : 149.208.45.89
DNS Servers . . . . . . . . . . . : 149.208.45.151
149.208.45.152
Primary WINS Server . . . . . . . : 149.208.45.87
Secondary WINS Server . . . . . . : 149.208.45.88
Lease Obtained. . . . . . . . . . : Thursday, July 23, 2009 9:37:40 AM
Lease Expires . . . . . . . . . . : Friday, July 31, 2009 9:37:40 AM
GUEST IPCONFIG
========
When VM is booted with network cable is plugged in:
Windows IP Configuration
Host Name . . . . . . . . . . . . : <OMITTED FOR PRIVACY>
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : <OMITTED FOR PRIVACY>
Ethernet adapter Wireless Network Connection:
Connection-specific DNS Suffix . : <OMITTED FOR PRIVACY>
Description . . . . . . . . . . . : VMware Accelerated AMD PCNet Adapter #2
Physical Address. . . . . . . . . : 00-0C-29-45-D1-7F
Dhcp Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 149.208.46.218
Subnet Mask . . . . . . . . . . . : 255.255.252.0
Default Gateway . . . . . . . . . : 149.208.44.200
DHCP Server . . . . . . . . . . . : 149.208.45.89
DNS Servers . . . . . . . . . . . : 149.208.45.151
149.208.45.152
Primary WINS Server . . . . . . . : 149.208.45.87
Secondary WINS Server . . . . . . : 149.208.45.88
Lease Obtained. . . . . . . . . . : Thursday, July 23, 2009 10:11:34 AM
Lease Expires . . . . . . . . . . : Friday, July 31, 2009 10:11:34 AM
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . : <OMITTED FOR PRIVACY>
Description . . . . . . . . . . . : VMware Accelerated AMD PCNet Adapter
Physical Address. . . . . . . . . : 00-0C-29-45-D1-75
Dhcp Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 149.208.46.125
Subnet Mask . . . . . . . . . . . : 255.255.252.0
Default Gateway . . . . . . . . . : 149.208.44.200
DHCP Server . . . . . . . . . . . : 149.208.45.89
DNS Servers . . . . . . . . . . . : 149.208.45.151
149.208.45.152
Primary WINS Server . . . . . . . : 149.208.45.87
Secondary WINS Server . . . . . . : 149.208.45.88
Lease Obtained. . . . . . . . . . : Thursday, July 23, 2009 10:11:33 AM
Lease Expires . . . . . . . . . . : Friday, July 31, 2009 10:11:33 AM
When VM is booted with network cable is unplugged:
Windows IP Configuration
Host Name . . . . . . . . . . . . : <OMITTED FOR PRIVACY>
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
Ethernet adapter Wireless Network Connection:
Connection-specific DNS Suffix . : <OMITTED FOR PRIVACY>
Description . . . . . . . . . . . : VMware Accelerated AMD PCNet Adapter #2
Physical Address. . . . . . . . . : 00-0C-29-45-D1-7F
Dhcp Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 169.254.14.84
Subnet Mask . . . . . . . . . . . : 255.255.252.0
Default Gateway . . . . . . . . . :
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . : <OMITTED FOR PRIVACY>
Description . . . . . . . . . . . : VMware Accelerated AMD PCNet Adapter
Physical Address. . . . . . . . . : 00-0C-29-45-D1-75
Dhcp Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 169.254.218.156
Subnet Mask . . . . . . . . . . . : 255.255.0.0
Default Gateway . . . . . . . . . :
.vmx file from the virtual machine:
===================================
.encoding = "windows-1252"
config.version = "8"
virtualHW.version = "4"
memsize = "768"
MemAllowAutoScaleDown = "FALSE"
ide0:0.present = "TRUE"
ide0:0.fileName = "XP Professional.vmdk"
ide1:0.present = "TRUE"
ide1:0.fileName = "auto detect"
ide1:0.deviceType = "atapi-cdrom"
floppy0.fileName = "A:"
usb.present = "TRUE"
sound.present = "TRUE"
sound.virtualDev = "es1371"
sound.fileName = "-1"
sound.autodetect = "TRUE"
displayName = "XP Professional"
guestOS = "winxppro"
nvram = "XP Professional.nvram"
ide1:0.autodetect = "TRUE"
floppy0.startConnected = "FALSE"
floppy0.autodetect = "FALSE"
workingDir = ""
ide0:0.redo = ""
uuid.location = "56 4d bf dd 0f 91 d9 5e-46 31 1c 69 43 45 d1 75"
uuid.bios = "56 4d bf dd 0f 91 d9 5e-46 31 1c 69 43 45 d1 75"
ethernet0.present = "TRUE"
ethernet0.connectionType = "bridged"
ethernet0.vnet = "VMnet0"
ethernet0.addressType = "generated"
ethernet0.generatedAddress = "00:0c:29:45:d1:75"
ethernet0.generatedAddressOffset = "0"
ethernet1.present = "TRUE"
ethernet1.connectionType = "bridged"
ethernet1.vnet = "VMnet2"
ethernet1.addressType = "generated"
ethernet1.generatedAddress = "00:0c:29:45:d1:7f"
ethernet1.generatedAddressOffset = "10"
checkpoint.vmState = "XP Professional.vmss"
ide1:0.startConnected = "TRUE"
tools.syncTime = "TRUE"
serial0.present = "TRUE"
serial0.fileName = "COM1"
usb.autoConnect.device0 = ""
checkpoint.vmState.readOnly = "FALSE"
extendedConfigFile = "XP Professional.vmxf"
virtualHW.productCompatibility = "hosted"
tools.upgrade.policy = "manual"
isolation.tools.hgfs.disable = "FALSE"
sharedFolder.maxNum = "1"
sharedFolder0.present = "TRUE"
sharedFolder.option = "alwaysEnabled"
sharedFolder0.enabled = "TRUE"
sharedFolder0.readAccess = "TRUE"
sharedFolder0.writeAccess = "TRUE"
sharedFolder0.hostPath = "C:\vmshare"
sharedFolder0.guestName = "DataOnC"
sharedFolder0.expiration = "session"
vmotion.checkpointFBSize = "16777216"
hgfs.mapRootShare = "TRUE"
You need to run the Virtual Network Editor (vmnetcfg.exe, located in the Player folder) to configure your host's networking. Disable automatic bridging. Then specify which host NIC you want bridged to VMnet0, and optionally specify the other NIC to bridge to one of the unused VMnets (2-7, 9). When you have your VM's ethernet card configured for "Bridged" mode it will use VMnet0. If you want to use the other connection, change the VM's connection type to "Custom" and specify the appropriate VMnet.
Thanks for the help. I had used vmnetcfg to disable automatic bridging, manually set the wired NIC to bridge to VMnet0, and the wireless NIC to VMnet2.
If someone can clarify a few things:
1. Does the above mean that I cannot use two bridged connections simultaneously?
2. Will an end user who uses this VM be able to switch between wired and wireless connections on the fly without having to mess with the VM settings?
Thanks for the help so far.
1. no - when you disable "auomatic bridging misfeature" you can use 2 bridged networks
2. no - this only works in theory inside VMware Inc. secret research labs - in practical use this never works
If the enduser also configures two bridged networks and uses the same vmnets as you - then he can switch between vmnet0 and vmnet2 on the fly - but this enduser MUST disable the "auomatic bridging misfeature"
___________________________________
VMX-parameters- VMware-liveCD - VM-Sickbay