Ubuntu/IPv6: Difference between revisions

From Omnia
Jump to navigation Jump to search
No edit summary
 
Line 20: Line 20:
sudo update-grub
sudo update-grub
</pre>
</pre>
== keywords ==

Latest revision as of 08:36, 15 November 2026

Disable IPv6

cat >> /etc/sysctl.conf << "EOF"

# Disable IPV6
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1

EOF
sudo sysctl -p

Boot Setting:

/etc/default/grub
 GRUB_CMDLINE_LINUX="ipv6.disable=1"

sudo update-grub

keywords