This system was moved from a location where it was connected to the 192.168.2.0 network. The new location is in the 172.22.0.0 network. The user in the new location has tried to change the network interface configuration to connect to the new network, but has not been able to get connected.
Use the vi command line text editor to open the /etc/sysconfig/network-scripts/ifcfg-ens0 file and complete the following tasks:
Assign to ens0 the last valid host IP address in the 172.22.0.0 network
For the netmask setting, enter the standard Class B subnet mask
For the broadcast address setting, enter the last address in the 172.22.0.0 network.
For the gateway address setting, enter the first valid host IP address in the 172.22.0.0 network
After saving the interface configuration file, down the ens0 network interface, then bring it up again to acquire the new configuration from the ifcfg file
From the command line, add the gateway address to the routing table as the default gateway.
Note: If you need to login to the system or do any tasks that require root user privileges, the root user's name is root and the password is 1worm4b8.