Solution:
1. Enter the/etc/sysconfig/network-scripts directory and find that there is a ifcfg-eth0, that is, the network card (driver) is present but not enabled.
2. Enter the IFCONFIG-A command to display the eth0 and lo.
3. Enter ifconfig eth0 up to enable the NIC. With Ifconfig, you can only see the address of the Inet6 (IPv6?), without the inet address (that is, the IP of the Xshell connection input).
4. Modify the/etc/sysconfig/network-scripts/ifcfg-eth0 file to change the Onboot=no to Onboot=yes, but the results of ifconfig have not changed. (Omitting this step does not know whether it is valid)
5. Service network restart, restart. The shutdown eth0 ok,bring up eth0 ok,determine IP for eth0 OK appears.
6. Enter Ifconfig, and the inet address of the eth0 appears. Successful connection with Xshell.
With the ifconfig command, only lo, there is no eth0 solution