On Sun, Jan 05, 2020 at 07:03:00AM -0700, Andy Ruhl wrote:
> On Sat, Jan 4, 2020 at 11:05 PM Michael van Elst <mlelstv%serpens.de@localhost> wrote:
> >
> > ndp -i <interface> disabled
> >
> > See ndp(8) for details.
>
> I wanted to see this behavior in action so I started testing. Looks
> like ndp -i <interface> delete still leaves the autoconfigured IPv6
> addresses on the interface.
It just sets a flag that stops IPv6 processing.
ndp -i <interface> -auto_linklocal
stops adresses from being assigned in autohost mode. You can also
set the sysctl variable net.inet6.ip6.auto_linklocal=0 which disables
this for all interfaces and then enable individual interfaces with
ndp again.
dhcpcd has its own configuration file, and you can tell it to not
handle IPv6 on a particular interface.
Greetings,
--
Michael van Elst
Internet: mlelstv%serpens.de@localhost
"A potential Snark may lurk in every tree."