2009/7/7 Sathyamuthy, Ramya <[email protected]>: > 2. Using net-SNMP Is there any otherway I can go about to get the IP-MAC > mapping for the entire subnet.
Try querying the network router for that subnet. It should have a relatively complete ARP cache, since any device that communicates with anything outside that subnet will need to go the router. So querying its ipNetToMediaTable might give you more information than a single random host would. Similarly, selected internal servers (e.g. a fileserver, or the DNS servers) may have a relatively complete record of IP-MAC mappings. Basically, think about what boxes everything else talks to. If they talk to it, then it should have an ARP record. Dave ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
