Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Aug 2005 19:39:37 -0700
From:      Sean McNeil <sean@mcneil.com>
To:        current@freebsd.org
Subject:   IPv6, ntpd, and kpasswdd
Message-ID:  <1123727977.1382.7.camel@server.mcneil.com>

next in thread | raw e-mail | index | archive | help
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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1123727977.1382.7.camel>