IPv6, ntpd, and kpasswdd

Sean McNeil sean at mcneil.com
Thu Aug 11 02:39:41 GMT 2005


I have successfully setup my network with IPv6.  In doing so, I setup my
two NICs with

ipv6_prefix_dc0="2002:18c7:2d36:0000"
ipv6_prefix_re0="2002:18c7:2d36:0001"

to correspond to my 6to4 addressing.  This adds 2 inet6 addresses to my
ifconfig:

dc0: flags=108843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500
        inet6 2002:18c7:2d36:0:203:6dff:fe1a:b19b prefixlen 64
        inet6 2002:18c7:2d36:: prefixlen 64 anycast

re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet6 2002:18c7:2d36:1:20c:76ff:fee9:2c58 prefixlen 64
        inet6 2002:18c7:2d36:1:: prefixlen 64 anycast

ntpd and kpasswdd are having difficulty with the anycast addresses:

Aug 10 19:24:28 server kpasswdd[632]: bind(IPv6:2002:18c7:2d36::): Can't assign requested address
Aug 10 19:24:28 server kpasswdd[632]: bind(IPv6:2002:18c7:2d36:1::): Can't assign requested address

Aug 10 19:24:29 server ntpd[739]: bind() fd 10, family 28, port 123, addr 2002:18c7:2d36::, in6_is_addr_multicast=0 flags=0 fails: Can't assign requested address
Aug 10 19:24:29 server ntpd[739]: bind() fd 13, family 28, port 123, addr 2002:18c7:2d36:1::, in6_is_addr_multicast=0 flags=0 fails: Can't assign requested address

Question:  Is an anycast address multicast?  If so, shouldn't ntpd say
"in6_is_addr_multicast=1"?

I know this is harmless (at least appears to be), but I'd like to clean
it up.  Any ideas?

Sean




More information about the freebsd-current mailing list