Groups | Search | Server Info | Login | Register


Groups > linux.debian.maint.ipv6 > #124

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

From Dheeraj Kandula <dkandula@gmail.com>
Newsgroups linux.debian.maint.ipv6
Subject Re: Disabling IPv6 by default when creating a new namespace in Linux
Date 2022-06-07 19:30 +0200
Message-ID <EvLbH-3fjn-1@gated-at.bofh.it> (permalink)
References <EvKfD-3eJb-1@gated-at.bofh.it> <EvKSl-3fdc-3@gated-at.bofh.it> <EvKSl-3fdc-1@gated-at.bofh.it> <EvLbH-3fjn-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On my system I see the following values:

$cat /sys/module/ipv6/parameters/disable_ipv6

0

$ sudo sysctl net.ipv6.conf.all.disable_ipv6
net.ipv6.conf.all.disable_ipv6 = 1

$ sudo sysctl net.ipv6.conf.default.disable_ipv6
net.ipv6.conf.default.disable_ipv6 = 1

Are you suggesting that "cat /sys/module/ipv6/parameters/disable_ipv6"
should be 1?

Dheeraj


On Tue, Jun 7, 2022 at 1:11 PM Bjørn Mork <bjorn@mork.no> wrote:

> Dheeraj Kandula <dkandula@gmail.com> writes:
>
> >          Thanks for your reply. Are you suggesting that if I boot up the
> > machine with "net.ipv6.conf.all.disable_ipv6=1" and
> > "net.ipv6.conf.default.disable_ipv6=1", IPv6 should be disabled in newly
> > created namespaces too.
>
> No.  But if you boot with "ipv6.disable_ipv6=1" then you should see
>
>  grep . /sys/module/ipv6/parameters/disable_ipv6
>
> returning 1.  This will be used as the default value of
> "net.ipv6.conf.default.disable_ipv6" for all namespaces.  Including the
> default namespace.
>
> That's a lot of nested defaults ;-) Hope you get the meaning.
>
>
> Bjørn
>

Back to linux.debian.maint.ipv6 | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Disabling IPv6 by default when creating a new namespace in Linux Dheeraj Kandula <dkandula@gmail.com> - 2022-06-07 18:30 +0200
  Re: Disabling IPv6 by default when creating a new namespace in Linux Dheeraj Kandula <dkandula@gmail.com> - 2022-06-07 19:10 +0200
    Re: Disabling IPv6 by default when creating a new namespace in Linux Dheeraj Kandula <dkandula@gmail.com> - 2022-06-07 19:30 +0200
      Re: Disabling IPv6 by default when creating a new namespace in Linux marcoshalano@gmail.com - 2022-06-07 20:40 +0200
        Re: Disabling IPv6 by default when creating a new namespace in Linux Dheeraj Kandula <dkandula@gmail.com> - 2022-06-07 21:40 +0200
          Re: Disabling IPv6 by default when creating a new namespace in Linux Dheeraj Kandula <dkandula@gmail.com> - 2022-06-07 21:50 +0200
      Re: Disabling IPv6 by default when creating a new namespace in Linux Dheeraj Kandula <dkandula@gmail.com> - 2022-06-07 20:40 +0200
        Re: Disabling IPv6 by default when creating a new namespace in Linux Bjørn Mork <bjorn@mork.no> - 2022-06-07 21:00 +0200
          Re: Disabling IPv6 by default when creating a new namespace in Linux Dheeraj Kandula <dkandula@gmail.com> - 2022-06-07 21:30 +0200
            Re: Disabling IPv6 by default when creating a new namespace in Linux Dheeraj Kandula <dkandula@gmail.com> - 2022-06-07 22:30 +0200
              Re: Disabling IPv6 by default when creating a new namespace in Linux Dheeraj Kandula <dkandula@gmail.com> - 2022-06-08 17:20 +0200
                Re: Disabling IPv6 by default when creating a new namespace in Linux Bjørn Mork <bjorn@mork.no> - 2022-06-09 09:10 +0200
            Re: Disabling IPv6 by default when creating a new namespace in Linux Bjørn Mork <bjorn@mork.no> - 2022-06-07 22:30 +0200
      Re: Disabling IPv6 by default when creating a new namespace in Linux Bjørn Mork <bjorn@mork.no> - 2022-06-07 20:40 +0200
    Re: Disabling IPv6 by default when creating a new namespace in Linux Bjørn Mork <bjorn@mork.no> - 2022-06-07 19:30 +0200
  Re: Disabling IPv6 by default when creating a new namespace in Linux Marc Haber <mh+debian-ipv6@zugschlus.de> - 2022-06-07 19:20 +0200
    Re: Disabling IPv6 by default when creating a new namespace in Linux Dheeraj Kandula <dkandula@gmail.com> - 2022-06-07 19:30 +0200
    Re: Disabling IPv6 by default when creating a new namespace in Linux Bjørn Mork <bjorn@mork.no> - 2022-06-07 19:40 +0200
  Re: Disabling IPv6 by default when creating a new namespace in Linux Bjørn Mork <bjorn@mork.no> - 2022-06-07 19:30 +0200

csiph-web