Home >Operation and Maintenance >CentOS >Centos cannot access the external network under the virtual machine

Centos cannot access the external network under the virtual machine

王林
王林Original
2020-03-19 16:58:151690browse

Centos cannot access the external network under the virtual machine

1. Select the network Adapter and check whether NAT is selected on the right side.

Centos cannot access the external network under the virtual machine

(Recommended tutorial: centos Tutorial)

2. Open the Network and Sharing Center-->Change the adapter settings, whether VMnet8 and VMnet1 automatically obtain the IP, and automatically obtain the IP connection

Centos cannot access the external network under the virtual machine

3. Right-click the local connection, properties-->Advanced

Centos cannot access the external network under the virtual machine

4. Go to the Linux terminal and restart the network card service network restart to obtain the IP successfully. Open the browser and visit the following picture

Centos cannot access the external network under the virtual machine

Recommended related video tutorials: linux video tutorial

The above is the detailed content of Centos cannot access the external network under the virtual machine. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn