Proxmox, IPV6 on containers

#1

Hello everyone,
I’ve been very upset about a problem for 4 days now with Proxmox.
If you are kind enough to help me, it would be very nice because I am at a dead end…

My project:

With Proxmox, I want to create several Containers to run a few applications, these applications require a unique IP address for each container,
I would therefore like to use the IPV6 BLOCK provided by my service provider who blocks it as follows:

Assigned IPs 2a04:2180:1:15::/64
2a04:2180:ffff:ffff:fffe::15
fe80::/64

IPv6 Nameservers 2a04:2180::101:53 - 2a04:2180::102:53
IPv6 Gateway 2a04:2180:0:2:2::1

I tried everything to try to get the containers to work, but now I’m really stuck because I can’t really move forward anymore, because every time I make changes,
the networking service does not want to restart, could you help me to configure the IPV6 part of my file so that the host has access to the Internet via IPV6 and so that the containers,
also have a unique IPV6 address (while having performed a small NAT to allow them IPV4 access).

I have the impression that my configuration does not allow me to join the IPV6 gateway…

Here is my current configuration file,
I use the vmbr0 device originally set up by Proxmox, so I made the necessary modifications:


The loopback network interface

auto lo
iface lo inet loopback

The primary network interface

auto enp2s0f0
iface enp2s0f0 inet static
address 185.64.XXX.111
netmask 255.255.255.255.255.0

broadcast 185.64.XXX.111
post-up route add 185.64.XXX.1 dev enp2s0f0
post-up route add default gw 185.64.XXX.1 dev enp2s0f0

iface enp2s0f0 inet6 static
address 2A04:2180:0001:0001:0015:0015:0000:0000:0000:0000:0000:0001
netmask 64
post-up /sbin/ip -r route add 2a04:2180:0:0:2::1 dev enp2s0f0
post-up /sbin/ip -r route add default via 2a04:2180:0:2::1


Thank you very much for your help, frankly, this story is getting on my nerves…
Thank you !

#2

it is actually a leased dedicated server, the host in question provides me with the IPV6 block which is as follows: 2a04:2180:1:15::/64, to be clearer in my remarks, I would like all containers to have an external public IPV6 and I do not want internal networks, concerning roads, as soon as proxmox was installed by the host itself, there were already the following routes, here are in the following screen, what the host configured when I had the machine delivered:

#3

Hi!

In order to replicate the issue, can you give me your server type and region please? :slight_smile:

Jean “henyxia” Wasilewski
Scaleway - Baremetal Team