- Lab
-
Libraries: If you want this lab, consider one of these libraries.
- Cloud
- Security

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.

Lab Info
Table of Contents
-
Challenge
Use Wicked to Get the IP Address of eth0 and Then Use YaST to Configure the Hostname handsonlab.net to Resolve to the eth0 IP Address
-
Run the command:
sudo wicked show all
Take note of the eth0 IP address.
-
Then use YaST to set the hostname:
sudo yast
-
In the ncurses interface, go to Network Services > Hostnames > Add.
-
Enter the IP address of the eth0 adapter.
-
Enter the hostname handsonlabs.net.
-
Save and exit out of YaST.
-
-
Challenge
Verify that DNS Resolution Is Set Correctly in `nsswitch.conf` and That Changes Are Present in `/etc/hosts`, and Verify with Curl
-
Read the file, and look for the hostname:
cat /etc/hosts
-
Check
nsswitch.conf
and make sure thedns
line is set tofiles
first:cat /etc/nsswitch.conf hosts: files dns
-
Curl the index:
curl handsonlabs.net
You should get an index page returned.
-
About the author
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.