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
Labs

Configuring Network Interfaces on Linux

Configuring network interfaces is an important skill for Linux administrators, both professionally and personally. In this hands-on lab, you'll configure two network interfaces: the first using the older network-scripts method and the second with the more modern Network Manager method.

Google Cloud Platform icon
Labs

Path Info

Level
Clock icon Intermediate
Duration
Clock icon 30m
Published
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 eth1 Interface Using Network Scripts on Server 1

    On Server 1, configure the eth1 interface using network-scripts:

    1. In /etc/sysconfig/network-scripts, create a copy of ifcfg-eth0 called ifcfg-eth1.
    2. Update ifcfg-eth1 to have the following specifications:
      • Set the boot protocol to none.
      • Set the device to eth1.
      • Match the MAC address to the one assigned to the eth1 device.
      • Set the IP address to 10.0.2.20.
      • Set the netmask to 255.255.255.0.
      • Set the broadcast address to 10.0.2.255.
    3. Restart the network service.
    4. Ensure the interface is up and running
  2. Challenge

    Configure the eth1 Interface Using nmcli on Server 2

    On Server 2, configure the eth1 interface using nmcli:

    1. Ensure that network manager is started and enabled
    2. Configure the eth1 connection using nmcli with the following specifications:
      • Set the connection name to System eth1.
      • Set the interface name to eth1.
      • Set the IP address to 10.0.3.20.
      • Set the netmask to 255.255.255.0.
    3. Ensure that the eth1 interface is up and running.

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