Re: Getting IP address of devices connected to a switch

Les Mikesell <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Roy M. Silvernail wrote:
> On Wed, Jun 04, 2008 at 07:36:50PM +0530, amar wrote:
>> Hi,
>>
>> How can I get the IP address of the devices that are connected to a switch?
>> Is there any OID that can fetch them?
> 
> Depends on what you mean by "connected".  If you mean the devices 
> plugged into the switch ports, no.  If you're looking for the addresses 
> of devices holding a TCP connection to the switch, 
> RFC1213-MIB::tcpConnTable has that.

OpenNMS (and probably other tools) can figure this out so there must be 
a way to do it.  I think it gets the MAC table from the switch and 
matches it up with the arp table and/or the mac/IP addresses from the 
connected devices.

-- 
   Les Mikesell
    [email protected]

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.