Configuring IPv6 in Proxmox VE3

I’ve been googling for some articles and tutorials about IPv6 support in Proxmox VE3, but most of them didn’t explain it clearly, and some of them using language other than English, so, here is some fix for IPv6 inside Proxmox.

 

Configuring sysctl.conf

To apply the configuration, we can reboot the dedicated server or run # sysctl -p

For the IPv6, let’s assume that we got the following IPv6 allocation :

  •  Routed IPv6 : 2a02:7900:1:1002::2/64
  • Gateway : 2a02:7900:1:1002::1

 

Add an IPv6 to your OpenVZ container

 

Install radvd for announcing your IPv6 range

 

Configure your /etc/radvd.conf, and we are using our whole IPv6 allocation here, so another IPv6 from our range will be announced.

 

Configure our /etc/network/interfaces to automatically load the routing when the dedicated server boot.

 

Now, we can login to the container or newly created OpenVZ VPS, and have a working IPv6 connection

 

  1. Andrés

    hello i have problem Add an IPv6 to in my container, the console generated this error:

    Warning: distribution not specified in CT config, using defaults from /etc/vz/dists/default
    WARNING: /etc/pve/openvz/103.conf not found: No such file or directory
    Unable to move /etc/pve/openvz/103.conf.tmp -> /etc/pve/openvz/103.conf: File exists

    • Erawan Arif Nugroho

      Hi Andrés,

      From the error code, it seems like you already have a config for container 103, or posibility of unable to make a container from an OS Lists.
      Which version of Proxmox are you using?

Write a Comment

Your email address will not be published. Required fields are marked *