Vmware virtual machine can't ping the host of the solution
This article mainly introduces the causes and solutions of vmware virtual machine ping failure, which is a problem that troubles many users. The article is very detailed, interested users must read it!
1. Vm hosts cannot ping each other
Problem 1: Firewall
Omit, it is recommended that both the host and the host turn off the firewall and turn off seLinux (Linux security system).
Fault 2: The network adapter has not taken effect
expression
If the output NIC information does not contain inet [ip address], the NIC does not take effect.
After the NIC takes effect, it becomes:
The solution:
This is caused by an incorrect network adapter configuration file. CentOS7 System NIC configuration file path:
/etc/sysconfig/network-scripts/ifcfg- [NIC name]
The NIC name is the leftmost column of the ifconfig command output
eg: /etc/sysconfig/network-scripts/ifcfg-ens32
Configuration file contents:
If you have not modified this file, then you only need to add the IP address related to IPADDR NETMASK GATEWAY DNS1, and preferably change the green dot configuration to enable boot.
If you have multiple network cards, the red dots configure different items for each network card. If a UUID is lost, run the uuidgen command to regenerate it. The author mistakenly added the synchronization option -s when obtaining the ens34 network card through cp copying the ens32 network card, resulting in the loss of the ens32 UUID, and the network card took effect after the modification.
Problem 3: IP address, gateway, DNS facility
Specific how to set up online tutorials many. In short, it is
The IP address of the Windows virtual network adapter VMnet8 and the subnet IP address of the VMWare virtual network adapter VMnet8 are in the same LAN as the IPADDR of the network adapter configuration file.
The gateway and DNS address of the Windows virtual NIC VMnet8 are the same as those of the VMWare virtual NIC.
All of the above are in the same LAN (the third number of IP addresses, here 80).
Host Settings:
To set the VM, go to Edit > Virtual Network Editor
2. The VM cannot ping the host, but it can ping the Internet
Fault 1: Virtual NIC VMnet8
The communication between a VM and a host is implemented through the VMware Network Adapter VMnet8. For details about its functions, see the following experiment to disable the virtual network adapter:
Control Panel -> Network and Internet-> Network and Sharing Center -> Change Adapter Settings
If VMnet8 is disabled, the host cannot communicate with the VM, but can communicate with the external network (because the VM and the host share the same network adapter) as follows:
If VMNet8 is not disabled, also cannot rule out its problems, may be it is a problem with the Settings, a see.
Fault 2: Network switchover during VM startup
If the ladder is hung, switch the WIFI. This operation makes the gateway change, the essence is still the cause of virtual network adapter VMnet8.
Question 3: the firewall
It is recommended to turn it off.
The above is about the vmware virtual machine ping host of various reasons analysis and solutions, I hope you like, please continue to pay attention to the script home.
Related recommendations:
Related article
-
What can I do if the vmware VM fails to open the vmx file? Open the vmx file of the vmware VM
How to open vmware virtual machine vmx file, this article brings you a detailed vmx file open method, need friends to see it2022-04-07 -
This topic describes how to troubleshoot Linux in full screen mode on VMWare VMS
VMWare is the most popular virtual machine tool in the industry. What if Linux cannot be displayed in full screen on VMWare VMS? Today Xiaobian will share for you is the VMWare virtual machine Linux can not be full screen solution! With friends in need2017-03-27 -
An illustrated tutorial for installing the Mac10.8 system on vmware10
Recently, some friends asked me how to install Mac10.8 on vmware10? So today, Xiaobian brings you a graphic tutorial on installing Mac10.8 system on vmware10! I hope it will be helpful to everyone! Have a friend need to go take a look2017-03-24 -
VMware VM installation and usage
This article mainly introduces the VMware virtual machine installation and use methods, Xiaobian feel very good, now share to you, also give you a reference. Let's take a look.2016-12-01 -
This article mainly introduced the vmware virtual machine to build a 64 - bit operating system The host support Intel VT - x, but Intel VT - x in the disabled state solution, need friends can under reference2016-09-16
-
VMware virtual machine can not find USB device?
What should I do if my VMware Virtual machine cannot find a USB device? Open the virtual machine and find that you can't find the usb device, the keyboard and mouse are usb, what should I do? This problem occurs because the VMUSBArbService service is not open, which is shared below2015-12-21 -
The vmware VM cannot be opened. The policy is too old. What can I do?
Vmware virtual machine can not open the prompt strategy too old what should I do? What should I do if I can't get my VMware virtual machine up and running because it has an outdated policy? Share the solution below2015-12-03 -
For Linux system Settings in the VMware virtual machine fixed IP method
This article mainly introduces the method of setting fixed IP for Linux system in VMware virtual machine, including the method of fixing ip Internet in nat mode, the need of friends can refer to the next2015-10-24 -
Set the VMware boot into the BIOS and support for UEFI
This article mainly introduces the setup VMware boot into the BIOS and UEFI support method, can be achieved by modifying the configuration file, need friends can refer to the next2015-10-20 -
How to deal with incompatibility between vmware and hyper-v in Windows 10 system?
What should I do if vmware is not compatible with hyper-v? When installing a virtual machine in vmware workstation in Windows 10, you are prompted "WMware Workstation is not compatible with Hyper-v, what should I do?" Share solutions below, need2015-08-10
Latest comments