Network configuration after installation of CentOS 6.5

Source: Internet
Author: User

              

1. View IP address, get only one loopback address

2, conduct network test, now to test, see can ping pass www.baidu.com

3. Here are some ways to use the ping command.

4, Ping the gateway, see if you can ping through

View the gateway address under VMnet8, Nat mode

5, prompt us, still still ping does not pass. So what?

Note that you can ping your loopback address, stating that the network protocol of the virtual machine is possible, that is, the hardware is not a problem,

Then, the local gateway and the external address ping does not pass, indicating that the network card is not set!

Next, on the NIC.

6. Modify the NIC configuration

That is, when it starts, it opens.

That is, to change the network card, the following is the restart service.

7. Restart Service

That is, the network card is available.

8. Network Test again

Success!!!

Later, how to check the network?

1 Native network protocol check, that is, ping 127.0.0.1

2 native NIC link check, i.e. ifconfig, ping IPv4

3 native NIC connectivity check, that is, ping VMnet8 is the gateway address in NAT mode

4 external connectivity Check, that is, ping www.baidu.com

Network configuration after installation of CentOS 6.5

Related Article

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.