Skip to content

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.
  • Labs icon Lab
  • A Cloud Guru
Google Cloud Platform icon

Managing Network Interfaces on a Linux Host

The `ip` and `ifconfig` commands are an invaluable part of any administrator's tool kit. In this lab, you will be tasked with configuring two separate network interfaces. This will include deleting and adding IP addresses, updating the ARP cache, changing the state of network interfaces, and recording statistics for these interfaces.

Google Cloud Platform icon

Path Info

Clock icon Intermediate
Clock icon 30m
Clock icon Dec 18, 2020

Contact sales

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

Table of Contents

  1. Challenge

    Configure the ens5 Interface Using the ip Command

    Note: All tasks should be performed as the root user. sudo -i

    1. Remove the old ARP entry for the address and the associated interface.
    2. Delete the IP address from the ens5 interface.
    3. Add as a primary IP address for ens5 and as a secondary IP address. Both should have a broadcast address of
    4. Ensure the ens5 network interface is online.
    5. Add a new entry to the ARP table for with the associated MAC address.
  2. Challenge

    Configure the ens6 Interface Using the ifconfig Command

    1. Delete the IP address from the ens6 interface.
    2. Add as the primary IP address for ens6 with a netmask of and a broadcast address of
    3. Ensure the ens6 interface is online.
    4. Add an entry to the ARP table for
  3. Challenge

    Set the ens5 Interface to Promiscuous Mode and Save Interface Statistics

    1. Set the ens5 interface to promiscuous mode.
    2. Save network interface statistics to /root/network_stats.

The Cloud Content team comprises subject matter experts hyper focused on services offered by the leading cloud vendors (AWS, GCP, and Azure), as well as cloud-related technologies such as Linux and DevOps. The team is thrilled to share their knowledge to help you build modern tech solutions from the ground up, secure and optimize your environments, and so much more!

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.

Start learning by doing today

View Plans