[SNMP4J] SNMP Get Request with IPv6
Archana Rajagopal
archana.gopal at gmail.com
Wed Jun 1 01:43:20 CEST 2011
Hello,
I am new to SNMP4j.I am trying to migrate from a older SNMP tool to SNMP4j.
I wrote code very similar to the example given in the Snmp class java doc:
*This is the address creation part*:
Address targetAddress =
GenericAddress.parse("udp:FE80::213:C4FF:FEBD:8DC0/161");
TransportMapping transport = new DefaultUdpTransportMapping();
snmp = new Snmp(transport);
transport.listen();
target = CommunityTarget();
....
This code works well with IPv4 addresses.When I specify a IPv6 address it
returns a null response PDU.
Please let me know if I am missing something here?Should I use a different
data type for IPv6?
Thank you
-Varchana
More information about the SNMP4J
mailing list