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

Configure Networking via YaST and Wicked on SUSE Linux Enterprise

In this hands-on lab, we will be working with networking using YaST and Wicked. This is something every admin should know, and the steps in this lab are especially important to know in a DevOps scenario.

Google Cloud Platform icon

Path Info

Clock icon Beginner
Clock icon 30m
Clock icon Jan 10, 2020

Contact sales

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

Table of Contents

  1. Challenge

    Use Wicked to Get the IP Address of eth0 and Then Use YaST to Configure the Hostname to Resolve to the eth0 IP Address

    1. Run the command:

      sudo wicked show all

      Take note of the eth0 IP address.

    2. Then use YaST to set the hostname:

      sudo yast
    3. In the ncurses interface, go to Network Services > Hostnames > Add.

    4. Enter the IP address of the eth0 adapter.

    5. Enter the hostname

    6. Save and exit out of YaST.

  2. Challenge

    Verify that DNS Resolution Is Set Correctly in `nsswitch.conf` and That Changes Are Present in `/etc/hosts`, and Verify with Curl

    1. Read the file, and look for the hostname:

      cat /etc/hosts
    2. Check nsswitch.conf and make sure the dns line is set to files first:

      cat /etc/nsswitch.conf
      hosts:  	files dns
    3. Curl the index:


      You should get an index page returned.

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