From owner-freebsd-net@FreeBSD.ORG Wed Mar 13 00:44:38 2013 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 72365429 for ; Wed, 13 Mar 2013 00:44:38 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-ob0-x22f.google.com (mail-ob0-x22f.google.com [IPv6:2607:f8b0:4003:c01::22f]) by mx1.freebsd.org (Postfix) with ESMTP id 41EAD3FE for ; Wed, 13 Mar 2013 00:44:38 +0000 (UTC) Received: by mail-ob0-f175.google.com with SMTP id uz6so486531obc.34 for ; Tue, 12 Mar 2013 17:44:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=dvwQy+SCsNX019dkJB90/VPhGc2ElhDb0W+es+IES2g=; b=zroc1Ob41x7hGrVALjNQTbeyvcEN6aCDk5RGgE/9Jf6odOsTUojW0uiycfxuV+FS6h R95z4oHZyNu32GaA/k2Ji9oWVpBK8YaLdnvs88s+9ZDP8ohWAEcFg2gMfZyXUokI2Qtk laBCGPIaC4XbfQ+zJ1vnBBRKKp0e85A8Uk9cSNCRS1Osnk+slg1KSx5IeLgiIwSFbNWC 2B0J9S0M4ZCexMugz0sPcav5xYmZCkb0rTrkd77wWo+9g2KWqseUBoG5aKLIwDYfiDnZ 7z/CrAz8uuudL0n5Vwc0eg+ZysaGetnQIR7fk166PfQ1FAzDgKX2ByEVqQowI2oeITxE Wslw== MIME-Version: 1.0 X-Received: by 10.60.30.231 with SMTP id v7mr14123133oeh.118.1363135477887; Tue, 12 Mar 2013 17:44:37 -0700 (PDT) Sender: kob6558@gmail.com Received: by 10.76.11.165 with HTTP; Tue, 12 Mar 2013 17:44:37 -0700 (PDT) In-Reply-To: References: Date: Tue, 12 Mar 2013 17:44:37 -0700 X-Google-Sender-Auth: bBrWzog-Di7MnCp4QqZjwjXbaO4 Message-ID: Subject: Re: ntpd bind() failure: Can't assign requested address From: Kevin Oberman To: "M. Schulte" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-net@freebsd.org X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Mar 2013 00:44:38 -0000 On Tue, Mar 12, 2013 at 2:42 PM, M. Schulte wrote: > Hi! > > [First of all, I have posted this question already on the FreeBSD > forum -- so far without replies -- and now my hope is that the set of > subscribers here and those of the forum do not completely coincide.] > > I have installed FreeBSD 9.1 on my server (it's a virtualized qemu/kvm > environment, in case that matters) and during boot the following > messages appear: > > ntpd[766]: ntpd 4.2.4p5-a (1) > ntpd[767]: bind() fd 23, family AF_INET6, port 123, scope 2, addr > fe80::216:36ff:fe74:2076, mcast=0 flags=0x11 fails: Can't assign requested > address > ntpd[767]: unable to create socket on re0 (3) for > fe80::216:36ff:fe74:2076#123 > > This happens with a GENERIC kernel. I have not touched any IPv6 > related configuration after install, so everything should be in the > default state. Neither have I changed the ntp/ntpd configuration. > > Although I could find some threads where people were discussing the > same problem, none of the mentioned suggestions fixed this for me. > > In particular I tried setting > > ipv6_activate_all_interfaces="**YES" > > in rc.conf -- didn't fix the problem. > > According to ifconfig, my interfaces, re0 in particular, have IPv6 > addresses associated to them. So why would it fail that a process > tries to bind to it? Note that I'm rather unexperienced wrt IPv6. > > Would be great if somebody could give me a hint into the right > direction. Anybody else experiencing this? Thank you very much! > > ~ melanie > 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. -- R. Kevin Oberman, Network Engineer E-mail: rkoberman@gmail.com