So, there is no way we can get router's IP address table using net-snmp? -----Original Message----- From: Peter Hicks [mailto:[email protected]] Sent: Wednesday, March 04, 2009 1:05 PM To: Sathyanarayana Murthy, Harish Kolar Cc: [email protected] Subject: Re: FW: net-snmp for network discovery
Sathyanarayana Murthy, Harish Kolar wrote: > I learnt that there is a optimized approach for discovering nodes in a > network using SNMP. Getting the node details from the router or > something like that, instead of incrementing each IP and getting its status. > > Could anybody share some thoughts on this? This is where you poll a 'seed' router (normally a default gateway), look at the ifTable, atTable and ipAddrTable, then poll each host in turn. This won't pick up hosts that aren't actively communicating, but is a quick way to build up information on a network without scanning every possible IP address. Net-SNMP won't discover your network, but you can use the perl library for example to write code to do this. Peter -- Peter Hicks | e: [email protected] | g: 0x5DA31330 | w: www.poggs.com A: Because it destroys the flow of the conversation Q: Why is top-posting bad? ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
