I always go to the switch and look through the CAM table. I pull out the MAC Addresses associated with a port, then I take those MAC addresses to a host that has an ARP database, arp -a | grep in unix, or show ip arp on IOS. Basically, you could have your host ping all known IP addresses so it ARP's them, then query the CAM database on your switch for those particular MAC addresses.
Of course, if someone else knows a better way, feel free to add. :) -- Jeff Harris - Cisco/Unix Engineer CCNA, CCNP Routing, Remote Access Passed On Thu, May 23, 2002 at 07:21:24PM -0400, ashish wrote: > Hi, > Is it possible to get the IP addresses of all the boxes attached to a port in > the switch. > > If there are 2 boxes attached to a hub and that hub is attached is attached > to > a switch. > Now is it possible to get the IP addresses of those 2 boxes by just looking > at > the switch... > thru SNMP or some other means.. > > Please pardon me if my questions seem illogical :-) > > Thanks, > Ashish Message Posted at: http://www.groupstudy.com/form/read.php?f=7&i=44915&t=44904 -------------------------------------------------- FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]