Network connectivity issues with the VMware Environment and the Windows environment

Source: Internet
Author: User

First, post the knowledge point I found on the network that is relevant to the VMware Network connection.

After the virtual machine is installed, two virtual network cards, VMnet1 and VMnet8, are installed by default, others are not installed (you can, of course, install the others manually). Where VMnet1 is the host network card for the host network connection. The VMNET8 is a NAT network card that is used for NAT connection. Their IP address is randomly generated, if you want to use a virtual machine to do experiments, it is best to VMnet1 to VMnet8 IP address to get rid of. The network segment used by the VMware Virtual network card is "fixed", using the following principle: VMnet1 corresponding network segment is 192.168.10.0,vmnet2 corresponding network segment is 192.168.20.0, other similar. Of course, usually just use the use of no change, you can surf the internet on the line.

The main ways of VMware network connectivity are: bridging (bridged), NAT, Host Network (HOST-ONLY).

1. Use bridged networking (using bridged network)

Description: Using the VMnet0 Virtual Switch, the virtual machine is quite the same as a standalone computer on the network and host, with a separate IP address, its network topology 1, using the bridge mode, A,a1,a2,b can exchange visits.

Figure 1 Bridge mode topology schematic

2. Use network address translation (NAT)          Description: Using the Vmnet8 Virtual Switch, the virtual machine can be used by other workstations on the host one-way network, No other workstations can access the virtual machine. As shown in network Topology 2, with NAT, A1,A2 can access B, but B can not access A1,A2. But A,A1,A2 can exchange visits. Figure 2 nat mode topology schematic 3. Use Host-only Networking (using Host network)         Description: Use Vmnet1 Virtual Switch, at which time the virtual machine can only exchange visits with the virtual machine and host. That is, not on the Internet, its network topology 3, the use of host mode, A,A1,A2 can exchange visits, but A1,A2 cannot access B, nor can be accessed by B. Figure 3 Host network topology schematic          Practical application: Now the most common use of broadband, using bridging, the host must be able to surf the Internet, but the virtual machine on the operating system is not allowed to surf the internet. At this point your host is equivalent to a, and the virtual machine is equivalent to A1, unless you re-apply to the operator (such as telecom, Netcom) IP address, obviously this is not advisable. If you have a router, then you can use the bridge mode to surf the Internet, because at this time you apply for the IP address is written on the router, rather than on your machine, such as your host, virtual machines, including the other people on the router's machine, will be able to surf the internet, using the router automatically assigned IP address, The IP address is typically 192.168.0.XXX. It seems that operators are not happy with the way you use routers, saying what is damaging to their switch interfaces. Of course, as long as your host can access the Internet, using NAT, the virtual machine can always surf the internet (of course, not included in your random rewriting of IP, gateway, DNS and other information).         Instance Manual setting: Assume that the host's VMnet1 uses a network segment address of 192.168.10.0,vmnet8 with a network segment address of 192.168.80.0, the gateway address is 192.168.80.254 (that is, the NAT router address, can set itself, on VMnet8), the host network card using the address for 192.168.1.1. One, the use of bridge mode, the virtual machine A1 IP address can be set to 192.168.1.5 (with the host network card address same network segment), and other such as gateway address, DNS, subnet mask is the same as the host. Second, the use of NAT mode, virtual machine A1 IP address can be set to 192.168.80.5 (using the same network segment as the VMNET8), the gateway is the NAT router address, which is 192.168.80.524, using the Host-only method, The IP address of the virtual machine A1 can be set to 192.168.10.5 (same network segment as VMNET1) Description: General users do not need to manually set their own, choose to automatically get, or turn on the DHCP service.   above is transferred from network: http://blog.chinaunix.net/space.php?uid=20653907&do=blog&id=1590716 two. My solution when solving virtual machine network connections

1. Turn on the virtual machine network connection

2. Change IP to dynamic IP

3. Start VMware's two services (VMware DHCP Service service and VMware NAT Service services)

With these methods, both the virtual machine and the window system can be connected to the network. However, if you are still unable to connect to the network at this time, you can automatically fix the connection problem through Network Diagnostics!

Network connectivity issues with the VMware Environment and the Windows environment

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.