Virtual machine bridging mode Internet access

Source: Internet
Author: User

Environment: Host Win7, VMware Workstation 10.0, virtual machine Ubuntu 10.04

First, the basic principle of bridge connection

A virtual machine configured as a bridged network connection mode is considered part of the Ethernet on which the host is located. The relationship between the virtual system and the host machine, like the two computers connected to the same hub, can access all the shared resources and network connections in the Ethernet as the host, and can directly share the Internet access line of the host network. You can exchange visits between the host and the virtual machine, as well as between the virtual machines. The corresponding virtual machine is treated as an independent physical machine on the ethernet of the host. Each virtual machine is connected to the host Ethernet via the default VMnet0 NIC, and the virtual network between virtual machines is VMnet0. Your virtual machine is like a standalone physical machine in a local area network. The operating system in the virtual machine can ping the other host, which in turn can ping the virtual machine. To make them communicate with each other, you need to configure the IP address and subnet mask for the virtual system, or you will not be able to communicate.

Second, the configuration steps

1, first determine whether the VMware Bridge Protocol protocol has been installed. Can be viewed in the properties of a local connection. If it's a lite version of VMware, it's probably not installed.


If it is not installed, install it by: Local Area Connection--Properties--install--services--add--Install from disk, Select Netbridge.inf in the VMware installation directory to determine the installation, if the prompt VmnetBridge.dll and Vmnetbridge.sys files cannot be found, you can find it in the next level directory and copy it to the installation directory root path.

2. The ubuntu10.04 system in the virtual machine is set to the bridged mode network. Virtual machine--Setup--Select network adapter----bridge


3, Network settings: Edit-Virtual network editor. Check to see if there is already a default bridged NIC, such as the following VMnet0. In the case of a lite version of VMware, there may not be a default bridging method. At this point, you may have the error "Cannot change network to bridge: No host network adapter is not bridged" if you choose the Bridging method. The workaround is to click "Restore Defaults", because after the 1th step there is already, just not shown.



Reference: http://blog.csdn.net/gavin_dinggengjia/article/details/6325904

http://blog.csdn.net/heyabo/article/details/7727012

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.