Home  >  Article  >  Software Tutorial  >  What should I do if the VMware virtual machine cannot connect to the Internet? What should I do if the VMware virtual machine cannot connect to the Internet?

What should I do if the VMware virtual machine cannot connect to the Internet? What should I do if the VMware virtual machine cannot connect to the Internet?

WBOY
WBOYOriginal
2024-09-09 10:10:26669browse

VMware Virtual Machine Connection Network Issues If you are having trouble connecting a VMware virtual machine to the internet, you may want to consider the following workarounds. PHP editor Banana will provide you with a step-by-step guide to help you solve this problem. First, make sure your virtual machine network adapter is set to NAT mode. Read on to learn detailed steps to resolve VMware virtual machine not connecting to the internet.

1. The network adapter needs to be set to NAT mode.

VMware虚拟机连不上网怎么办 VMware虚拟机不能联网的解决方法

2. Modify the network card configuration file.

#vim /etc/sysconfig/network-scripts/ifcfg-ens33 #Modify the configuration file

#service network restart #Restart the network service to make the configuration effective

VMware虚拟机连不上网怎么办 VMware虚拟机不能联网的解决方法 VMware虚拟机连不上网怎么办 VMware虚拟机不能联网的解决方法

3. Do these two network connections exist in the adapter options of the local computer? If not, you can reinstall the VM.

VMware虚拟机连不上网怎么办 VMware虚拟机不能联网的解决方法VMware虚拟机连不上网怎么办 VMware虚拟机不能联网的解决方法

4. Check the VMware NET Service service status, it should be running.

a. Win + R, enter: services.msc

b. Find the VMware NAT Servise service

c. If the status is not running, click on the upper left corner to start the service , if the status is not running, try restarting the service

VMware虚拟机连不上网怎么办 VMware虚拟机不能联网的解决方法VMware虚拟机连不上网怎么办 VMware虚拟机不能联网的解决方法

5. Remove the network adapter of the virtual machine, and then add it again. After adding it, set the connection The method is NAT mode.

VMware虚拟机连不上网怎么办 VMware虚拟机不能联网的解决方法

6. The virtual machine Linux shows that the network cannot be connected

Virtual machine → Edit → Virtual Network Editor → View the name of the NAT connection

Find the network you are currently connected to, right-click → Properties → Sharing → Check Allow other network connections → Connect the virtual machine’s NAT network VM8 share to the network and save it.

VMware虚拟机连不上网怎么办 VMware虚拟机不能联网的解决方法

The above is the detailed content of What should I do if the VMware virtual machine cannot connect to the Internet? What should I do if the VMware virtual machine cannot connect to the Internet?. 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