cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
675
Views
0
Helpful
3
Replies

finding ip address from a mac address

a.mir
Level 1
Level 1

is there a method one can find an ip address if the mac is given.

like nbtstat -a will provide the mac if the ip is known.

Thanks.

3 Replies 3

dgahm
Level 8
Level 8

Log into the gateway router on the subnet and use this command:

Router#sh arp | include XXXX.XXXX.XXXX

Some older code does not support the | (grep), but you can always show arp and search the result.

hi,

use the following command to see the reqd. output

Router#show ip arp

For other options:

Router#sh ip arp ?

ATM ATM interface

Async Async interface

BRI ISDN Basic Rate Interface

Ethernet IEEE 802.3

FastEthernet FastEthernet IEEE 802.3

H.H.H 48-bit hardware address of ARP entry

Hostname or A.B.C.D IP address or hostname of ARP entry

Null Null interface

Serial Serial

| Output modifiers

Example:

Router#sh ip arp 0007.8576.86c0

Protocol Address Age (min) Hardware Addr Type Interface

Internet 172.16.31.254 - 0007.8576.86c0 ARPA FastEthernet0/0

Router#

However fro a PC (Windows 2000/XP) only command is

C:\>arp -a

this displys the "arp cache"

there is no other method

For some more light follow this link:

http://compnetworking.about.com/od/networkprotocolsip/f/convertipmacadd.htm

Regard

Krishnamurthy Suresh

amit-singh
Level 8
Level 8

Use a free tool

CCgetmacaddress

This will provide you the MAC to IP or Ip to MAC on your network.

HTH,

-amit singh

Review Cisco Networking for a $25 gift card