Re: restarting network interface

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi,

The most likely answer is that your interface is not enabled.

Try someting like

cat /etc/sysconfig/network-scripts/ifcfg-em1

You will see for a disabled interface ONBOOT="no"

Change the no to a yes and you should be good :)




On Thu, Nov 21, 2013 at 4:32 PM, Wes James <comptekki@xxxxxxxxx> wrote:

> 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
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> http://lists.centos.org/mailman/listinfo/centos
>
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux