On Linux you could use ethtool -p eth0 to have the port flash the lights for identification. Note that this is pretty much Linux only, and ethtool isn't installed by default.
hmmm but you check it manually, I was wondering if I can get the answer by script...
something like this....
eth=eth0
if eth correspond to nw_card1
echo "${eth} is port of nw card 1"
elif eth correspond to nw_card2
echo "${eth} is port of nw card 2"
elif eth correspond to nw_card3
echo "${eth} is port of nw card 3"
I need the commands for the if statements if there are any.. :wall: