Disabling Ipv6 system wide


#1

My small and local IP provider is not using IPv6 yet (and will not for a while) and I have read that disabling IPv6 may improve network activity.

I was setting up one older laptop for friends kids and I put mint on it and following tutorial from link at the bottom it says, if you want to disable system wide IPv6 on Mint to put these three lines into file where is also stored swappiness setting (/etc/sysctl.conf)

net.ipv6.conf.all.disable_ipv6 = 1
​net.ipv6.conf.default.disable_ipv6 = 1
​net.ipv6.conf.lo.disable_ipv6 = 1

Question:
Since my Manyaro Xfce has swappiness setting in this file:

/etc/sysctl.d/100-manjaro.conf

I’m wondering, if I want to disable IPv6 system wide (article says just disabling it in network manager is not enough) can I put upper 3 lines in “/etc/sysctl.d/100-manjaro.conf” If not, where should I put them and is this correct way to do it on Manjaro?

Link to article and partial quote:

" An unexpected bonusAfter disabling IPv6 globally, a number
of other networking services started working much more smoothly. Web
browsing was more reliable (no more random pauses with Google Apps or
Facebook); Spotify stopped inexplicably freezing; and downloads were
significantly faster. This fix is a must-do—at least until the issues
with IPv6 are sorted out."


#2

Mainly:
For disable whole IPv6 stack add this setting to grub config in GRUB_CMDLINE_LINUX line:

ipv6.disable=1

and update grub conf:

sudo update-grub

Be sure you disabled IPv6 protocol functionality in external apps like NetworkManager, NTPD daemon, UFW firewall etc otherwise apps will not working at all.


Netzwerkverbindung bricht nach Systemstart ab
#3

Thank you very much!