Hello,
I would like to have 3 nodes running on my proxmox, and 2 container on each node.
After reading the hetzner doc : https://community.hetzner.com/tutorials/install-and-configure-proxmox_ve I think the routed network is the case that suits me the best. ( I only have 1 Ipv4, and a whole ipv6 subnetwork)
I succeeded to create a bridged network locally (on a test device) using IPv4.
Now, as I'm trying to configure the routed network using IPv6, i face some issues.
Here is my /etc/network/interfaces
with :
I did not forget to add a route to my first vm inside the proxmox ( to have a test vm).
I deployed a VM by full cloning a vm with a cloud-init file using the CLI :
==> Everything is okay except no internet.
When i tried to
on the hetzner, I Get the following error :
What could be my error here ? I assume it's in the interfaces file, but where ?
thanks for reading, I'd really appreciate your help !
I would like to have 3 nodes running on my proxmox, and 2 container on each node.
After reading the hetzner doc : https://community.hetzner.com/tutorials/install-and-configure-proxmox_ve I think the routed network is the case that suits me the best. ( I only have 1 Ipv4, and a whole ipv6 subnetwork)
I succeeded to create a bridged network locally (on a test device) using IPv4.
Now, as I'm trying to configure the routed network using IPv6, i face some issues.
Here is my /etc/network/interfaces
Code:
etc/network/interfaces
source /etc/network/interfaces.d/*
auto lo
iface lo inet loopback
iface lo inet6 loopback
auto enp36s0
iface enp36s0 inet static
address XXX.XXX.XXX.XXX/26
gateway YYY.YYY.YYY.GGG
up route add -net YYY.YYY.YYY.NNN netmask 255.255.255.NNN gw YYY.YYY.YYY.GGG dev enp36s0
# route YYY.YYY.YYY.NNN/26 via YYY.YYY.YYY.GGG
iface enp36s0 inet6 static
address IPV6::2/64
gateway fe80::1
auto vmbr0
iface vmbr0 inet6 static
address IPv6:4/64
bridge-ports none
bridge-stp off
bridge-fd 0
up ip -6 route add IPV6::5/64
with :
Code:
YYY.YYY.YYY.XXX being the hetzner ipv4 address
GGG being my gateway
255.255.255.NNN being my netmask
I deployed a VM by full cloning a vm with a cloud-init file using the CLI :
Code:
qm set {vm.id} --ciuser {vm.username } --cipassword {vm.password} --cores {vm.cores} --ipconfig0 ip6={vm.ip6}
When i tried to
Code:
ifdown vmbr0 then ifup vmbr0
Code:
warning: vmbr0: up cmd 'ip -6 route add {ip6}::5/64' failed: returned 2 (RTNETLINK answers: No such device
)
What could be my error here ? I assume it's in the interfaces file, but where ?
thanks for reading, I'd really appreciate your help !