FAQs about virtual machine network connection in Linux VMware network configuration centos 6.3 this article is based on the configuration of VMware virtual network connection. After installing the vmwarevm and installing centos 6.3 for linux on the VM, you may encounter network configuration problems. VMware uses the bridging mode by default. In this mode, the host in the virtual machine is equivalent to a host in the current network. In asdl dial-up Internet access mode, the two hosts cannot be shared because only one IP address can be allocated for dial-up Internet access. The disadvantage is that it is a waste of ip resources. The other mode is the net mode. The virtual machine accesses the network through the host machine. As long as the host function is connected to the Internet, the host in the virtual machine can access the Internet without any configuration, which is relatively simple. However, if you want to specify the ip address of the host in the VM to access it, this mode is not feasible. This mode is provided by the VMnet8 DHCP server. Another mode is the host-only mode, which only provides mutual access between the host and the virtual machine. External machines cannot participate in the network of the host machine. In this mode, you can save ip resources by specifying the number segment through a virtual machine to build a virtual network. The configuration method is as follows: (1) enable the Virtual Network card of the Virtual machine, VMnet1 and VMnet8. Then, under the edit Virtual Network Editor on the VMware menu bar, the configuration window is displayed. Select VMnet1, change the Subnet IP address 192.168.245.0. This indicates that the Gateway number of the 245 Subnet ip address is used in the virtual machine. Click DHCP setting. In the displayed window, specify the start IP address and end IP address. The default value is 128 to 245. Save and exit. (2) set the VMnet1 ip address of the host to one of the 128 to 245, start the VM, set the mode to host-only, and set the ip address to one of the 128 to 245, in this way, you can establish a connection. (3) After modifying the IP address in linux, run the service network restart command to restart the network service. In this way, the host and the host can communicate with each other. After restarting the virtual machine, I encountered service network restart and failed operations. According to the articles I found on the network, after disabling the NetworkManager service, I still cannot connect to the Internet. When I restarted again, I found that the pictures of the two computers connected to the network did not exist. After half a day, the NetworkManager service was re-enabled before it was officially enabled. The network is successfully configured. We recommend that you do not restart the linux system as frequently as possible, which may cause various problems. You can disable the standby mode of the VM.