Restart the Network (Ubuntu Centos RedHat Fedora)

Restart the Network

Ubuntu

$ sudo /etc/init.d/networking restart

Centos, RedHat, Fedora

$ service network  restart