Re: Network interface status

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



Maybe you will like ethtool from now.

------------
Banyan He
Blog: http://www.rootong.com
Email: banyan@xxxxxxxxxxx

On 3/21/2013 5:21 PM, isdtor wrote:
> Under CentOS6, is it possible to get an interface to RUNNING state
> without assigning a (dummy) IP address?
>
> # ifconfig em2
> em2       Link encap:Ethernet  HWaddr 78:2B:CB:67:3E:5C
>            UP BROADCAST MULTICAST  MTU:1500  Metric:1
>            RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>            TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>            collisions:0 txqueuelen:1000
>            RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
>
> This was working fine on RHEL3 simply by running ifconfig up.
>
> # ifconfig eth1 up
> # ifconfig eth1
> eth1      Link encap:Ethernet  HWaddr 00:11:25:57:8B:2D
>            UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>            RX packets:10658057 errors:0 dropped:0 overruns:0 frame:0
>            TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>            collisions:0 txqueuelen:1000
>            RX bytes:1169901971 (1115.7 Mb)  TX bytes:0 (0.0 b)
>            Base address:0x3400 Memory:d0240000-d0260000
>
> # dmesg |grep eth1
> ...
> e1000: eth1: e1000_watchdog: NIC Link is Up 1000 Mbps Full Duplex
> #
>
> provided there is a link.
> _______________________________________________
> 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