Identification of physical network interface in linux [duplicate]
I'm new to linux and I have server with four network cards. I have to identify which physical network interface is assigned to the names eth0, eth1, eth2 and eth3. I have to disconnect cable from eth2 and do not know which network card it is.
Thanks
You can use ethtool.
ethtool -p ethX [N]
- ethX – network interface name
- [N] – number of second to blink
Example:
ethtool -p eth2 15
This will blink the network interface eth2 for 15 seconds, then you can see which physical network interface is for eth2