Andy Smith wrote: > However, if for your own eccentric reasons you insist: > > # echo 'net.ipv6.conf.all.disable_ipv6=1' > /etc/sysctl.d/disableipv6.conf > > will disable it from the next boot. > > You can use: > > # sysctl --system > > to re-apply all sysctl configs immediately, so disabling IPv6 > without needing to reboot.
Don't know but I have following there (in /etc/sysctl.conf) net.ipv6.conf.all.disable_ipv6 = 1 net.ipv6.conf.default.disable_ipv6 = 1 net.ipv6.conf.lo.disable_ipv6 = 1 and it does not disable ipv6 # lsmod | grep ipv ipv6 458752 80 bridge,udp_diag however when I blacklist module ipv6 - it is gone ;-) kernel used 4.19.161 -- FCD6 3719 0FFB F1BF 38EA 4727 5348 5F1F DCFE BCB0