Featured resource
2025 Tech Upskilling Playbook
Tech Upskilling Playbook

Build future-ready tech teams and hit key business milestones with seven proven plays from industry leaders.

Check it out
  • Lab
    • Libraries: If you want this lab, consider one of these libraries.
    • Cloud
Google Cloud Platform icon
Labs

Validating Network Configuration and Configuring Network Services

In this hands-on lab, you will be reviewing hostname information, name resolution, and network interfaces. Using the `hostnamectl` command, you will view and update hostname for the system. You will also add an entry to the `/etc/hosts` file and a DNS server to the default network connection, reloading the interface and cycling the service to pick up the change. Finally, you will drop a network connection and recreate it, assigning it an IPv4 address and gateway. *This course is not approved or sponsored by Red Hat.*

Google Cloud Platform icon
Lab platform
Lab Info
Level
Beginner
Last updated
Sep 10, 2025
Duration
30m

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.
Table of Contents
  1. Challenge

    View and Update Hostname Information
    • Use hostnamectl to view hostname details.
    • Set a new hostname, rh8server1, for the system.
    • Set a pretty name, RH8 Lab Server, for the server.
    • Confirm new values were updated using hostnamectl.
  2. Challenge

    Update Name Resolution by Adding DNS Servers and Editing the /etc/hosts File
    • Add a line to the /etc/hosts file, using the local IP Address and the value rh8lab.
    • Ping rh8lab to confirm hosts entry works.
    • Use nmcli to view network connections.
    • Add the DNS server 8.8.8.8 to the default connection, System eth0.
    • Reload the interfaces and cycle the NetworkManager service to pickup the changes.
    • Confirm the /etc/resolv.conf contains the new DNS server.
  3. Challenge

    Drop and Recreate the Secondary Network Connection
    • Use nmcli to view network connections.
    • Delete the secondary connection, Wired connection 1.
    • Recreate the connection with the following details:
      • Name: New connection
      • Interface name: eth1
      • Type: ethernet
      • IP Address: 10.0.10.10/24
      • Gateway: 10.0.10.1
    • Confirm the connection was created.
    • Confirm the new interface has the correct IP Address.
About the author

Pluralsight Skills gives leaders confidence they have the skills needed to execute technology strategy. Technology teams can benchmark expertise across roles, speed up release cycles and build reliable, secure products. By leveraging our expert content, skill assessments and one-of-a-kind analytics, keep up with the pace of change, put the right people on the right projects and boost productivity. It's the most effective path to developing tech skills at scale.

Real skill practice before real-world application

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.

Learn by doing

Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.

Follow your guide

All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.

Turn time into mastery

On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.

Get started with Pluralsight