Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Mar 2013 10:46:04 +0000
From:      "Eggert, Lars" <lars@netapp.com>
To:        Schrodinger <schrodinger@konundrum.org>
Cc:        "<freebsd-net@freebsd.org>" <freebsd-net@freebsd.org>
Subject:   Re: ntpd bind() failure: Can't assign requested address
Message-ID:  <7DBA7D23-F1D6-4A40-A261-A91F8C5356EF@netapp.com>
In-Reply-To: <20130313141716.GB18992@defiant.konundrum.org>
References:  <alpine.BSF.2.00.1303122241080.77297@m.fuglos.org> <76E2EE0D-B6D3-428E-9112-AF0E04E98DDE@my.gd> <EB512A35-E253-4C00-8293-029DAEBD345B@my.gd> <20130313141716.GB18992@defiant.konundrum.org>

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

>> I confirm I have the same issue on 9.1 r247912 , as below:

same here, on FreeBSD 10.0-CURRENT #5 r+16848a4-dirty:

Mar 26 11:43:17  ntpd[2783]: bind() fd 23, family AF_INET6, port 123, scope=
 1, addr fe80::92e2:baff:fe2b:3a00, mcast=3D0 flags=3D0x11 fails: Can't ass=
ign requested address
Mar 26 11:43:17  ntpd[2783]: unable to create socket on ix0 (3) for fe80::9=
2e2:baff:fe2b:3a00#123
Mar 26 11:43:17  ntpd[2783]: bind() fd 23, family AF_INET6, port 123, scope=
 0, addr fd00:cafe:cafe:200::7, mcast=3D0 flags=3D0x11 fails: Can't assign =
requested address
Mar 26 11:43:17  ntpd[2783]: unable to create socket on ix0 (4) for fd00:ca=
fe:cafe:200::7#123
Mar 26 11:43:17  ntpd[2783]: bind() fd 24, family AF_INET6, port 123, scope=
 2, addr fe80::92e2:baff:fe2b:3a01, mcast=3D0 flags=3D0x11 fails: Can't ass=
ign requested address
Mar 26 11:43:17  ntpd[2783]: unable to create socket on ix1 (6) for fe80::9=
2e2:baff:fe2b:3a01#123
Mar 26 11:43:17  ntpd[2783]: bind() fd 24, family AF_INET6, port 123, scope=
 0, addr fd00:cafe:cafe:201::7, mcast=3D0 flags=3D0x11 fails: Can't assign =
requested address
Mar 26 11:43:17  ntpd[2783]: unable to create socket on ix1 (7) for fd00:ca=
fe:cafe:201::7#123
Mar 26 11:43:17  ntpd[2783]: bind() fd 25, family AF_INET6, port 123, scope=
 3, addr fe80::21b:21ff:fea8:a534, mcast=3D0 flags=3D0x11 fails: Can't assi=
gn requested address
Mar 26 11:43:17  ntpd[2783]: unable to create socket on em0 (9) for fe80::2=
1b:21ff:fea8:a534#123
Mar 26 11:43:17  ntpd[2783]: bind() fd 25, family AF_INET6, port 123, scope=
 0, addr fd00:cafe:cafe:100::7, mcast=3D0 flags=3D0x11 fails: Can't assign =
requested address
Mar 26 11:43:17  ntpd[2783]: unable to create socket on em0 (10) for fd00:c=
afe:cafe:100::7#123
Mar 26 11:43:17  ntpd[2783]: bind() fd 26, family AF_INET6, port 123, scope=
 4, addr fe80::21b:21ff:fea8:a535, mcast=3D0 flags=3D0x11 fails: Can't assi=
gn requested address
Mar 26 11:43:17  ntpd[2783]: unable to create socket on em1 (12) for fe80::=
21b:21ff:fea8:a535#123
Mar 26 11:43:17  ntpd[2783]: bind() fd 26, family AF_INET6, port 123, scope=
 0, addr fd00:cafe:cafe:101::7, mcast=3D0 flags=3D0x11 fails: Can't assign =
requested address
Mar 26 11:43:17  ntpd[2783]: unable to create socket on em1 (13) for fd00:c=
afe:cafe:101::7#123
Mar 26 11:43:17  ntpd[2783]: bind() fd 27, family AF_INET6, port 123, scope=
 5, addr fe80::21b:21ff:fea8:a536, mcast=3D0 flags=3D0x11 fails: Can't assi=
gn requested address
Mar 26 11:43:17  ntpd[2783]: unable to create socket on em2 (15) for fe80::=
21b:21ff:fea8:a536#123
Mar 26 11:43:17  ntpd[2783]: bind() fd 27, family AF_INET6, port 123, scope=
 0, addr fd00:cafe:cafe:102::7, mcast=3D0 flags=3D0x11 fails: Can't assign =
requested address
Mar 26 11:43:17  ntpd[2783]: unable to create socket on em2 (16) for fd00:c=
afe:cafe:102::7#123
Mar 26 11:43:17  ntpd[2783]: bind() fd 28, family AF_INET6, port 123, scope=
 6, addr fe80::21b:21ff:fea8:a537, mcast=3D0 flags=3D0x11 fails: Can't assi=
gn requested address
Mar 26 11:43:17  ntpd[2783]: unable to create socket on em3 (18) for fe80::=
21b:21ff:fea8:a537#123
Mar 26 11:43:17  ntpd[2783]: bind() fd 28, family AF_INET6, port 123, scope=
 0, addr fd00:cafe:cafe:103::7, mcast=3D0 flags=3D0x11 fails: Can't assign =
requested address
Mar 26 11:43:17  ntpd[2783]: unable to create socket on em3 (19) for fd00:c=
afe:cafe:103::7#123
Mar 26 11:43:17  ntpd[2783]: bind() fd 31, family AF_INET6, port 123, scope=
 0, addr fd00:cafe:cafe:104::7, mcast=3D0 flags=3D0x11 fails: Can't assign =
requested address
Mar 26 11:43:17  ntpd[2783]: bind() fd 34, family AF_INET6, port 123, scope=
 0, addr fd00:cafe:cafe:1::7, mcast=3D0 flags=3D0x11 fails: Can't assign re=
quested address

>> However, ntpd runs fine and is bound to the following addresses:

same here, running fine.

My ifconfig:

ix0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
	options=3D407bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSU=
M,TSO4,TSO6,LRO,VLAN_HWTSO>
	ether 90:e2:ba:2b:3a:00
	inet 10.2.0.7 netmask 0xffffff00 broadcast 10.2.0.255=20
	inet6 fe80::92e2:baff:fe2b:3a00%ix0 prefixlen 64 scopeid 0x1=20
	inet6 fd00:cafe:cafe:200::7 prefixlen 64=20
	nd6 options=3D21<PERFORMNUD,AUTO_LINKLOCAL>
	media: Ethernet autoselect (10Gbase-Twinax <full-duplex>)
	status: active
ix1: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
	options=3D407bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSU=
M,TSO4,TSO6,LRO,VLAN_HWTSO>
	ether 90:e2:ba:2b:3a:01
	inet 10.2.1.7 netmask 0xffffff00 broadcast 10.2.1.255=20
	inet6 fe80::92e2:baff:fe2b:3a01%ix1 prefixlen 64 scopeid 0x2=20
	inet6 fd00:cafe:cafe:201::7 prefixlen 64=20
	nd6 options=3D21<PERFORMNUD,AUTO_LINKLOCAL>
	media: Ethernet autoselect (10Gbase-Twinax <full-duplex>)
	status: active
em0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
	options=3D4019b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,VLA=
N_HWTSO>
	ether 00:1b:21:a8:a5:34
	inet 10.1.0.7 netmask 0xffffff00 broadcast 10.1.0.255=20
	inet6 fe80::21b:21ff:fea8:a534%em0 prefixlen 64 scopeid 0x3=20
	inet6 fd00:cafe:cafe:100::7 prefixlen 64=20
	nd6 options=3D21<PERFORMNUD,AUTO_LINKLOCAL>
	media: Ethernet autoselect (1000baseT <full-duplex>)
	status: active
em1: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
	options=3D4019b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,VLA=
N_HWTSO>
	ether 00:1b:21:a8:a5:35
	inet 10.1.1.7 netmask 0xffffff00 broadcast 10.1.1.255=20
	inet6 fe80::21b:21ff:fea8:a535%em1 prefixlen 64 scopeid 0x4=20
	inet6 fd00:cafe:cafe:101::7 prefixlen 64=20
	nd6 options=3D21<PERFORMNUD,AUTO_LINKLOCAL>
	media: Ethernet autoselect (1000baseT <full-duplex>)
	status: active
em2: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
	options=3D4019b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,VLA=
N_HWTSO>
	ether 00:1b:21:a8:a5:36
	inet 10.1.2.7 netmask 0xffffff00 broadcast 10.1.2.255=20
	inet6 fe80::21b:21ff:fea8:a536%em2 prefixlen 64 scopeid 0x5=20
	inet6 fd00:cafe:cafe:102::7 prefixlen 64=20
	nd6 options=3D21<PERFORMNUD,AUTO_LINKLOCAL>
	media: Ethernet autoselect
	status: no carrier
em3: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
	options=3D4019b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,VLA=
N_HWTSO>
	ether 00:1b:21:a8:a5:37
	inet 10.1.3.7 netmask 0xffffff00 broadcast 10.1.3.255=20
	inet6 fe80::21b:21ff:fea8:a537%em3 prefixlen 64 scopeid 0x6=20
	inet6 fd00:cafe:cafe:103::7 prefixlen 64=20
	nd6 options=3D21<PERFORMNUD,AUTO_LINKLOCAL>
	media: Ethernet autoselect
	status: no carrier
em4: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
	options=3D4219b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL=
_MAGIC,VLAN_HWTSO>
	ether 00:a0:98:30:c2:28
	inet6 fe80::2a0:98ff:fe30:c228%em4 prefixlen 64 scopeid 0x7=20
	inet 10.11.12.7 netmask 0xffffff00 broadcast 10.11.12.255=20
	nd6 options=3D21<PERFORMNUD,AUTO_LINKLOCAL>
	media: Ethernet autoselect (1000baseT <full-duplex>)
	status: active
em5: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
	options=3D4019b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,VLA=
N_HWTSO>
	ether 00:a0:98:30:c2:29
	inet 10.1.4.7 netmask 0xffffff00 broadcast 10.1.4.255=20
	inet6 fe80::2a0:98ff:fe30:c229%em5 prefixlen 64 scopeid 0x8=20
	inet6 fd00:cafe:cafe:104::7 prefixlen 64=20
	nd6 options=3D21<PERFORMNUD,AUTO_LINKLOCAL>
	media: Ethernet autoselect (100baseTX <full-duplex>)
	status: active
bge0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 150=
0
	options=3D8009b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,LINKSTAT=
E>
	ether 00:a0:98:30:c2:2c
	inet 10.0.0.7 netmask 0xffffff00 broadcast 10.0.0.255=20
	inet6 fe80::2a0:98ff:fe30:c22c%bge0 prefixlen 64 scopeid 0x9=20
	inet6 fd00:cafe:cafe::7 prefixlen 64=20
	nd6 options=3D21<PERFORMNUD,AUTO_LINKLOCAL>
	media: Ethernet autoselect (100baseTX <full-duplex>)
	status: active
bge1: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 150=
0
	options=3D8009b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,LINKSTAT=
E>
	ether 00:a0:98:30:c2:2d
	inet 10.0.1.7 netmask 0xffffff00 broadcast 10.0.1.255=20
	inet6 fe80::2a0:98ff:fe30:c22d%bge1 prefixlen 64 scopeid 0xa=20
	inet6 fd00:cafe:cafe:1::7 prefixlen 64=20
	nd6 options=3D21<PERFORMNUD,AUTO_LINKLOCAL>
	media: Ethernet autoselect (100baseTX <full-duplex>)
	status: active
lo0: flags=3D8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
	options=3D600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
	inet6 ::1 prefixlen 128=20
	inet6 fe80::1%lo0 prefixlen 64 scopeid 0xb=20
	inet 127.0.0.1 netmask 0xff000000=20
	nd6 options=3D21<PERFORMNUD,AUTO_LINKLOCAL>

Lars




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7DBA7D23-F1D6-4A40-A261-A91F8C5356EF>