Run the nmcli device status command to check the connection of a machine – for example:
$ nmcli device statusDEVICE   TYPE      STATE                   CONNECTIONens192   ethernet  connected               ens192docker0  bridge    connected (externally)  docker0lo       loopback  unmanaged               --Check the state is connected for each connection.
Run the ping command to verify the host can send packets to other hosts.
ping <hostname>Where <hostname> is the IP address or hostname of another host.