[ntp:hackers] ntpd on ipv6 routers very chatty

John Hay jhay at meraka.org.za
Wed Oct 22 10:34:52 UTC 2008


Hi Guys,

I just updated some of my FreeBSD based routers to the latest 7-stable
code. This contains ntp 4.2.4p5-a. On these boxes ntpd fills up the
/var/log/messages file with these kinds of messages every few seconds:

########################################
Oct 22 11:59:52 roof-bkp ntpd[1296]: bind() fd 33, family 28, port 123, scope 0, addr fd9c:6829:597c:10::, in6_is_addr_multicast=0 flags=0x11 fails: Can't assign requested address
Oct 22 11:59:52 roof-bkp ntpd[1296]: unable to create socket on wlan0 (7177) for fd9c:6829:597c:10::#123
Oct 22 11:59:52 roof-bkp ntpd[1296]: bind() fd 33, family 28, port 123, scope 0, addr fd9c:6829:597c:10::, in6_is_addr_multicast=0 flags=0x11 fails: Can't assign requested address
Oct 22 11:59:52 roof-bkp ntpd[1296]: unable to create socket on wlan1 (7178) for fd9c:6829:597c:10::#123
########################################

The addresses that trip them up are ipv6 anycast addresses. They are
generated automatically if the box is a gateway. Ifconfig of an
interface looks like this:

########################################
:~ > ifconfig wlan0
wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        ether 00:80:48:50:9a:0a
        inet6 fe80::280:48ff:fe50:9a0a%wlan0 prefixlen 64 scopeid 0x7 
        inet6 fd9c:6829:597c:10:280:48ff:fe50:9a0a prefixlen 64 
        inet6 fd9c:6829:597c:10:: prefixlen 64 anycast 
        media: IEEE 802.11 Wireless Ethernet autoselect mode 11a <adhoc>
        status: running
        ssid ptabb channel 64 (5320 Mhz 11a) bssid 02:15:6d:53:1f:ee
        regdomain 55 indoor ecm authmode OPEN privacy OFF txpower 18
        mcastrate 6 mgmtrate 6 scanvalid 60 wme burst
:~ >
########################################

So what should happen here? Should it even try to bind to the anycast
address?

John
-- 
John Hay -- John.Hay at meraka.csir.co.za / jhay at FreeBSD.org


More information about the hackers mailing list