Hamburger Icon
  • Labs icon Lab
  • Core Tech
Google Cloud Platform icon
Labs

Linux Troubleshooting: Troubleshoot Networks

In this lab, you will gain hands-on experience in checking the network details of the server, and testing its connectivity with other servers. You will also learn how to troubleshoot issues related to a malfunctioning NIC (Network Interface Card) or port, which can cause packet drops and impact network performance. Furthermore, you will acquire practical knowledge of various commands to check DNS name resolution. In addition, you will also configure a firewall and scan ports on remote servers using the nmap command.

Google Cloud Platform icon
Labs

Path Info

Rating
(15 reviews)
Level
Clock icon Beginner
Duration
Clock icon 55m
Published
Clock icon Jan 08, 2024

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.

Table of Contents

  1. Challenge

    Get Started in the Lab Environment

    Here are the initial instructions and explanation of the lab environment. Read this while your environment is busy creating itself from nothing. Yes, this violates physics; we know. How fun!

  2. Challenge

    Check Network Connectivity

    To start the lab, you will gain hands-on experience in understanding how to check the network details of a server and test the connectivity between servers using the ping command.

  3. Challenge

    View Dropped Packets on the NIC

    Now, you will learn how to check the statistics of your NIC (Network Interface Card) and view raw data. By doing so, you can troubleshoot any issues that may arise from a malfunctioning NIC or port. These issues can lead to packet drops, which in turn can cause packet retransmissions, and have a negative impact on network performance.

  4. Challenge

    Check Name Resolution

    The goal of this challenge is to comprehend the purpose and functionality of the /etc/nsswitch.conf file. Additionally, you will examine how the system utilizes the nss configuration file to query the server. Moreover, you will acquire practical knowledge of various commands such as resolvectl, dig, and getent. These commands are employed for querying and resolving the Domain Name System (DNS).

  5. Challenge

    Test Network Access

    You will test network access by pinging the default gateway, and will troubleshoot subnet-related issues. You will also learn various shortened addresses to use with ping.

  6. Challenge

    Test and Configure a Firewall

    In order to complete this lab, you will be taught how to configure the server's firewall. Additionally, you will utilize the nmap command to scan the ports on a remote server. Your objective is to permit a specific port to pass through the firewall from one server, and subsequently confirm its accessibility from another server.

Shikhar is a professional system administrator and consultant that has a particular interest in all things related to Linux administration, shell scripting, cloud, Ansible, and automation. He loves making complex technical topics easy to understand. He is an AWS Certified Solutions Architect Associate. He has utilized his IT skills in many Fortune 500 companies. Shikhar has been teaching since 2015 and provides onsite and online training on many IT subjects.

What's a lab?

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.

Provided environment for hands-on practice

We will provide the credentials and environment necessary for you to practice right within your browser.

Guided walkthrough

Follow along with the author’s guided walkthrough and build something new in your provided environment!

Did you know?

On average, you retain 75% more of your learning if you get time for practice.