Red_Hat
EX200 · Question #1
01. Configure Network Settings Configure node1 with the following network settings: Hostname: node1.domain250.example.com IP address: 172.25.250.100 Subnet mask: 255.255.255.0 Gateway…
This task requires configuring the network settings for node1 with a specific hostname, IP address, subnet mask, and gateway.
Submitted by yasin.bd· Apr 18, 2026Basic Networking
Question
- Configure Network Settings Configure node1 with the following network settings: Hostname: node1.domain250.example.com IP address: 172.25.250.100 Subnet mask: 255.255.255.0 Gateway: 172.25.250.254 Correct Answer: See the below explanation Explanation Explanation/Reference: Solution: # Connect to servera via console for IP modification, then check using the ip addr command. # After confirming no issues, SSH to servera for hostname modification. This way, you can copy the hostname to avoid typos. [root@clear ~] nmcli con show [root@clear ~] nmcli con mod 'network configuration name' ipv4.method manual ipv4.addresses 172.25.0.25/24 ipv4.gateway 172.25.0.254 ipv4.dns 172.25.0.254 autoconnect yes [root@clear ~] nmcli con up 'network configuration name' [root@clear ~] ip a [root@clear ~] ssh [email protected] [root@clear ~] hostnamectl set-hostname red.lab0.example.com # Verification [root@node1 ~] ip a //Check if the IP is correct [root@node1 ~] hostname //Check if the hostname is correct
Explanation
This task requires configuring the network settings for node1 with a specific hostname, IP address, subnet mask, and gateway.
Concept tested. Network configuration using nmcli
Topics
#Network configuration#IP addressing#Hostname management#nmcli
Community Discussion
No community discussion yet for this question.