07-11-2005 11:09 AM
Anyone know how to find an IP of a device that is connected to a port?
07-11-2005 11:39 AM
Is the device connected to a switch port--on a Cisco Switch? Depending on if it's CatOS or CatIOS, you'll need to get the MAC address of the device connected. With that you can get into your router and look at the ARP table to determine the IP address of the MAC address you found.
If the device connected to a port is another cisco device you *may* be able to use CDP to determine the IP address.
There are also open source tools available here that can help (ARPTrack and/or Tracker):
http://cosi-nms.sourceforge.net/alpha-progs.html
HTH
Steve
07-12-2005 02:25 AM
Everything Steve says is correct.
Just to add a bit to this, you will need to look on the device that provides the gateway for the host in question so this could be a router or a layer 3 switch.
Once you have found this device then you can enter similar to:
sh arp | i
e.g.
my_router#sh arp | i 0012.7981.47e5
Internet 10.48.128.47 30 0012.7981.47e5 ARPA Ethernet1/0/4
HTH
PJD
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