Date: Wed, 22 Aug 2018 14:39:06 -0700 From: Andreas Ott <andreas@naund.org> To: Freddie Cash <fjwcash@gmail.com> Cc: freebsd-current@freebsd.org Subject: Re: timing issue with ifconfig em(4) at rc.d start? Message-ID: <20180822143906.U998@naund.org> In-Reply-To: <CAOjFWZ7erRjAr7mtw0DNPv=eKjSq_x5d-BbbQ44eJS2xg43RGQ@mail.gmail.com>; from fjwcash@gmail.com on Wed, Aug 22, 2018 at 01:30:37PM -0700 References: <20180822132135.A9818@naund.org> <CAOjFWZ7erRjAr7mtw0DNPv=eKjSq_x5d-BbbQ44eJS2xg43RGQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, On Wed, Aug 22, 2018 at 01:30:37PM -0700, Freddie Cash wrote: > There's nothing wrong with the timing. Your rc.conf is incorrect. > > The second ifconfig_em1 line overrides the former. These are variable > declarations, not commands. The last setting for a variable is the only > one that takes place. Thanks for pointing this out. Sorry for the noise, I was able to track this down to a scripting error that placed the lines into my /etc/rc.conf . > Either look through /etc/defaults/rc.conf for the ipv6-related entries, or > switch to using an alias entry for ipv6: > > ifconfig_em1="inet 100.79.136.239 netmask 255.255.255.0 up" > ifconfig_em1_alias0="inet6 2600:c02:b020:136::239 prefixlen 64" I think the inet6 syntax from the sample in /etc/defaults/rc.conf and after reading more in rc.conf(5) would be ifconfig_em1="inet 100.79.136.239 netmask 255.255.255.0 up" ifconfig_em1_ipv6="inet6 2600:c02:b020:136::239 prefixlen 64" and I can confirm that after making the change this now works. -andreas
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180822143906.U998>