Hi, are you sure that it is the correct OID ?

Try a tool that is able to perform an SNMP walk. You can also use Net-SNMP on Windows. 
See README.win32 file.

I tried the OID you gave on my Windows workstation and Net-snmp is able to retrieve 
MAC address of the machine, as you can see:

C:\>snmpget -c public localhost .1.3.6.1.2.1.2.2.1.6.2
Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: RFC1213-MIB::ifPhysAddress.2

C:\>snmpwalk -c public localhost RFC1213-MIB::ifPhysAddress
RFC1213-MIB::ifPhysAddress.1 = ""
RFC1213-MIB::ifPhysAddress.16777219 = Hex-STRING: 00 01 03 11 F8 D6

Ethernet adaptador Conexión de área local:

Descripción . . . . . . . . . . . . . : 3Com 3C920 Integrated Fast Ethernet Controller 
(3C905C-TX Compatible)
Dirección física. . . . . . . . . . . : 00-01-03-11-F8-D6



> -----Original Message-----
> From: Vic Berdin
> Sent: Monday, June 21, 2004 8:51 AM
> To: [EMAIL PROTECTED]
> Subject: MAC address not retrieved by Win32 client
> 
> 
> Hi,
> 
> 
> I've setup net-snmp (v5.1.1) on an RH7.3 machine. I 
> tried to retrieve information from it via a Win32 client 
> using the tool "snmputilg.exe". It's nice to see that 
> common values such as sysUPTime, sysContact, sysName, 
> sysLocation, etc were retrieved successfully.
> 
> However, I noticed that MAC (physical) addresses 
> (OID .1.3.6.1.2.1.2.2.1.6.2, etc) were NOT retrieved by 
> the tool.
> 
> I'm not sure if this is a problem with net-snmp or the 
> Win32 tool (snmputilg.exe) I'm using. Can anyone:
> 
> 1. ...explain why MAC addresses can't by retrieved from 
>    net-snmp (if it's net-snmp's fault)
> 
> 2. ...or point to me to a more complete/stable (yet FREE)
>    Win32 snmp test suit that can prove that net-snmp can
>    provide MAC address queries.
> 
> 
> TIA and Best regards, 
> Vic
> 
> 
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.672 / Virus Database: 434 - Release Date: 4/28/2004
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
> Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
> Conference, June 28 - July 1 at the Moscone Center in San 
> Francisco, CA
> REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority 
> Code NWMGYKND
> _______________________________________________
> 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
> 
-------------------------------------------------------------------------------------------------------------------
Este correo electrónico y, en su caso, cualquier fichero anexo al mismo, contiene 
información de carácter confidencial exclusivamente dirigida a su destinatario o 
destinatarios. Queda prohibida su divulgación, copia o distribución a terceros sin la 
previa autorización escrita de Indra. En el caso de haber recibido este correo 
electrónico por error, se ruega notificar inmediatamente esta circunstancia mediante 
reenvío a la dirección electrónica del remitente.

The information in this e-mail and in any attachments is confidential and solely for 
the attention and use of the named addressee(s). You are hereby notified that any 
dissemination, distribution or copy of this communication is prohibited without the 
prior written consent of Indra. If you have received this communication in error, 
please, notify the sender by reply e-mail


-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
_______________________________________________
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

Reply via email to