cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
5242
Views
0
Helpful
2
Replies

locate device in a network with IP address

sayharson
Level 1
Level 1

Hi,

If I have a network consists of one core switch (L3) with the IP address, say 1.2.3.4, and several edge switches (L2), all of which are Cisco switches, and I got a report saying that the user with IP address, say 1.2.3.5 (and 1.2.3.4 is the gateway of it), is doing something bad. Now I want to track this user's physical location (e.g. on port 1 of edge switch A) so that I can do something about it (maybe sending a warning). What would be the most efficient way to do it?

1 Accepted Solution

Accepted Solutions

Deepak Kumar
VIP Alumni
VIP Alumni

Hi,

Try this:

Run below command on the Core Switch:

show arp 1.2.3.4 

Switch#show arp  1.2.3.4
Protocol  Address          Age (min)  Hardware Addr   Type   Interface
Internet  1.2.3.4              0   080a.20a1.0b50  ARPA   Vlan10

Copy the Hardware address from the output:

 

Run below command:

traceroute mac <source MAC address> <Destination MAC address>

 

here source mac-address you can keep as your machine address and Destination will be "080a.20a1.0b50" (mac address of IP address 1.2.3.4)

 

You will get the details.

Regards,
Deepak Kumar,
Don't forget to vote and accept the solution if this comment will help you!

View solution in original post

2 Replies 2

Deepak Kumar
VIP Alumni
VIP Alumni

Hi,

Try this:

Run below command on the Core Switch:

show arp 1.2.3.4 

Switch#show arp  1.2.3.4
Protocol  Address          Age (min)  Hardware Addr   Type   Interface
Internet  1.2.3.4              0   080a.20a1.0b50  ARPA   Vlan10

Copy the Hardware address from the output:

 

Run below command:

traceroute mac <source MAC address> <Destination MAC address>

 

here source mac-address you can keep as your machine address and Destination will be "080a.20a1.0b50" (mac address of IP address 1.2.3.4)

 

You will get the details.

Regards,
Deepak Kumar,
Don't forget to vote and accept the solution if this comment will help you!

Leo Laohoo
Hall of Fame
Hall of Fame
In addition to Deepak, if the user is doing something stupid, I'd shut the port down. ;)