[CentOS] network interface question

Fri Oct 15 17:01:32 UTC 2010
m.roth at 5-cent.us <m.roth at 5-cent.us>

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.