How To Start, Stop, Restart Networking On Linux?

RSS
EMAIL
FACEBOOK
FACEBOOK
GOOGLE
GOOGLE
https://www.poftut.com/start-stop-restart-networking-linux/
PINTEREST
PINTEREST
INSTAGRAM

I have changed my network configuration and want to restart to make changes effective. Or there are some problems with my network and I think restarting it will solve my problems. Here we will look how to restart networking service in various network distributions like Ubuntu, Debian, Fedora,CentOS.

Get Status Of Network Service

We will get status of network with the following command.

Debian, Ubuntu, Kali

For deb based distributions we will use init.d  system. We will provide status option to the networking script.

Get Status Of Network
Get Status Of Network

As we cab see that networking service is active from given date. Its PID is 897 .

Fedora, CentOS

For distributions like CentOS, RedHat, Fedora we will use systemctl command. We will provide the options status and network which is the networking service.

Get Status Of Network
Get Status Of Network

Stop Network Service

We can stop network like below. Bu keep in mind for remote connection it can be create problems with ssh

Ubuntu, Debian, Kali

We will use stop option with networking command in order to stop network services in Ubuntu, Debian, Kali, Mint etc.

Stop Network Service
Stop Network Service

Fedora,CentOS

We will use systemctl again with stop option which will stop network services. We also requires root privileges which will beget with sudo command.

Start Network

We can start network like below.

Ubuntu, Debian, Kali

We will provide start option in order to start network services in deb based distributions.

LEARN MORE  Linux Traceroute Command Tutorial With Examples

Fedora,CentOS

We will use start network option in order to start network services in rpm based distributions.

Restart Network

Now we can restart our network or network services.

Ubuntu, Debian, Kali

Fedora,CentOS

RSS
EMAIL
FACEBOOK
FACEBOOK
GOOGLE
GOOGLE
https://www.poftut.com/start-stop-restart-networking-linux/
PINTEREST
PINTEREST
INSTAGRAM