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