Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Mar 2013 22:54:42 +0100 (CET)
From:      "M. Schulte" <m-freebsd@fuglos.org>
To:        freebsd-net@freebsd.org
Subject:   Re: ntpd bind() failure: Can't assign requested address
Message-ID:  <alpine.BSF.2.00.1303152246340.80143@m.fuglos.org>
In-Reply-To: <CAN6yY1ve7FDc=W%2BFKV=OFER7n7nrY_BT2VNHtU76%2Bo%2B%2BjuZP%2Bw@mail.gmail.com>
References:  <alpine.BSF.2.00.1303122241080.77297@m.fuglos.org> <CAN6yY1ve7FDc=W%2BFKV=OFER7n7nrY_BT2VNHtU76%2Bo%2B%2BjuZP%2Bw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

> What is the address space is the address you are seeing on the interface?
> Is it is a link-local address or one assigned by the router, a static from
> rc.conf or DHCPv6? You should have two inet6 addresses, one is link-local
> (starts with "fe") and another should start with "2". There may be more
> than two.

I fear I cannot answer all of these questions. I don't have any IPv6
addresses configured in rc.conf. Also, I am not using dhcp. Basically
I only have IPv4 networking configured with static addresses --
neither have I actively _disabled_ IPv6.

This is my ifconfig output:

re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
         options=8009b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,LINKSTATE>
         ether 00:16:36:74:20:76
         inet XXX.XXX.XXX.XXX netmask 0xfffffff0 broadcast XXX.XXX.XXX.XXX
         inet6 fe80::216:36ff:fe74:2076%re0 prefixlen 64 scopeid 0x2
         nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
         media: Ethernet autoselect (100baseTX <full-duplex>)
         status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
         options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
         inet6 ::1 prefixlen 128
         inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
         inet 127.0.0.1 netmask 0xff000000
         nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
lo1: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
         options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
         inet 192.168.1.1 netmask 0xffffff00
         inet 192.168.1.2 netmask 0xffffff00
         inet 192.168.1.3 netmask 0xffffff00
         nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>

Also, I have noticed something: when i disable ntpd_enable in rc.conf
and start ntpd manually after boot up, no such errors are logged. So I
had the impression that is must have something to do with the
timing. I have changed /etc/rc.d/ntpd in such a way that it logs the
output of ifconfig at the beginning. But... there's no difference to
the ifconfig output above. Hence I am not sure what's going on.

Thanks for any help!

~ melanie



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