ipv6 in proxmox 8

shinichi kudo

New Member
Aug 10, 2022
3
0
1
hi
i get hetzner server and installed proxmox 8.1,, i note that whatever the tutorial i follow to setup ipv6 as routed and use it on vms not workin even the stteps in hetzner site to install proxmox,,

i tried alot of methods only ipv4 work ,

any help for that ,,, i want only 3 vm which contains linux mint and connected by ipv6 only ??

i tried
https://community.hetzner.com/tutorials/install-and-configure-proxmox_ve

and
https://forum.proxmox.com/threads/proxmox-with-hetzner-what-a-love-story.127065/

and alot others, nothing work on proxmox 8.1
 
I think it related to proxmox ,, the ipv6 only work on the proxmox host server but i can't route it to any vm

Also, it work in version 7
 
i use all of the guides here

https://community.hetzner.com/tutorials/install-and-configure-proxmox_ve

and
https://forum.proxmox.com/threads/proxmox-with-hetzner-what-a-love-story.127065/

last current config as following

Code:
auto lo
iface lo inet loopback

iface lo inet6 loopback

iface enp7s0 inet manual
auto vmbr0
iface vmbr0 inet static
        address 122.122.122.166/26
        bridge-ports enp7s0
        bridge-stp off
        bridge-fd 0
        gateway 122.122.122.100
        post-up echo 1 > /proc/sys/net/ipv4/ip_forward
        post-up echo 1 > /proc/sys/net/ipv4/conf/enp7s0/proxy_arp
post-up   iptables -t raw -I PREROUTING -i fwbr+ -j CT --zone 1
post-down iptables -t raw -D PREROUTING -i fwbr+ -j CT --zone 1


iface vmbr0 inet6 static
        address aaaa:aaaa:aaaa:aaaa::2/64
        gateway aaaa::1
up ip -6 route add aaaa:aaaa:aaaa:aaaa::/64 dev vmbr0
#up ip route add default via aaaa:aaaa:aaaa:aaaa::2

source /etc/network/interfaces.d/*

i enabled forward in the file /etc/sysctl.conf


ipv6 only work when i assign it to proxmox it self ,,
could you please guide me how to setup ipv6 correct way
 
Last edited:
You need the IP address (IPv4 or IPv6) on the vmbr0 to be correct, to access your host.
The hetzner method might be to migrate from a host with a native network adapter with given IP address to one with the address on the virtual bridge.
( I have IPaddress/24 (= actual netmask) for Ipv4 on the vmbr0 to access the host)
 
An external router handles routing between VLAN's using a 802.1q tagged vlan through eno0.
The VMBR's have interface as far as needed.
(There are a few more VLAN's for example to access a storage NAS, but it's configuration doesn't add to explaing the basics.)
The Storage LAN also has an IP address to allow for mounting iscsi devices on the procmox host.

Code:
# network interface settings; autogenerated
# Please do NOT modify this file directly, unless you know what
# you're doing.
#
# If you want to manage parts of the network configuration manually,
# please utilize the 'source' or 'source-directory' directives to do
# so.
# PVE will preserve these directives, but will NOT read its network
# configuration from sourced files, so do not attempt to move any of
# the PVE managed interfaces into external files!


auto lo
iface lo inet loopback


auto eno0
iface eno0 inet manual
#LAN


auto vmbr0
iface vmbr0 inet static
        address 192.168.X.2/24
        gateway 192.168.X.1
        bridge-ports eno0
        bridge-stp off
        bridge-fd 0
#LAN


iface vmbr0 inet6 static
        address XXXXX::192:168:X:2/64
        gateway XXXXX::1


iface wlp1s0 inet manual


auto vlan11 manual
iface vlan11 inet
   mtu 1500
   vlan-raw-device eno0


auto vmbr11
iface vmbr11 inet manual
        bridge-ports vlan11
        bridge-stp off
        bridge-fd 0
#Guest



auto vlan101
iface vlan101 inet manual
        vlan-raw-device eno0
#Unconnected VLAN ( connected to eno0 to allow for migrating to another proxmox node)

auto vmbr101
iface vmbr11 inet manual
        bridge-ports vlan101
        bridge-stp off
        bridge-fd 0
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!