User Tools

Site Tools


proxmox_ipv6

This is an old revision of the document!


If you have a Kimsufi Dedicated, you got a full /64 not just /128 which is a single IP, lets use it.

First we need to enable Forwarding on the Node:

net.ipv6.conf.all.forwarding = 1 
net.ipv6.conf.all.proxy_ndp = 1
net.ipv6.bindv6only = 1

Next, we need to add IPv6 to our vmbr2, which the VM should be connected to.

iface vmbr2 inet6 static
     address 2601:xxxx:xx:xxx::2
     netmask 64
     bridge_ports none
     bridge_stp off
     bridge_fd 0
     post-up echo 1 > /proc/sys/net/ipv6/conf/all/proxy_ndp
     post-up echo 1 > /proc/sys/net/ipv6/conf/all/forwarding
     post-up echo 1 > /proc/sys/net/ipv6/conf/default/forwarding
     post-up /sbin/ip -f inet6 neigh add proxy 2601:xxxx:xx:xxx::2 dev vmbr2
     post-up /sbin/ip -f inet6 neigh add proxy 2601:xxxx:xx:xxx::3 dev vmbr0
     post-up /sbin/ip -f inet6 route add 2601:xxxx:xx:xxx::3 dev vmbr2

The next thing you need to do, restart your network with: service networking restart

Sources used: http://hw7.net/?p=252

proxmox_ipv6.1468751057.txt.gz · Last modified: 2021/11/25 22:43 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki