Authors: 2022-02-04 | Last update: 2024-02-26
| Created: Disable IPv6 on Proxmox Permanently¶
By default, Proxmox IPv6 is enabled after installation. This means that the IPv6 stack is active and the host can communicate with other hosts on the same network via IPv6 protocol.
Output of ip addr
command:
You can disable IPv6 on Proxmox VE by editing the /etc/default/grub
file.
nano /etc/default/grub
add ipv6.disable=1
to the end of GRUB_CMDLINE_LINUX_DEFAULT
and GRUB_CMDLINE_LINUX
line. Don't change the other values at those lines.
GRUB_CMDLINE_LINUX_DEFAULT="ipv6.disable=1"
GRUB_CMDLINE_LINUX="ipv6.disable=1"
The config should look like this:
Update the grub configuration.
update-grub
Save and exit. Reboot Proxmox Server to apply the changes.
Output of ip addr
command after disabling IPv6 on Proxmox VE: