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 on your Dedi with:

 service networking restart

Now Login into your VM and add this to your /etc/network/interfaces:

iface eth0 inet6 static
     address 2601:xxxx:xx:xxx::3
     netmask 64
     gateway 2601:xxxx:xx:xxx::2

Restart your Networking on the VM:

 service networking restart
 

If it dosen't respond after a while, try to Reboot your VM over Proxmox. Now we still need to add IPv6 DNS Server to our /etc/resolv.conf:

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

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

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki