Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

Finding ip address from a Mac address

a device connected on a switch port which mac address is known , how to find the ip address for that device.Any help would be appreciated.

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Finding ip address from a Mac address

Hello,

to get the IP address you need a device, which is Layer3 capable. You can look at the default gateway into the arp cache. The command would be:

"show arp"

You also have the option to search the output for the specified MAC AA-BB-CC-DD-EE-FF

"show arp | include AA-BB-CC-DD-EE-FF"

To be successful you need to make sure the device does have an IP address and did communicate through the default gateway within the ARP timeout of the router.

Hope this helps! Please rate all posts.

Regards, Martin

3 REPLIES

Re: Finding ip address from a Mac address

Hello,

to get the IP address you need a device, which is Layer3 capable. You can look at the default gateway into the arp cache. The command would be:

"show arp"

You also have the option to search the output for the specified MAC AA-BB-CC-DD-EE-FF

"show arp | include AA-BB-CC-DD-EE-FF"

To be successful you need to make sure the device does have an IP address and did communicate through the default gateway within the ARP timeout of the router.

Hope this helps! Please rate all posts.

Regards, Martin

New Member

Re: Finding ip address from a Mac address

yes you are correct about the layer3 device, but this device is connected on a 6509 layer2 switch, if i do a show arp | include AA-BB-CC-DD-EE-FF on a layer 3 device within the private ip network, it still does not find it.

New Member

Re: Finding ip address from a Mac address

got it, you are right, i had a different format of the mac address thats why it did not work the first time.all good, i really appreciate your help in it, Thanks.

259
Views
0
Helpful
3
Replies
CreatePlease to create content