How-to Start / Stop / Restart Network Service in Linux

How-to Start / Stop / Restart Network Service in Linux

You can use the following commands as per your UNIX operating systems.

HP-UX Unix start / stop / restart networking service

# /sbin/init.d/net stop
# /sbin/init.d/net start
# /sbin/init.d/hostname start

IBM AIX Unix start / stop / restart networking service

Simply type the following command to make changes to tcp/ip
# smitty mktcpip
Start network service
# startsrc
Stop network service
# startsrc

OpenBSD start / stop / restart networking service

Start network service
# sh /etc/netstart pnc0

FreeBSD start / stop / restart networking service

Restart network service
# /etc/rc.d/netif restart

Sun/Oracle Solaris Unix start / stop / restart networking service

Restart network service

# svcadm restart physical

Linux: CentOS / RHEL / Red Hat / Fedora start / stop / restart networking service

# service network stop
# service network start
# service network restart

Linux: Debian / Ubuntu server start / stop / restart networking service

 

# service networking stop
# service networking start
# service networking restart

Via Unix HowTo: Start / Stop / Restart Network Service Command.

Leave a comment