Wordpress Developer & Photographer
Wordpress Developer & Photographer

How-to Restart Networking in CentOS

After performing any sort of network change, such as adding IPs it is necessary to restart the network adapters in Linux so the new changes are active. This may also be a useful step in troubleshooting network issues.

#depending on your version of CentOS you may need a different command
/etc/init.d/network restart
#systemctl is the modern way to restart networking
systemctl restart network