Hi folks --

I have three machines, all on the same subnet. I run SNMPc on machine
1. I've snmpd 5.1.2 on machine #2, and I'm asking snmpd to proxy and
forward certain requests to machine 3.

The requests that I want to forward are all in the enterprises.ibm(2)
subtree. Sadly, varbinds in that subtree are not being forwarded as I
wish. 

This is my proxy entry in snmpd.conf:

  proxy   -v 2c  -c public   192.168.10.103  1.3.6.1.4.1.2

By this, I mean that machine #2 should forward anything under
enterprises.2 to 192.168.10.103.

When I turn on packet dump in snmpd in the forwarding machine (#2), I
see that no packets are being forwarded. 

What am I doing wrong? 

SNMPc is running on 192.168.10.33. Here's part of the packet dump
(ascii column deleted so it'll fit) that shows the managed machine
(#2) not forwarding packets, but responding to the manager instead
(with the right stuff, btw):


Received 47 bytes from 192.168.10.33
0000: 30 2D 02 01  00 04 06 70  75 62 6C 69  63 A0 20 02 
0016: 02 14 72 02  01 00 02 01  00 30 14 30  12 06 0E 2B 
0032: 06 01 04 01  02 03 33 02  16 01 03 01  04 05 00 

Received SNMP packet(s) from 192.168.10.33
  GET message
    -- SNMPv2-SMI::enterprises.2.3.51.2.22.1.3.1.4

Sending 47 bytes to 192.168.10.33
0000: 30 2D 02 01  00 04 06 70  75 62 6C 69  63 A2 20 02 
0016: 02 14 72 02  01 02 02 01  01 30 14 30  12 06 0E 2B 
0032: 06 01 04 01  02 03 33 02  16 01 03 01  04 05 00    

Received 47 bytes from 192.168.10.33
0000: 30 2D 02 01  00 04 06 70  75 62 6C 69  63 A0 20 02  
0016: 02 14 73 02  01 00 02 01  00 30 14 30  12 06 0E 2B 
0032: 06 01 04 01  02 03 33 02  16 01 03 01  03 05 00     
Received SNMP packet(s) from 192.168.10.33
  GET message
    -- SNMPv2-SMI::enterprises.2.3.51.2.22.1.3.1.3

Sending 47 bytes to 192.168.10.33
0000: 30 2D 02 01  00 04 06 70  75 62 6C 69  63 A2 20 02  
0016: 02 14 73 02  01 02 02 01  01 30 14 30  12 06 0E 2B   
0032: 06 01 04 01  02 03 33 02  16 01 03 01  03 05 00    

Received 47 bytes from 192.168.10.33
0000: 30 2D 02 01  00 04 06 70  75 62 6C 69  63 A0 20 02   
0016: 02 14 74 02  01 00 02 01  00 30 14 30  12 06 0E 2B   
0032: 06 01 04 01  02 03 33 02  16 01 03 01  02 05 00     

Received SNMP packet(s) from 192.168.10.33
  GET message
    -- SNMPv2-SMI::enterprises.2.3.51.2.22.1.3.1.2

Sending 47 bytes to 192.168.10.33
0000: 30 2D 02 01  00 04 06 70  75 62 6C 69  63 A2 20 02  
0016: 02 14 74 02  01 02 02 01  01 30 14 30  12 06 0E 2B  
0032: 06 01 04 01  02 03 33 02  16 01 03 01  02 05 00     


=====
-- Pete Wilson    
   http://www.pwilson.net/


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
Net-snmp-coders mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to