Managing Basic Networking on RHEL 8

30 minutes
  • 3 Learning Objectives

About this Hands-on Lab

In order to be useful to remote clients, network connectivity is an important part of a RHEL 8 system. Over the life of a RHEL 8 system, the need to configure, reconfigure and troubleshoot network connections is a critical skill for system administrators. In this hands-on lab, we will configure IPv4 and IPv6 addresses, configure hostname resolution, configure network services to start automatically at boot, and ensure Network Interface Cards are set to be available on boot.

*This course is not approved or sponsored by Red Hat.*

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Configure IPv4 and IPv6 Addresses
  1. Discover the network hardware on the system.
  2. Configure an extra interface on the same network.
  3. Test IPv4 connectivity and confirm IPv6 addressing.
Configure Hostname Resolution
  1. Install domain name utilities.
  2. Attempt to investigate remote domain details.
  3. Troubleshoot name resolution configuration.
Configure Network Services to Start Automatically at Boot
  1. Check the status of your devices with nmcli.
  2. Check the status of NetworkManager.
  3. Ensure all NIC’s are set to ONBOOT=yes.

Additional Resources

In this lab you're a sysadmin who needs to be more familiar with your network configuration, including what devices exist on your system, what their states are, what files are used to enable inactive or unconfigured interfaces and how to confirm that your network devices are working properly.

You'll then be working with a slighly malfunctioning name resolution setup, discovering what data is kept in what files, and how they interact to get your desired hostname resolved to an IP address.

You'll be using utilities such as nmcli, ip, vim, ifup, ping, and dig in this lab, and encountering files such as /etc/sysconfig/network-scripts/ifcfg-eth0, the /etc/hosts, /etc/resolv.conf, and /etc/nsswitch.conf files, and more as you troubleshoot why you cannot get accurate information about a remote domain's DNS.

Note: On some systems, Crtl-w closes the window you are working on. To avoid that problem, you can ssh in using two different ssh sessions, using your preferred ssh client application, and edit the files side by side in the different windows. Also, AWS's implementation of IPv6 makes it extremely difficult to provide a consistent IPv6 environment, so in the interest of making sure your lab experience is as trouble-free as possible, we confirm IPv6 addressing but do not go further than that.

Red Hat Exam Requirements Covered:

  • Configure IPv4 and IPv6 addresses
  • Configure hostname resolution
  • Configure network services to start automatically at boot

What are Hands-on Labs

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?