Question: ifconfig is not working in centos?
Answer: The the network command line tool ifconfig is not installed thus missing by default on CentOS 7 Linux. Users are instead encouraged to use ip command to do most of the network administration work. However, it is still possible to use the old-fashioned ifconfig command.