The CentOS 7 system is somewhat different from the previous centos6, so how do you view the network connection in CentOS 7? A friend who needs to know can come and see it with a small weave.
Always use the ifconfig command to view network connections in CentOS, including IP address, MAC address, network connection status, and so on. Upgrade to CentOS 7 after the ifconfig can not find, the original instructions have been discarded, using IP instructions instead. The same thing happened in the minimal version of RHEL 7, Oracle Linux 7, Scientific Linux 7.
In the CentOS 7 minimal system, you can use "IP addr", "IP link" to view network connections and their status, and you can also view statistics using "ip–s link."
If you still want to use ifconfig, you need to install it yourself. First we need to know which package is provided by the IFCONFIG Directive,
Yum provides ifconfig
Or
Yum Whatprovides ifconfig
can query to the corresponding package for Net-tools, install it,
Yum Install Net-tools
Once installed, you can use Ifconfig–a to view the network status.
Of course, this approach also applies to querying for other installation packages that you want to use but cannot find the corresponding instructions.
Will Linode VPS also deployed into the CentOS 7, only to find that Linode on the CentOS 7 has been customized, including the common but in the 7 version of the abandoned instructions, such as ifconfig, Netstat, iptables and so on.