Is there a way to disable IPv6 protocol & use only IPv4 protocol?

asked 2015-06-23 04:16:08 -0700

suhas gravatar image

updated 2015-06-23 04:21:19 -0700


We have a requirement where we need to disable IPv6 protocol, so that we don't jam the network with multicast DNS messages by using both IPv4 & IPv6 protocols. We are using the transport layer TRANSPORT_UDP. Is there a setting/configuration to achieve this?


edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2015-06-23 23:09:08 -0700

julianbros gravatar image

Currently there is no option to determine which protocol should be used. The only way to prevent IPv6 is to disable IPv6 functionality in the driver of your NIC or the network connection setting of your OS.

May I add that the IoT trends to use IPv6 due to the large amount of devices in the future, but also AllJoyn should provide an option to let the developer decide which protocol will be used. I've submitted a ticket: AllJoyn - Feature Request

edit flag offensive delete publish link more


I agree with the IoT part, however in our particular case, it would have been great to disable IPv6. Anyway, thank you very much for the quick response.

suhas ( 2015-06-23 23:43:08 -0700 )edit

Julian, the right place to submit tickets pertaining to AllJoyn is: https://jira.allseenalliance.org .

praveenb ( 2015-06-29 00:44:35 -0700 )edit

answered 2015-06-29 00:57:29 -0700

praveenb gravatar image

Currently, there is a developer-only setting to disable IPv6. Note that, this option is not meant for production as no tests have been run with the option.

The option is to set the flag ns_disable_ipv6 to true. This should be done in a routing node configuration file. A sample routing node configuration file is here. To that file, add the line <flag name="ns_disable_ipv6">true</flag>. You can find more information on configurable options of IP Name Service here. These options are developer-only.

Note: In production, routing node configuration files are only used with alljoyn-daemon running on Linux-based platforms. Even though it is possible to use a routing node configuration file named config.xml with debug builds of Apps built with BR=on, that option in unavailable for release builds.

edit flag offensive delete publish link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2015-06-23 04:16:08 -0700

Seen: 1,030 times

Last updated: Jun 29 '15