O'Reilly logo

Learning RHEL Networking by Andrew Mallett

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using ip and hostnamectl

Many administrators on Linux have become used to using the ifconfig command in order to display and set IP addresses on Linux hosts. Although the ifconfig command is still valid, it's marked as obsolete in favor of the ip command. For Microsoft Windows administrators who move to Linux, the use of ifconfig becomes the obvious choice. As ipconfig closely resembles the Windows command line, I encourage you to learn the ongoing ip command and all that it has to offer. Using either the ifconfig or ip command on RHEL 7 will also introduce new, consistent device names. This may come as a little shock to those used to /dev/eth0.

Finally, we will look at something very new to RHEL using the hostnamectl command. This can be used ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required