[CentOS] restarting network interface

Thu Nov 21 11:10:01 UTC 2013
Scott Robbins <scottro at nyc.rr.com>

On Wed, Nov 20, 2013 at 09:06:25PM -0700, Wes James wrote:
> On Wed, Nov 20, 2013 at 8:40 PM, Clint Dilks <clint.dilks at gmail.com> wrote:
> 
> > Hi,
> >
> > The most likely answer is that your interface is not enabled.
> >
> > Try someting like
> >
> > cat /etc/sysconfig/network-scripts/ifcfg-em1
> >
> >
> Then only file under network-scripts that has ifcfg-* is ifcfg-lo.
> 
> So how is eth0 getting brought up, I wonder??  I'll look in /etc/init.d.  I
> did a stop and start of NetworkManager, but eth0 and loopback were still
> there.

Are you using NetworkManager, which is the default?   
If so, then it's probably a NetworkManager issue.  
(Sorry, I have no idea how to troubleshoot that, personally, I greatly
dislike it and don't use it.)

At any rate, the command, if you were using NM, would be service
NetworkManager restart rather than service network.

-- 
Scott Robbins
PGP keyID EB3467D6
( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 EB34 67D6 )
gpg --keyserver pgp.mit.edu --recv-keys EB3467D6