Facebook Twitter Instagram
    TecAdmin
    • Home
    • Ubuntu 20.04
      • Upgrade Ubuntu
      • Install Java
      • Install Node.js
      • Install Docker
      • Install LAMP Stack
    • Tutorials
      • AWS
      • Shell Scripting
      • Docker
      • Git
      • MongoDB
    • FeedBack
    • Submit Article
    • About Us
    Facebook Twitter Instagram
    TecAdmin
    Home»Linux Distributions»How to Restart Network Service on CentOS 8 or RHEL 8

    How to Restart Network Service on CentOS 8 or RHEL 8

    RahulBy RahulSeptember 26, 20191 Min ReadUpdated:October 9, 2019

    This tutorial will help you to Start/Stop and Restart the network services on a CentOS 8 or RHEL 8 Linux system. Here are the two methods available. We prefer method 1 to use.

    Method 1 – Using NetworkManager Service

    Use the followings commands to start/stop network service on your CentOS/RHEL 8 Linux system.

    sudo systemctl start NetworkManager.service
    sudo systemctl stop NetworkManager.service
    

    Use the followings commands to restart network service on your CentOS/RHEL 8 Linux system.

    sudo systemctl restart NetworkManager.service
    

    Method 2 – Using nmcli Tool

    The nmcli is the command-line utility for the managing NetworkManager on CentOS/RHEL 8 Linux system. You can simply use this utility to stop/start network service on your CentOS 8 or RHEL 8 system.

    WARNING – Do not run nmcli networking off for the remotely connected systems. This will disable the NetworkManager network connections on the machine and you will lose connection.
    sudo nmcli networking off
    sudo nmcli networking on
    

    The above command will disable/enable the network connections on CentOS 8 or RHEL 8 Linux system.

    CentOS 8 RHEL8
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email WhatsApp
    Previous ArticleHow to Configure Static IP on CentOS 8 (CLI)
    Next Article How to Configure Static IP Address on CentOS 8

    Related Posts

    Changing the Login Screen Background in Ubuntu 22.04 & 20.04

    Updated:May 9, 20222 Mins Read

    (Resolved) Please install all available updates for your release before upgrading

    2 Mins Read

    How to Install LightDM Display Manager on Ubuntu

    Updated:May 10, 20222 Mins Read

    Change Screen Resolution of An Ubuntu VM in Hyper-V

    Updated:May 2, 20222 Mins Read

    How to Check IPv4 Address on Ubuntu 22.04

    2 Mins Read

    How to Configure Static IP Address on Ubuntu 22.04

    Updated:May 4, 20223 Mins Read

    6 Comments

    1. Tony on April 16, 2021 11:57 am

      i have tried everything you said here, restarting the network manager.service and the nmcli networking off and on. Eevn tried using static ip with nmcli, nothing is working on my vms. I tried to erase mine and create new one hoping the problem would simply go away but of course it wasn’t going to be that easy… any suggestions?

      Reply
      • Ami on August 16, 2021 3:27 pm

        No need to restart if you are using the nmtui command

        but ensure that we need to activate the service once quit from the terminal

        Reply
    2. Keir walls on February 19, 2021 9:36 pm

      But how would you preform a “restart” like the old systemctl restart network or service network restart commands did?

      Reply
    3. Randy B on November 3, 2020 4:41 pm

      Thank you

      Reply
    4. Allan Lara on October 12, 2020 1:11 am

      Thank you!

      Reply
    5. David Eaton on October 22, 2019 3:12 pm

      Stay connected : nmcli networking off && nmcli networking on

      Reply

    Leave A Reply Cancel Reply

    Recent Posts
    • How to Enable / disable Firewall in Windows
    • How to Install JAVA on Ubuntu 22.04
    • Switching Display Manager in Ubuntu – GDM, LightDM & SDDM
    • Changing the Login Screen Background in Ubuntu 22.04 & 20.04
    • How To Install PHP (8.1, 7.4 or 5.6) on Ubuntu 22.04
    Facebook Twitter Instagram Pinterest
    © 2022 Tecadmin.net. All Rights Reserved | Terms  | Privacy Policy

    Type above and press Enter to search. Press Esc to cancel.