Linux in virtual machines connected to the campus network to network problem

After installing the CentOS7, local Windows system is connected with the campus network, the virtual machine using a bridging mode, no Internet access.

The solution is: find a card campus network connection to the virtual machine's shared VMnet8.

Steps: Open Network and Sharing Center [] - [Change Adapter Settings] - [campus network to find the corresponding card] - Right Properties - sharing

image

Want to share can be set as shown in FIG.

Set in the virtual machine settings

image

Then enter the Linux network connection to the Internet.

Guess you like

Origin www.cnblogs.com/WindSun/p/10984015.html