From the course: Red Hat Enterprise Linux 8 Essential Training

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Gather network information

Gather network information

From the course: Red Hat Enterprise Linux 8 Essential Training

Start my 1-month free trial

Gather network information

- [Instructor] Traditionally, Linux used the net-tools commands including ifconfig, netstat, route, arp and iptunnel. These commands have mostly been superseded by the iproute2 suite of tools, including the ip and ss commands as well as others. I find the syntax of the legacy tools easier to remember, but in time, they may no longer be available. So it's important to migrate to iproute2 . We will install the net-tools package in this course, so we'll have access to the legacy commands as well as our replacements, which are installed by default. We can do this exercise on any of our virtual machines. I'm going to use rhhost1. To do so, I've logged into rhhost1, and I have a terminal open. Now type sudu, space, DNF, space, install, space, -y, space, net-tools and hit enter. When it's done installing, make sure iproute2 is installed as well. In Enterprise Linux 7 and newer, iproute2 is called ip route. Bring your line…

Contents