2009/6/19 Sathyanarayana Murthy, Harish Kolar <[email protected]>:
> I want to know whether is it possible using
> any of the MIBs to know the IP address of a machine by knowing its mac
> address.
Not easily.
The only relevant MIB table would appear to be IP-MIB::ipNetToPhysicalTable
but that's designed for the opposite lookup - from IP address to physical
address.
The only possibility that comes to mind would be to walk the
IP-MIB::ipNetToPhysicalPhysAddress column, looking for the entry
of interest. The index values of the matching row would then give you
the corresponding IP address.
Dave
PS: Please can you post this sort of question with a new subject,
rather than tagged on to a completely unrelated question.
Thanks.
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders