I installed Net-SNMP on windows and it works fine.
 
Windows Example:
C:\>snmpget -c public -v 1 192.168.1.201 1.3.6.1.4.1.2254.2.4.1.2.0
SNMPv2-SMI::enterprises.2254.2.4.1.2.0 = STRING: "F6C1000-TW-RK"

If I do the same from Ubuntu Hardy or Debain Lenny either installed by
"apt-get install snmp" or compiled by source I get this:

Debain Lenny Example:
m...@serv:~$ snmpget -c public -v 1 192.168.1.201
1.3.6.1.4.1.2254.2.4.1.2.0
Timeout: No Response from 192.168.1.201.


When I sniff packets on the Linux box, I see that the packet is coming
back but for some reason snmpget isn't displaying it and thinks it's a
timeout!
Below is the sniffer data and you can see "MF6C1000-TW-RK" is the data
received back from the SNMP request.  So I am getting the SNMP messages
back!  


What could possibly be the problem? Why does snmpget think that nothing
is coming back?


---[ UDP ]-----------------------------------------------------------
192.168.1.200:59268(unknown) -> 192.168.1.201:161(snmp)
Version: 4       Total Lenght: 75       TTL: 64
Packet Number: 32

---[ UDP Data ]------------------------------------------------------

0-     public    S>1       0 0   +     N
---[ UDP ]-----------------------------------------------------------
192.168.1.201:161(snmp) -> 192.168.1.200:59268(unknown)
Version: 4       Total Lenght: 85       TTL: 255
Packet Number: 33

---[ UDP Data ]------------------------------------------------------

07     public *         0 0   +     N      ^MF6C1000-TW-RK
---[ UDP ]-----------------------------------------------------------
192.168.1.201:137(netbios-ns) -> 255.255.255.255:137(netbios-ns)
Version: 4       Total Lenght: 78       TTL: 255
Packet Number: 34

---[ UDP Data ]------------------------------------------------------

             FEEJENEFCNEOFHCOEOEJFDFECOEHEPAA





------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to