You are not logged in.

#1 2021-11-06 10:29:24

camosoul
Member
Registered: 2020-11-01
Posts: 24

Disable IPv6 doesn't work.

https://wiki.archlinux.org/title/IPv6#Disable_IPv6

One can also avoid assigning IPv6 addresses to specific network interfaces by adding the following sysctl configuration to /etc/sysctl.d/40-ipv6.conf:

# Disable IPv6
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.nic0.disable_ipv6 = 1
...
net.ipv6.conf.nicN.disable_ipv6 = 1

I did this, rebooted, and still have IPv6 all over the specified network adapters.

It should be noted that /etc/sysctl.d/40-ipv6.conf did not exist. I created it. It had no effect.

I suppose this isn't how things are done anymore? Docs/Wiki need updating?

I attempted adding "ipv6.disable=1" to the boot time kernel parameters and it resulted in a system that would not longer boot. Removed it, system booted.

I added:

noipv6rs
noipv6

to /etc/dhcpcd.conf and it ignored it. Still requests and receives IPv6...

Seems nothing in this documentation is accurate or functional.

Last edited by camosoul (2021-11-06 10:35:34)

Offline

#2 2021-11-06 12:49:02

seth
Member
Registered: 2012-09-03
Posts: 60,805

Re: Disable IPv6 doesn't work.

It should be noted that /etc/sysctl.d/40-ipv6.conf did not exist.

Of course not. Please post the file you created.

"ipv6.disable=1" to the boot time kernel parameters and it resulted in a system that would not longer boot

"would not longer boot" is not an error description, try to boot it along the multi-user.target (2nd link below) and remove the "quiet" parameter.
Also post a complete system journal (sudo journalctl -b)

Seems nothing in this documentation is accurate or functional.

Do you want to hear a different theory?

Online

#3 2022-12-31 18:50:25

android
Member
From: San Diego
Registered: 2003-04-18
Posts: 160

Re: Disable IPv6 doesn't work.

camosoul wrote:

  stuff here...

Hello camosoul, I'd like to ask you about another post, but it's closed and you don't have email access enabled 8-(

If you get a notification of my post here, would you please contact me via my email link?

Thanks!

android
2022-12-31

Offline

Board footer

Powered by FluxBB