ObjectiveThe the network command line tool ifconfig is not installed thus missing by default on CentOS 7 Linux. Users are instead encouraged to use
ipcommand to do most of the network administration work.
For example the following
ipcommand can be used to show IP address on CentOS 7:
# ip address show OR SIMPLY # ip a s 1: lo:However, it is still possible to use the old-fashioned
mtu 65536 qdisc noqueue state UNKNOWN link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 1500 qdisc pfifo_fast state UP qlen 1000 link/ether f2:d9:fc:79:72:d7 brd ff:ff:ff:ff:ff:ff inet 10.1.1.145/8 brd 10.255.255.255 scope global dynamic eth0 valid_lft 861944sec preferred_lft 861944sec inet6 fe80::f0d9:fcff:fe79:72d7/64 scope link valid_lft forever preferred_lft forever 3: virbr0: mtu 1500 qdisc noqueue state DOWN link/ether 52:54:00:e3:e3:3e brd ff:ff:ff:ff:ff:ff inet 192.168.122.1/24 brd 192.168.122.255 scope global virbr0 valid_lft forever preferred_lft forever 4: virbr0-nic: mtu 1500 qdisc pfifo_fast master virbr0 state DOWN qlen 500 link/ether 52:54:00:e3:e3:3e brd ff:ff:ff:ff:ff:ff
ifconfigcommand. Thus our objective is to install
ifconfigon CentOS 7 Linux which is a part of
BLUE SKY STUDIOS are looking for Linux Administrator to maintain and support the Studio's 450+ production Linux workstations, including daily interactions with the Studio’s digital animation artists.
LOCATION: Greenwich, Connecticut, USA
RequirementsPrivileged access to your CentOS 7 Linux server/desktop.
- # - requires given linux commands to be executed with root privileges either directly as a root user or by use of
- $ - requires given linux commands to be executed as a regular non-privileged user
CentOS 7 ifconfig installExecute the following
yumcommand in order to install
ifconfigon CentOS 7:
# yum install net-tools
CentOS 7 ifconfig usageOnce the
net-toolspackage is installed, the
ifconfigcommand becomes available: