This is a step by step beginner’s guide shows how to disable IPv6 in Ubuntu 24.04 LTS with or without system restart.
IPv6 is the future of internet protocols. But for some reasons, such as compatibility with certain networks, testing purpose, or security concerns, or just because don’t use that thing, users may want to disable IPv6 in their machines.
Disabling IPv6 is generally safe. There may be small performance loss on some websites and services that are optimized for IPv6, though you can re-enable it at any time as you want.