The main purpose of using bridging mode is to have the virtual machine also be able to surf the Internet, thus having this article.
1, set up the virtual machine network connection mode
When setting the connection mode of the virtual machine network cable, note that the first selection of bridge mode, the second interface name must use the same network card with the host, and then the next access network cable is required, otherwise it will show the network cable did not plug the feeling, the type of permissions, virtual machine and host is two-way, can ping through
2. Check host local connection mode
The main thing here is to check the local network connection, to see if the virtual machine is using the same network card, if not the same network card, the virtual machine can not access the problem.
3, view the host IP address and gateway, easy to set the virtual machine IP address and gateway
4, set the virtual machine IP address and gateway, in the setting of IP, the virtual machine and host must be in the same network segment, and the gateway is to the same
5, configure DNS resolution, the DNS resolution used here is the direct use of Google's DNS server
6, restart the virtual machine network services, so that the relevant settings for effective
7, test whether can connect the network
8, related issues
If you are unable to connect to the network after the above steps, follow these steps:
A check firewall settings, first shut down the firewall for testing
b Check the SELinux settings, first close the SELinux for testing