红联Linux门户
Linux帮助

RHEL/CentOS下识别ethN对应的物理网卡

发布时间:2015-01-06 21:35:45来源:linux网站作者:linux人

Identify ethN correspondent to physical interface – Red Hat Enterprise Linux

Many times is necessary identify who eth (eth0, eth1, eth2, … , ethN) correspond to physical interface.

For this you can use the ethtool

ethtool -p ethN

example:

ethtool -p eth0

One or more LEDs on the specific physical ethernet port are blinking now.