[CentOS] network interface question

Les Mikesell lesmikesell at gmail.com
Fri Oct 15 13:14:05 EDT 2010

On 10/15/2010 12:01 PM, m.roth at 5-cent.us wrote:
> Paras pradhan wrote:
>> On Fri, Oct 15, 2010 at 3:57 AM, Peter Kjellstrom<cap at nsc.liu.se>  wrote:
>>> On Thursday 14 October 2010, Paras pradhan wrote:
>>> ...
>>>> I have eight nics and its getting difficult to me which MAC id
>>>> represents which physical port. Any way to find this?
>>> Have a look at the "-p" option to ethtool
>> It would be useful (to me)  if I can use mac address instead of
>> interface name in -p option.
> After some thought, I think what I'd do is plug a cable into them in, one
> at a time, and use ethtool to find the one, and only one, that says "link
> detected", and you've got it.

mii-tool is a little handier for this since it will iterate over all the 
interfaces itself.  But, it will incorrectly call a 1Gb link 100baseT.

   Les Mikesell
    lesmikesell at gmail.com

More information about the CentOS mailing list