Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Mar 2013 07:39:40 -0700 (PDT)
From:      kit <ktsin@acm.org>
To:        LarsEggert <lars@netapp.com>
Cc:        "freebsd-net@freebsd.org" <freebsd-net@freebsd.org>, "schrodinger@konundrum.org" <schrodinger@konundrum.org>
Subject:   Re: ntpd bind() failure: Can't assign requested address
Message-ID:  <1364308780.51602.YahooMailClassic@web31809.mail.mud.yahoo.com>
In-Reply-To: <1364306611.67937.YahooMailClassic@web31813.mail.mud.yahoo.com>

index | next in thread | previous in thread | raw e-mail

--- On Tue, 3/26/13, kit <ktsin@acm.org> wrote:
> --- On Tue, 3/26/13, Eggert, Lars
> <lars@netapp.com>
> wrote:
> > On Mar 26, 2013, at 12:59, <ktsin@acm.org>
> >  wrote:
> > > How do you configure your network interfaces?
> Using
> > /etc/start_if* or /etc/rc.conf?<br/>
> > 
> > The latter.
> > 
> > (Actually, most of them are configured in rc.local with
> a
> > bit of shell code that generates the IP address from
> the MAC
> > address for a set of machines.)
> > 
> > Lars
> 
> i had seen the same error messages while trying to configure
> wlan0 using start_if.wlan0.
> 
> i think that when an interface is first created, the flag
> ifdisabled is set by default. my guess is there exists a
> small window of time when the interface is up, ipv6 is
> configured but marked ifdisabled, and if ntpd happens to
> start during this period of time, you will see the failure
> messages.
> 
> you may want to check your shell code again and perhaps the
> rc scripts too and see how they interact.
> 
> kit

try setting ipv6_activate_all_interfaces to yes and configuring the corresponding $ifconfig_IF_ipv6 in your rc.conf if you haven't done so already, and see if they help.

from /etc/defaults/rc.conf:

ipv6_activate_all_interfaces="NO"       # If NO, interfaces which have no
                                        # corresponding $ifconfig_IF_ipv6 is
                                        # marked as IFDISABLED for security
                                        # reason.

kit


help

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