[SNMP4J] IPv6 address in varbind is represented as 0.0.0.0 on receiver machine

Vijay Reddy (dvsreddy) dvsreddy at cisco.com
Tue Oct 27 21:27:46 CET 2009


Hi All,
 
Can someone pls help me with the problem am having,
 
Am trying to send ipv6 address as part of trap varbinds.  On sender
machine it looks ok but on receiving machine value is represented as
0.0.0.0.
 
On further debugging with the help of wireshark, on sender machine
itself it is sent as 0.0.0.0. Is there any specific reason for it.
 
Tried with latest SNMP4J version, can any one help me if am doing
anything wrong.
 
On sender machine (Using SNMP4J ):
 
CommunityTarget[address=171.69.75.60/162, version=1, timeout=1000,
retries=0, community=public] ****  TRAP[requestID=0,
errorStatus=Success(0), errorIndex=0, VBS[1.3.6.1.2.1.1.3.0 =
0:16:40.00; 1.3.6.1.6.3.1.1.4.1.0 = 1.3.6.1.4.1.9.9.43.2.0.1;
1.3.6.1.4.1.9.2.9.3.1.1.66.1 = 2001:db8:85a3:0:0:8a2e:370:7334;
1.3.6.1.4.1.9.2.9.3.1.1.67.1 = 10.10.10.1]]
 
On receiver machine (Using SNMP4J ):
 
CommandResponderEvent[transportMapping=org.snmp4j.transport.DefaultUdpTr
ansportMapping at 8b819fpeerAddress=30.30.30.15/34313, processed=false,
pdu=[TRAP[requestID=1234289308, errorStatus=Success(0), errorIndex=0,
VBS[1.3.6.1.2.1.1.3.0 = 0:16:40.00; 1.3.6.1.6.3.1.1.4.1.0 =
1.3.6.1.4.1.9.9.43.2.0.1; 1.3.6.1.4.1.9.2.9.3.1.1.66.1 = 0.0.0.0;
1.3.6.1.4.1.9.2.9.3.1.1.67.1 = 10.10.10.1]]], securityName=public,
securityModel=2, securityLevel=1]

 
Thanks and regards,
Vijay



More information about the SNMP4J mailing list