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,947
  • 4
  • 35
  • 52
Sandra
  • 10,303
  • 38
  • 112
  • 165

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
  • 109,363
  • 18
  • 175
  • 245
  • 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