Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

If I have two NICs where I know the MAC addresses.

Without logging into the server, how do I figure out which have the IP address 10.10.10.10?

Can arp somehow be used for this?

share|improve this question

1 Answer 1

up vote 16 down vote accepted

Assuming you're on the same subnet as 10.10.10.10, ping the address, then run arp -a. That should show your local arp table, including the IP->MAC mapping you're looking for.

share|improve this answer
1  
Spot on answer. If you are NOT in the same subnet it can't be done from the outside. You will have to logon to the server itself in that case. –  Tonny Nov 3 '11 at 14:33
1  
If the NIC receives its IP address via DHCP, the DHCP server would also have an IP/MAC mapping. –  James Sneeringer Nov 3 '11 at 16:20

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.