Re: Disabling IPv6 by default when creating a new namespace in Linux

Bjørn Mork <[email protected]> Tue, 07 Jun 2022 18:56:41 +0200
Newsgroups gmane.linux.debian.devel.ipv6
Organization m
Message-ID <[email protected]>
Dheeraj Kandula <[email protected]> writes:

> How do I disable IPv6 by default when a new namespace is created?

Looking at the code, I see that the default for all namespaces will be
taken from the ipv6 module parameter "disable_ipv6".  This parameter is
not writable and the ipv6 module is built-in, so you cannot change it
after boot.  But booting with "ipv6.disable_ipv6=3D1" on the command line
should work.


Bj=C3=B8rn