> hello, Toyo:
> you mean setup in rc.local
> sysctl -w /proc/sys/net/ipv6/conf/eth0/accept_dad=2
> sysctl -w /proc/sys/net/ipv6/conf/default/accept_dad=2
> or only need setup
> sysctl -w /proc/sys/net/ipv6/conf/default/accept_dad=2
>
I mean, you should not use rc.local but set the value via /etc/sysctl.conf.
'default' entry has the default values for all ifaces when they're brought up.
So you just have to configure only default.accept_dad=2.
All the failed tests try to trigger duplicated-address detection on NUT,
and DAD procedure runs in very early stage of system (NUT) bootup.
I think, thus, the main part of the DAD tests might have been already finished
when your rc.local was executed.
/etc/sysctl.conf is executed earlier than rc.local. But your iface(ie. eth0)
might not be in LINK-UP state at that moment. So I suggested to use 'default'.
'default' setting is automatically propagated to all ifaces as their default.
> I do not know how to sync system time and software time in the Freebsd,
> I use ntpd, but no good,
>
I don't care about syncing time and not use ntpd on both BSD box and linux box.
it may be only my case, though...
> first time 3 failure, second time 3rd pass ,14th failure.
>
I think the result should be all pass or all fail. Otherwise, you may have
another problem.
Regards,
-toyo