• 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. Insert into search_tmp… queries never ends
  2. sa Command Examples in Linux
  3. UNIX / Linux : What Is a Shell? What are different Shells?
  4. CentOS / RHEL : How to block incoming and outgoing ports using iptables
  5. How to make ethtool settings persistent across reboots in CentOS / RHEL 6,7
  6. What happens in the Background when you execute the “useradd” command under Linux
  7. “ntpq -pn” command returns with error “Name or service not known”
  8. How to Disable rpc.quotad Service in CentOS/RHEL 6 and 7
  9. Unable To Extend LVM File System with Associated Snapshot in CentOS/RHEL
  10. How to Reset Root Password in CentOS/RHEL 8

You May Also Like

Primary Sidebar

Recent Posts

  • JavaFX ComboBox: Set a value to the combo box
  • Nginx load balancing
  • nginx 504 gateway time-out
  • Images preview with ngx_http_image_filter_module

© 2022 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright