Wednesday, 14 January 2015

Ifconfig Command Not Found In CentOS 7 Minimal Installation

As we all know, ifconfig command is used to configure a network interfaces in GNU/Linux systems. It displays the details of a network interface like IP address, MAC Address, and the status of a network interface etc. But, this command is obsolete, and is not found in the minimal versions of RHEL 7 and its clones like CentOS 7 and Oracle Linux 7.

instead of that these OSs comes with 
ip addr - To view the details of the network interface 
ip link -   To view the statistics of network interface

to enable the ifconfig in CenOS and RHEL we need to install net-tools package
yum install net-tools

net-tools also enable the other commands like netstat which is obsoleted in CenOS 7, RHEL and Oracle Linux 7.

thank you,

No comments:

Post a Comment