1. Start, Stop, Restart, and Show Status using NetworkManager.service:

#sudo systemctl start NetworkManager.service


#sudo systemctl stop NetworkManager.service


#sudo systemctl restart NetworkManager.service


#sudo systemctl status NetworkManager.service

2. Start, Stop, and Show Status using nmcli:

**Caution: Do not run "nmcli networking off" if connected via SSH, as it may result in network connectivity loss.**

#sudo nmcli networking on


#sudo nmcli networking off


#sudo nmcli general status


#sudo nmcli device status

These commands allow you to control and report network status using the NetworkManager service and nmcli tool on CentOS 8 or RHEL 8 Linux systems.

Was this answer helpful? 3 Users Found This Useful (3 Votes)