jmx-dev Query: IPv6 Support in JMX SNMP APIs

Daniel Fuchs Daniel.Fuchs at Sun.COM
Mon May 5 09:27:28 PDT 2008


Hi,

Yes, IPv6 is supported.

You can specify IPv6 addresses in the ACL files, and you can
specify a specific interface to which to bind to (if you want
to bind to an interface which is not the default) using
the com.sun.management.snmp.interface property.

for instance, you can define:
com.sun.management.snmp.interface=::1

See <jdk-install>/jre/lib/management/snmp.acl.template
and <jdk-install>/jre/lib/management/management.properties

Hope this helps,

-- daniel
http://blogs.sun.com/jmxetc

Nitin Agrawal wrote:
> Hi
> 
> Apologies if it is a repeat question, but I could not find an answer to 
> it on http://openjdk.java.net/groups/jmx/ and in the mailing list archives.
> 
> *Is IPv6 supported* in JMX SNMP APIs (javax.management and sub-packages) 
> with JDK 1.5? I have searched on Sun's site and googled it, but could 
> not get any lead on it.
> 
> In our application, we are using these APIs which are only IPv4 
> compliant. We are adding IPv6 support and hence this query.
> 
> If there is already IPv6 support available for 1.5, please point me to 
> it. If it is not, then:-
> - Please let me know in case if it supported in JDK 1.6 or even here 
> there is no support for IPv6.
> 
> If there is not support anywhere, we need to go with DIY approach and 
> (re-)invent the wheel.
> 
> Will appreciate any thoughts/pointers on this.
> 
> Regards
> -Nitin Agrawal
> 




More information about the jmx-dev mailing list