CentOS / RHEL 7 Restart / Stop / Start Networking Command

On CentOS/RHEL 7, you can manage the networking service using the systemctl command. Here are some common commands to start, stop, and restart networking:

  1. Start networking:
sudo systemctl start network
  1. Stop networking:
sudo systemctl stop network
  1. Restart networking:
sudo systemctl restart network
  1. Check the status of the networking service:
sudo systemctl status network

These commands allow you to manage the networking service and ensure that the network is up and running as expected. Note that restarting the networking service may temporarily disrupt existing network connections.

Leave a Comment