cancel
Showing results for 
Search instead for 
Did you mean: 
doinita
Mission Specialist
Mission Specialist
  • 500 Views

Red Hat System Administration I Chapter 17: Lab: Managing Networks

Jump to solution

Hi,

I tried several times to complete the networking lab on page 147, and I copied and pasted the commands exactly as provided in the lab:

---
sudo nmcli connection add con-name static type ethernet \ ifname enX ipv4.addresses '172.25.250.111/24' ipv4.gateway '172.25.250.254' \ ipv4.dns '172.25.250.254' ipv4.method manual
---
sudo nmcli connection up static
 

The second command remains unresponsive, and when I try to SSH back to the server, it complains that the route to the server is missing.

Because of this, it is also impossible to make any changes to the connection profile in the web browser via Cockpit.

I was wondering if anyone else has experienced the same problem, and I would like to know if this is a bug or a mistake on my part.

Thank you in advance for your help.
Doinita

 

1 Solution

Accepted Solutions
shura
Flight Engineer
Flight Engineer
  • 481 Views

Hi @doinita 

Please, put attention at enX in line you copy/pasted. At the beginning of Lab you can see something as "Important: Network interface names are determined by their bus type and the detection order of devices during boot. Your network interface names might vary according to the course platform and hardware in use. On your system, locate the interface name (such as eth1, ens06, or enp0p2) that is associated with the Ethernet address 52:54:00:00:fa:0a. Use this interface name to replace the enX placeholder throughout this exercise if different."

You do not show which version of Student Guide you working according, so it may be different in yours

Good luck

View solution in original post

2 Replies
shura
Flight Engineer
Flight Engineer
  • 482 Views

Hi @doinita 

Please, put attention at enX in line you copy/pasted. At the beginning of Lab you can see something as "Important: Network interface names are determined by their bus type and the detection order of devices during boot. Your network interface names might vary according to the course platform and hardware in use. On your system, locate the interface name (such as eth1, ens06, or enp0p2) that is associated with the Ethernet address 52:54:00:00:fa:0a. Use this interface name to replace the enX placeholder throughout this exercise if different."

You do not show which version of Student Guide you working according, so it may be different in yours

Good luck

doinita
Mission Specialist
Mission Specialist
  • 413 Views

Hi @shura,

Thank you for your help. You were right — I most likely made a mistake by passing enX instead of eth0.

I'm now using the nmtui utility, and it’s much easier to manage network interface settings this way.

Thanks again for your help!

Join the discussion
You must log in to join this conversation.