Linux: CentOS / RHEL / Red Hat / Fedora start / stop / restart networking service
1 2 3 4 5 6 7 8 9 |
# service network stop # service network start # service network restart To restart network interface, enter: # /etc/init.d/network restart To stop and start use the following option (do not run them over remote ssh session as you will get disconnected): # /etc/init.d/network stop # /etc/init.d/network start |
Linux: Debian / Ubuntu server start / stop / restart networking service
1 2 3 4 5 6 7 8 9 |
# service networking stop # service networking start # service networking restart To restart network interface, enter: sudo /etc/init.d/networking restart To stop and start use the following option (do not run them over remote ssh session as you will get disconnected): sudo /etc/init.d/networking stop sudo /etc/init.d/networking start |