Hello,
I'm trying to get a public ipv6 on my debian vm, I am new to proxmox.
I have got a dedicated server from servdiscount, they provide me with a ffff:ffff:ffff:ffff::/64 ipv6 net. I want to use one, or more, ipv6 on my virtual machine.
therefore I followed a tutorial from hetzner, which got my ipv4 working, but not my ipv6 unfortunately.
Here is what I did:
on the proxmox host system I edited the /etc/sysctl.conf:
net.ipv4.ip_forward=1
net.ipv6.conf.all.forwarding=1
also on the proxmox host system I edited
/etc/network/interfaces:
iface enp1s0f0 inet6 static
address ffff:ffff:ffff:ffff::2
netmask 128
gateway fe80::1
iface vmbr0 inet6 static
address ffff:ffff:ffff:ffff::3
netmask 64
up ip -6 route add ffff:ffff:ffff:ffff::/64 dev vmbr0
on the virtual machine I did:
iface ens18 inet6 static
address ffff:ffff:ffff:ffff::101/64
gateway ffff:ffff:ffff:ffff::3
this is the link to the tutorial: https://community.hetzner.com/tutorials/install-and-configure-proxmox_ve/de (sorry its in german, i followed the chapter "Netzkonfiguration".
interesting:
from my proxmox host, I can ping reach the ::101 ipv6 of my vm debian.
But from my debian vm, I can not ping the ::2 that I assigned to my proxmox host.
also from my proxmox host everything else seems fine (ping google etc), but from my debian vm I can not go outside obviously.
Also from different hosts as in my dialup, I can not reach the debian vm via ipv6, but I can reach the proxmox host.
I figured it must have something to do with the settings on my vm system?
I find it strange that my proxmox can actually reach the ::101ipv6 that I assigned on my debian-vm /etc/network/interfaces ..
Well, I'd be thankful if you would have an idea, or a good tutorial?
I would also already be satisfied to only assign one working ipv6 to my virtual machine, even though the tutorial assigns a whole subnet to it, which is not necessary.
Thank you!
I'm trying to get a public ipv6 on my debian vm, I am new to proxmox.
I have got a dedicated server from servdiscount, they provide me with a ffff:ffff:ffff:ffff::/64 ipv6 net. I want to use one, or more, ipv6 on my virtual machine.
therefore I followed a tutorial from hetzner, which got my ipv4 working, but not my ipv6 unfortunately.
Here is what I did:
on the proxmox host system I edited the /etc/sysctl.conf:
net.ipv4.ip_forward=1
net.ipv6.conf.all.forwarding=1
also on the proxmox host system I edited
/etc/network/interfaces:
iface enp1s0f0 inet6 static
address ffff:ffff:ffff:ffff::2
netmask 128
gateway fe80::1
iface vmbr0 inet6 static
address ffff:ffff:ffff:ffff::3
netmask 64
up ip -6 route add ffff:ffff:ffff:ffff::/64 dev vmbr0
on the virtual machine I did:
iface ens18 inet6 static
address ffff:ffff:ffff:ffff::101/64
gateway ffff:ffff:ffff:ffff::3
this is the link to the tutorial: https://community.hetzner.com/tutorials/install-and-configure-proxmox_ve/de (sorry its in german, i followed the chapter "Netzkonfiguration".
interesting:
from my proxmox host, I can ping reach the ::101 ipv6 of my vm debian.
But from my debian vm, I can not ping the ::2 that I assigned to my proxmox host.
also from my proxmox host everything else seems fine (ping google etc), but from my debian vm I can not go outside obviously.
Also from different hosts as in my dialup, I can not reach the debian vm via ipv6, but I can reach the proxmox host.
I figured it must have something to do with the settings on my vm system?
I find it strange that my proxmox can actually reach the ::101ipv6 that I assigned on my debian-vm /etc/network/interfaces ..
Well, I'd be thankful if you would have an idea, or a good tutorial?
I would also already be satisfied to only assign one working ipv6 to my virtual machine, even though the tutorial assigns a whole subnet to it, which is not necessary.
Thank you!
Last edited: