RHCSA Rapid Track
Performance Checklist
In this lab, you will configure networking settings on a Red Hat Enterprise Linux server.
Outcomes
You should be able to configure two static IPv4 addresses for the primary network interface.
Log in as the student user on workstation using student as the password.
From workstation run the lab net-review start command.
The command runs a start script that determine if the host, serverb, is reachable on the network.
[student@workstation ~]$lab net-review start
Use the ssh command to log in to
serverbas thestudentuser. The systems are configured to use SSH keys for authentication, so a password is not required to log in toserverb.Use the sudo -i command to switch to the
rootuser. If prompted, usestudentas the password.Create a new connection with a static network connection using the settings in the table.
Parameter Setting Connection name lab Interface name en X(might vary, use the interface that has52:54:00:00:fa:0bas its MAC address)IP address 172.25.250.11/24 Gateway address 172.25.250.254 DNS address 172.25.250.254 Determine the interface name and the current active connection's name. The solution assumes that the interface name is
enand the connection name isXWired connection 1.[root@serverb ~]#ip link1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 2:en: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000 link/etherX52:54:00:00:fa:0bbrd ff:ff:ff:ff:ff:ff[root@serverb ~]#nmcli con show --activeNAME UUID TYPE DEVICEWired connection 103da038a-3257-4722-a478-53055cc90128 ethernet enXCreate the new
labconnection profile based on the information in the table described in the instructions. Associate the profile with your network interface name listed in the output of the previous ip link command.[root@serverb ~]#nmcli con add con-name lab ifname enXtype ethernet \ipv4.method manual \ipv4.address 172.25.250.11/24 ipv4.gateway 172.25.250.254[root@serverb ~]#nmcli con mod "lab" ipv4.dns 172.25.250.254Configure the new connection to be autostarted. Other connections should not start automatically.
Modify the new connection so that it also uses the address 10.0.1.1/24.
Configure the
hostsfile so that 10.0.1.1 can be referenced asprivate.Reboot the system.
From
workstationuse the ping command to verify thatserverbis initialized.[student@workstation ~]$ping -c3 serverbPING serverb.lab.example.com (172.25.250.11) 56(84) bytes of data. 64 bytes from serverb.lab.example.com (172.25.250.11): icmp_seq=1 ttl=64 time=0.478 ms 64 bytes from serverb.lab.example.com (172.25.250.11): icmp_seq=2 ttl=64 time=0.504 ms 64 bytes from serverb.lab.example.com (172.25.250.11): icmp_seq=3 ttl=64 time=0.513 ms --- serverb.lab.example.com ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 78ms rtt min/avg/max/mdev = 0.478/0.498/0.513/0.023 ms[student@workstation ~]$