• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

How to Restart Network Services in CentOS/RHEL 8

by admin

In CentOS/RHEL 8 the network services scripts are not presented anymore(systemctl start network.service or /etc/init.d/network script). In order to restart the network services follow one of these two options.

Using Network Manager

Use the systemctl command to restart the NetworkManager service/target as shown below:

# systemctl restart NetworkManager

Using nmcli Tool

Note: Run these commands from the GUI or the console, as the network will disable.

# nmcli networking off
# nmcli networking on

In case it is needed to run from the terminal from an ssh session, can be run it like this:

# nmcli networking off; nmcli networking on
Note: It is recommendable to have accesses to the GUI or console in case the network doesn’t come up.

Filed Under: CentOS/RHEL 8, Linux

Some more articles you might also be interested in …

  1. host Command Examples in Linux
  2. test: command not found
  3. How to install and Configure VNC (TigerVNC) server in CentOS / RHEL 7
  4. How to Remove/ Disable Bash shell Command History on Linux
  5. How to Read Audit Log in Linux
  6. How to Disable NUMA in CentOS / RHEL 6,7
  7. Beginners Guide to Tuning Profiles in CentOS/RHEL
  8. tar Command Examples in Linux
  9. CentOS / RHEL 7 : Understanding Kexec and Kdump
  10. CentOS / RHEL 7 : How to create an Network Bonding (NIC teaming) using nmcli

You May Also Like

Primary Sidebar

Recent Posts

  • powertop Command Examples in Linux
  • powertop: command not found
  • powerstat: command not found
  • powerstat Command Examples in Linux

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright