[erlang-questions] OTP R16A EPMD IPv6 support

Edwin Fine emofine@REDACTED
Tue Feb 5 20:45:50 CET 2013


Although it does not seem to be in the release notes, it appears that 
R16 does support epmd using IPv6 addresses, but it is not enabled by 
default. To enable it, it seems that you need to export CPPFLAGS=-DEPMD6 
before running configure, assuming that the building system provides 
inet_pton.

After building R16A, to assign some IPv6 and IPv4-on-IPv6 addresses, I 
got this to work:

$ epmd -daemon -address ::FFFF:0.0.0.0,fded:1486:2e44::1:2:1
$ netstat -tnl|grep 4369
tcp6       0      0 ::1:4369                :::* LISTEN
tcp6       0      0 fded:1486:2e44::1::4369 :::* LISTEN
tcp6       0      0 0.0.0.0:4369            :::* LISTEN

It does not look as if the Erlang Solutions build of R16A has the IPv6 
epmd support enabled on the Ubuntu 11.04 64-bit package I installed.

My questions are:

1. Did I understand this correctly?
2. Why is EPMD IPv6 support not enabled by default using autoconfig?
3. Is the EPMD IPv6 support intended to be used in this release, or is 
it disabled for some reason?

Ed



More information about the erlang-questions mailing list