How to Restart Linux Network Service

In Linux, there are the commands to restart, start and stop the network. If you change the TCP/IP configuration such as ip address, net mask and gateway, the network need to be restart before it apply the new setting.

To restart Linux network service:

    [root@server /]# service network restart
    

or

    [root@server /]# /etc/init.d/network restart
    

To start Linux network service:

    [root@server /]# service network start
    

To stop Linux network service:

    [root@server /]# service network stop
    
Leave a Reply

Your email address will not be published. Required fields are marked *

SiteGround.com

A world leading hosting company that provides fully-managed innovative and secure solutions, suitable for hosting small to medium-sized websites

Built on the best available technologies combined with Google Cloud for strong redundancy and application availability. Backed by skilled experts to address web security threats, a devops team to create advanced custom security solutions, and 24/7 sysadmins to watch over the platform. This powerful, hands-on approach makes your sites faster, safer, and easier to manage. Starting from only $3.95/mo.

TRY FREE

* up to 30 days money back guarantee