09-14-2006 10:41 AM - edited 03-03-2019 05:02 AM
Hi all,
Can anybody tell me how to remotely locate the ip address of a machine thru layer 2 and layer 3?
Thanks in advance,
Stanly Philip
09-14-2006 10:57 AM
If you have the MAC Address, from the L3 device type
#show arp | include [mac-address]
09-14-2006 11:04 AM
If you know to which L2 device the PC is connected on the L2 switch with show mac address-table | include "interface" you can retrive the connected device MAC address (in this case you should know to which port device is connected). And after this you can follow Edison's suggestion: show arp | include "mac address".
bye
FCS
Please rate me if I helped.
09-14-2006 12:06 PM
Thanks to both of you...but in the same way if we have the ip address of the host and want to know the location of the machine thru layer 2. How is it possible?
Thanks,
Stanly
09-14-2006 12:09 PM
First you get the mac address from the L3 device by typing
#show arp | include [ip address]
then you go to the L2 device and type
#show mac-address-table | include [mac-address]
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide