Path: csiph.com!aioe.org!bofh.it!news.nic.it!robomod From: =?utf-8?Q?Bj=C3=B8rn_Mork?= Newsgroups: linux.debian.maint.ipv6 Subject: Re: Disabling IPv6 by default when creating a new namespace in Linux Date: Tue, 07 Jun 2022 19:30:01 +0200 Message-ID: References: X-Mailbox-Line: From debian-ipv6-request@lists.debian.org Tue Jun 7 17:24:12 2022 Old-Return-Path: X-Amavis-Spam-Status: No, score=-1.21 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, GMAIL=1, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=no autolearn_force=no X-Policyd-Weight: using cached result; rate: -4.6 X-Greylist: delayed 683 seconds by postgrey-1.36 at bendel; Tue, 07 Jun 2022 17:08:16 UTC Organization: m User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Status: Clean X-Mailing-List: archive/latest/4940 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/87bkv4csza.fsf@miraculix.mork.no Approved: robomod@news.nic.it Lines: 12 Sender: robomod@news.nic.it X-Original-Cc: debian-ipv6@lists.debian.org X-Original-Date: Tue, 07 Jun 2022 18:56:41 +0200 X-Original-Message-ID: <87bkv4csza.fsf@miraculix.mork.no> X-Original-References: Xref: csiph.com linux.debian.maint.ipv6:127 Dheeraj Kandula 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