The newly created virtual machine is intended to be configured with a static IP for easy management. But the configuration of IP discovery can not ping each other!
This time using NAT mode!
[[email protected] desktop]# Ping 10.0.0.1
PING 10.0.0.1 (10.0.0.1) bytes of data.
From 10.0.0.2 icmp_seq=11 Destination Host Unreachable
From 10.0.0.2 icmp_seq=12 Destination Host Unreachable
From 10.0.0.2 icmp_seq=13 Destination Host Unreachable
From 10.0.0.2 icmp_seq=15 Destination Host Unreachable
There are many ways to do this online, for example: adding a variety of things to/etc/sysconfig/network-script/ifcfg-eth0
But the results are not ideal. No use!
Restarting the network service is also successful, but it is not possible to ping. Create a new virtual machine and test it. Two virtual machines can ping each other. Then, the feeling is probably not the cause of Linux.
After careful study found that the reason is not Linux. But in with win (real machine)
Needs to be through the Control Panel--System and security--management tools--services
and find VMware NAT in the service. Service and start up. (If you want to get IP dynamically, you need to start the VMware DHCP service)
At this point.
[[email protected] ~]# Ping 10.0.0.1
PING 10.0.0.1 (10.0.0.1) bytes of data.
Bytes from 10.0.0.1:icmp_seq=1 ttl=128 time=0.267 ms
Bytes from 10.0.0.1:icmp_seq=2 ttl=128 time=0.288 ms
This article is from the "Learn to make Me Happy" blog, please be sure to keep this source http://slient.blog.51cto.com/11702434/1984044
Linux Configuration Network, but unable to ping the host