"Greg A. Woods" <[email protected]> writes:
> Way back on Thu, 25 Jul 2024 15:32:01 -0000 (UTC), [email protected] 
> (Michael van Elst) wrote:
> Subject: Re: Is it possible to completely disable ipv6 in NetBSD 10

>> You can control this with the ndp command.
>>
>> ndp -i $interface disabled
>>
>> will disable IPv6 operation on that interface.
> 
> That doesn't quite do the trick.
> 
> There is still an IPv6 link-local address configured on the interface,
> and even though it is marked as "TENTATIVE", this doesn't stop some
> applications, such as X11 clients, from trying to use IPv6 to contact
> hosts that also have AAAA address records _and_ are on the same subnet.

You may have to perform the 'ndp -i $interface disabled' command
before the interface is brought up.  On a couple of my own
systems, I have added a similar ndp command as the first line in
a number of ifconfig.tapX-files, with the Ã'up command further
down in the file, and no IPv6 link-local address is generated for
these interfaces.

                                        -jarle

Reply via email to