Question: Xshell remote can not Centos7, centos can ping windows, can ping outside the network, but the windows ping nowhere centos
Problem Description: The operating system of this machine using win10, the virtual machine is VM12, Linux operating system centos7, centos set a static IP, After configuring the DNS, centos can ping themselves, can ping windows, but also be able to ping outside the network, but can not remote Xshell Centos7, examination revealed windows ping nowhere centos, online access to information that is turn off the firewall and the like, but after close, or not.
The following is the author of the solution, if you have encountered a similar problem, you can do the next reference
Enter centos in ifconfig, ip view information
input ipconfig command windows, the view ip information, found a static IP and the IP VMnet8 windows in centos is set outside a network segment, the windows VMnet8 no default gateway
Open windows Virtual Machine VMnet property is set in ipv4 found automatically obtain state
so my solution is:
ipv4 set in the windows virtual machine VMnet property settings for the same static ip ip, ip address and Centos7 in the top three, the last bit different, subnet mask, default fill 255.255.255.0, and the default gateway configuration configured in the same CentOS7
Once configured, windows cmd view ip information is as follows:
At this time, in the windows of the ping Centos7 cdm address can ping the
Xshell can remotely log the user Centos
Next record, we hope to give partners encounter the same problem to help.