10-13-2008 11:30 PM - edited 03-03-2019 11:55 PM
is there any way to find the IP address from the mac-address when the mac-address is 4 or 5 hops away from my router.
10-13-2008 11:33 PM
If you mean find the IP address from the mac-address by interrogating your router then the answer is no.
Mac-addresses are only local to the LAN so if the device is 4 or 5 hops away it the packet on your router will only have the mac-address of the last hop.
Jon
10-14-2008 12:02 AM
HOST 1----R1--R2--R3-----R4-----R5---HOST 2
please clarify , if i have a mac-address of HOST 2 , then which Router will be the last hop for HOST 1 ...... and the command for that ???
10-14-2008 12:55 AM
For your scenario above, you can know the IP address of Host2 from the MAC by issuing the "R5# show arp" command on router 5 only, as this router is the default gateway for Host2.
Cheers mate.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: