5

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?

Phil Hollenback
  • 14,647
  • 4
  • 34
  • 51
Sandra
  • 9,973
  • 37
  • 104
  • 160

1 Answers1

16

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.

EEAA
  • 108,414
  • 18
  • 172
  • 242
  • 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 03 '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 03 '11 at 16:20