Last Updated on
IPv6 adds another layer of complexity when configuring a machine for a simple task. Namely, infrastructure services such as DNS, DHCP and even xRDP can be much easier to troubleshoot without IPv6 complicating issues. Also, it is my personal preference to typically disable IPv6 – I have no current use for it.
sudo sed -i -e 's/GRUB_CMDLINE_LINUX_DEFAULT="maybe-ubiquity"/GRUB_CMDLINE_LINUX_DEFAULT="ipv6.disable=1 maybe-ubiquity"/' /etc/default/grub
sudo sed -i -e 's/GRUB_CMDLINE_LINUX=""/GRUB_CMDLINE_LINUX="ipv6.disable=1"/' /etc/default/grub