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

how to convert MAC address to ip address

for example: how to convert ip address 192.0.2.24 to mac address?

1 ACCEPTED SOLUTION

Accepted Solutions
Purple

Re: how to convert MAC address to ip address

Hi,

The only way to find that out is to inspect the ARP tables after generating some traffic (e.g. a ping) to that address.

If you ping it from a router, enter the 'show arp' command to see what it's MAC is. If you ping it from a Windows PC, you can use 'arp -a' from the command line to see the mapping.

Regards,

Paresh

3 REPLIES
Purple

Re: how to convert MAC address to ip address

Hi,

There is no formula to do so since the two address types are independent. IP nodes use the Address Resolution Protocol (ARP) to determine the MAC address associated with an IP address.

Pls do remember to rate posts.

Paresh

New Member

Re: how to convert MAC address to ip address

for example to find a destination MAC address of a frame containing IP packet with a destination address of 192.0.2.24 in a vlan situation?

so how to find it?

Purple

Re: how to convert MAC address to ip address

Hi,

The only way to find that out is to inspect the ARP tables after generating some traffic (e.g. a ping) to that address.

If you ping it from a router, enter the 'show arp' command to see what it's MAC is. If you ping it from a Windows PC, you can use 'arp -a' from the command line to see the mapping.

Regards,

Paresh

12766
Views
8
Helpful
3
Replies
CreatePlease to create content