Frequently Asked Question

Disable Ipv6 Systemwide
Last Updated a year ago

There are many reasons to pull Ipv6 support from Proxmox (and Debian)

So here's how to do it. 

There are eseentially two options

GRUB

The first involves adding 

ipv6.disable=1 

to the GRUB_CMDLINE_LINUX and GRUB_CMDLINE_LINUX_DEFAULT lines in 

/etc/default/grub

and then running 

update-grub

before rebooting - Effective and brutal. 

SYSCTL

The safer way, is to use the sysctl commands to turn it off in the network stack, and that is done by creating a file /etc/sysctl.d/60-disableipv6.conf

Add the following lines to that file: 

net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1

Then activate this configuration using

sysctl --system 

Remember to sudo if you're not a superuser. 


Proxmox support from the engineers who wrote this article

This article came out of a real case resolved by GEN engineers, not from upstream documentation. GEN have run Proxmox in production in our own UK data centres since 2015, and have been in enterprise IT for 37 years. If this one has not solved your problem, we can.

  • 30 minute response, 24 hours a day, every day of the year on critical production infrastructure.
  • No contracts. Buy hours, use hours. No minimum term and no notice period.
  • Genuinely independent. We hold no software partner status with Proxmox or any other vendor, so nothing we recommend is shaped by a licence margin.
  • UK based, in-house engineers. No outsourced first line.

Proxmox support  ·  VMware to Proxmox migration  ·  Proxmox training  ·  Support rates

Registering a GEN account is free, so the route to an engineer is open before you need it. You only ever pay for the time you use.

This website relies on temporary cookies to function, but no personal data is ever stored in the cookies.
OK
Powered by GEN UK CLEAN GREEN ENERGY

Loading ...