[ntp:questions] ipv6 support on linux - bind problem

Harlan Stenn stenn at ntp.isc.org
Sat Apr 7 20:29:31 UTC 2007

Would somebody please add this to http://ntp.isc.org/Support ?  I'm not
exactly sure where yet...

>>> In article <ev8rn0$ocq$1 at saturn.z74.net>, Maurice Janssen <mauricej at xs4all.nl> writes:

Maurice> On Sat, 07 Apr 2007 11:14:04 -0700, Wolfgang S. Rupprecht wrote:
>> I've seen this problem with other programs under linux's ipv6.  The
>> problem is that the linux stack unlike the Kame stack used in BSD's uses
>> mapped ipv4 addresses in ipv6.  If one opens up a whildcard listening
>> socket for both the ipv4 stack (with AF_INET) and then again for the ipv6
>> stack (with AF_INET6), one ends up trying to open the v4 port a second
>> time through the mapped-address.  The trick is to only open up the
>> AF_INET6 socket - it implies the ipv4 mapping.

Maurice> Another option: echo 1 > /proc/sys/net/ipv6/bindv6only

More information about the questions mailing list