Linux Configuration Network, but unable to ping the host

Source: Internet
Author: User
Tags get ip

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.