Hello All,
Does VMWare Player supports Bridging? (I can see the optoin in menu, but it does not seem to work). NAT (when selected on VMWare Player, then DHCP on Guest) works. I am using following configuraiton:
\- Host: W2k SP4, with static IP address
\- Guest: Ubuntu Linux 5.10 (Community image)
\- Bridge Networking selected in VMWare Player.
\- I can see two Lan connections in Windows Network connection list: VMNet1, and VMNet8 (VMNet0 which seems to be for Bridge Networking on VMWare 5.5 is not there)
I have tried following on Guest for Bridging:
-Using a static IP address on Guest (on of free IPs of the host subnet) and host gateway/DNS etc. but no luck.
\- Selecting DHCP on Guest, does not work (VMWare DHCP service is running).
\- Ping to host and vice versa fails.
Can anybody suggest that:
\- How to configure Bridging on host with respect to VMWare (like how to select the host adapter for bridging?)
\- There is an option in VMNet1/8 properties called "VMWare Bridge Protocol". Its configuration dialog only asks for VMNet number. Should I set it to something e.g. 0? and then what further should be done?
I have spent hours on this, will greatly appreciate if anyone could suggest a solution, or tell even if bridging is possible on VMWare Player.
Thanks a lot.
Regards.
Jabran
Hi Jabran,
Here are descriptions of the types of networking available for use with a virtual machines. I have left out the custom networking, since knowing the basics is the first step.
Bridged networking:
Physical network adapter in host is connected to virtual switch vmnet0 and VM is connected to virtual switch vmnet0
Both should be on the same subnet as the host.
You will not see a virtual network adapter installed on the host with the name vmnet0.
http://www.vmware.com/support/ws5/doc/ws_net_configurations_bridged.html
Host Only networking.
The virtual network adapter(vmnet1) installed in the host is connected to the virtual switch vmnet1 (Same name as the virtual adapter) The virtual machine will connect to the virtual switch vmnet1. They will be on a private subnet.
By default there is DHCP service provide by the vmnet1 virtual switch. This configuration does not use the physical network adapter in the host.
http://www.vmware.com/support/ws5/doc/ws_net_configurations_hostonly.html
NAT networking:
The virtual network adapter(vmnet8) installed in the host is connected to the virtual switch vmnet8 (Same name as the virtual adapter) The virtual machine will connect to the virtual switch vmnet8. They will be on a private subnet.
By default there is DHCP service & NAT service provide by the vmnet8 virtual switch. The VMware NAT device passes network data between one or more virtual machines and the external network. It identifies incoming data packets intended for each virtual machine and sends them to the correct destination. If you select NAT, the virtual machine can use many standard TCP/IP protocols to connect to other machines on the external network. For example, you can use HTTP to browse Web sites, FTP to transfer files and Telnet to log on to other computers. In the default configuration, computers on the external network cannot initiate connections to the virtual machine. That means, for example, that the default configuration does not let you use the virtual machine as a Web server to send Web pages to computers on the external network.
http://www.vmware.com/support/ws5/doc/ws_net_configurations_nat.html
Do you have multiple network adapters in your host?
If so, automatic bridging may have select the first one it found and it may be not the one you want.
Run vmnetcfg.exe on your system and click on the "Automatic Bridging" tab
Unckeck "Automatically choose an available physical network adapter to bridge to VMnet0"
Click on the "Host Virtual Network Mapping" tab and from the VMnet0 dropdown menu. Select the physical network adapter that you want to bridge to VMnet0.
Also check the properties of the physical network adapter.
Make sure that the VMware Bridge protocol is installed and has a check mark next to it.
- I can see two Lan connections in Windows Network
connection list: VMNet1, and VMNet8 (VMNet0 which
seems to be for Bridge Networking on VMWare 5.5 is
not there)
It's the same in Player as in Workstation.
- How to configure Bridging on host with respect to
VMWare (like how to select the host adapter for
bridging?)
Use vmnetcfg.exe, in the Player install directory.
I'm assuming you have more than one host network adapter (or maybe a VPN adapter), else automatic bridging should be working already.
Hi,
I found that automatic usage of a network adapter was causing trouble, though I had only one adapter installed. After selecting the adapter manually in vmnetcfg.exe for bridging, bridge networking worked as expected.
Thanks for your help.
Regards,
Jabran