Re: Disabling IPv6 by default when creating a new namespace in Linux
Bjørn Mork <[email protected]> Tue, 07 Jun 2022 20:38:39 +0200
| Newsgroups | gmane.linux.debian.devel.ipv6 |
|---|---|
| Organization | m |
| Message-ID | <[email protected]> |
Dheeraj Kandula <[email protected]> writes: > Thanks Bj=C3=B8rn for your response. I think I am getting a bit confused = here. > > I booted up my Linux VM and set the following in my /etc/sysctl.conf file: You need to make the change in your boot loader. grub or whatever. That's where the kernel command line is set. E.g edit /etc/default/grub and add ipv6.disable_ipv6=3D1 to the GRUB_CMDLINE_LINUX variable, and then run update-grub to produce a new /boot/grub/grub.cfg configuration file. Bj=C3=B8rn