/etc/sysconfig/network – Missing!
Sometimes, you did install Linux on a virtual machine that the virtual machine has no NIC, when installation has been completed, you will face with the below error during “ifdown”, “ifup” or restarting network services:
/etc/sysconfig/network: No such file or directory
This is the usual error, because operating system doesn’t detect any NIC during installation and “Networking” feature is disabled on server.
The networking should be enabled manually, run the below command on terminal:
# echo "NETWORKING=yes" >/etc/sysconfig/network
Rebooting machine is recommended after that change.