Login  
Search All Forums
Dart Home | PowerSNMP for .NET | Custom Development Reply | PowerSNMP for .NET Topics | Forums   
AuthorForum: PowerSNMP for .NET
Topic: Get mac address from ip
Brad76

From: San Francisco, CA USA
Posts: 5
Member Since: 10/16/09
posted April 30, 2010 5:28 AM

Hi
is possibile to get the mac address lof a network printer from its ip address with powersnmp library?
can you show me how please?

thanks
K M Drake



From: Utica, NY USA
Posts: 3406
Member Since: 07/14/00
posted April 30, 2010 5:24 PM

Hi,
It depends on whether the printer agent can be queried for this information.

For example, it may support the interface table (ifTable - 1.3.6.1.2.1.2.2), in which case you could Get values under the ifPhysAddress column (1.3.6.1.2.1.2.2.1.6.X, where X is a row in the table).

In any case, assuming the printer hosts an SNMP agent, the first step is to see if it supports an OID that provides this information.

-ken
Brad76

From: San Francisco, CA USA
Posts: 5
Member Since: 10/16/09
posted May 7, 2010 12:45 PM

ok thanks
Reply | PowerSNMP for .NET Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX