Hi Vijay, I do not know which type the object 1.3.6.1.4.1.9.2.9.3.1.1.66.1 has by its MIB specification, however, I guess, it is IpAddress. The syntax IpAddress is IPv4 *only*. If you use a IPv6 address to set it, it will be undefined what address is used on the wire. Most likely, it is the default (0.0.0.0) or the IPv4 portion of the IPv6 address or something completely different.
Regards, Frank Vijay Reddy (dvsreddy) wrote: > 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 > ansportmapp...@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 > _______________________________________________ > SNMP4J mailing list > [email protected] > http://lists.agentpp.org/mailman/listinfo/snmp4j -- AGENT++ http://www.agentpp.com http://www.snmp4j.com http://www.mibexplorer.com http://www.mibdesigner.com _______________________________________________ SNMP4J mailing list [email protected] http://lists.agentpp.org/mailman/listinfo/snmp4j
