Friday, October 26, 2007

Which interface is ethX?

Come across this useful tips by RedHat Magazine's site..

When you're troubleshooting a machine (mostly servers - in my case) you may be wondering which NIC (more than 1 of course) is the eth0/1/2??

Use this command - "/sbin/ethtool -p eth0 5"

The eth0 card will blink 5 times, without interrupting the network traffic. I have not tried this cuz i'm composing this blog at my dual-boot windows machine.

Well, i find that mii-tool does help too - "/sbin/mii-tool"

eth0: negotiated 100baseTx-HD, link ok
eth1: no link

Simple, right?

regards,
Skywalker

No comments: