Re: 6.x - find interface with link up

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



On Thu, Dec 15, 2011 at 5:16 PM, Ross Walker <rswwalker@xxxxxxxxx> wrote:

>> In earlier versions 'mii-tool' would iterate over interfaces and show
>> which have link up.   In 6.x it wants an interface as a parameter.
>> What is the appropriate way to find which of some number of of
>> interfaces are connected?   Better yet, what is the least typing to
>> get the mac addresses of those interfaces?
>
> In 5 an 'ifconfig' without parameters would only list up interfaces and one would have to do an 'ifconfig -a' to see all interfaces. Maybe still true in 6?
>

That's not just 'link up' though. Those are ones that are
'administratively up' with an address assigned.  That would be the
same set with the default configuration and DHCP service available on
all subnets, but we don't have that.

-- 
   Les Mikesell
      lesmikesell@xxxxxxxxx
_______________________________________________
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