[CentOS] restarting network interface

Wes James

comptekki at gmail.com
Thu Nov 21 03:32:00 UTC 2013


I googled to see how I might restart the network interface in CentOS.  I
initially tried before googling:

sudo service network restart

I noticed that only the loopback interface was restarted.  To confirm this
I did:

service network stop

and then did

ifconfig

and the loopback info was gone.  I then found ifconfig eth0 up/down and
tried those and that did what I is was looking for.  Why doesn't "service
network restart" restart all interfaces?

Thanks,

-wes



More information about the CentOS mailing list