ifconfig is missing in RHEL 7 and CentOS 7?

If you have used RHEL 7 or CentOS 7, you may have noticed the ifconfig command is missing in the default installation. The ifconfig command comes with net-tools package which contains other networking tools such as route, netstat, arp and others. You can still install net-tools if you want. These are why they took our ifconfig –

The main reason for moving net-tools out of default installation has been that it has some limitations, which can’t be fixed anymore. See bug #444036, comment #8.

Also all system tools and services now use iproute instead of net-tools so no package pulls net-tools into default install. See bug #687920.

Forwarding net-tools’ commands to iproute’s is next to impossible as their syntax is very different. See bug #444036, comment #5

As I already stated in comment #2, net-tools (unlike iproute2) has limitations which can’t be fixed anymore.
net-tools uses ioctl – obsolete kernel interface
iproute2 uses netlink – successor to ioctl (https://en.wikipedia.org/wiki/Ioctl#Netlink)

Advertisements

One thought on “ifconfig is missing in RHEL 7 and CentOS 7?

  1. Pingback: What’s new in RHEL 7: Networking? – rtfmp

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s