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 in: /etc/sysctl.conf
net.ipv6.conf.all.forwarding=1 net.ipv6.conf.default.forwarding=1 net.ipv6.conf.all.proxy_ndp=1
Add this to the bottom on the file.
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:
2001:4860:4860::8888 2001:4860:4860::8844
These are the IPv6 Nameservers from Google but you can use different ones.
If you run:
ping6 google.com
You should get a response and you should be able to reach your VM under this IPv6 which you configured earlier.
[[email protected] ~]# bash yabs.sh # ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## # # Yet-Another-Bench-Script # # v2021-10-09 # # https://github.com/masonr/yet-another-bench-script # # ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## # Thu Dec 2 09:13:30 UTC 2021 Basic System Information: --------------------------------- Processor : Intel(R) Xeon(R) CPU E5-1620 v2 @ 3.70GHz CPU cores : 1 @ 1377.671 MHz AES-NI : ✔ Enabled VM-x/AMD-V : ✔ Enabled RAM : 5.0 GiB Swap : 10.0 GiB Disk : 78.2 GiB fio Disk Speed Tests (Mixed R/W 50/50): --------------------------------- Block Size | 4k (IOPS) | 64k (IOPS) ------ | --- ---- | ---- ---- Read | 102.18 MB/s (25.5k) | 1.96 GB/s (30.7k) Write | 102.44 MB/s (25.6k) | 1.97 GB/s (30.9k) Total | 204.62 MB/s (51.1k) | 3.94 GB/s (61.6k) | | Block Size | 512k (IOPS) | 1m (IOPS) ------ | --- ---- | ---- ---- Read | 100.85 MB/s (196) | 1.95 GB/s (1.9k) Write | 106.21 MB/s (207) | 2.08 GB/s (2.0k) Total | 207.07 MB/s (403) | 4.04 GB/s (3.9k) iperf3 Network Speed Tests (IPv6): --------------------------------- Provider | Location (Link) | Send Speed | Recv Speed | | | Clouvider | London, UK (10G) | 93.9 Mbits/sec | 905 Mbits/sec Online.net | Paris, FR (10G) | 93.9 Mbits/sec | 903 Mbits/sec WorldStream | The Netherlands (10G) | 91.9 Mbits/sec | 882 Mbits/sec WebHorizon | Singapore (1G) | 13.2 Mbits/sec | 151 Mbits/sec Clouvider | NYC, NY, US (10G) | 38.4 Mbits/sec | 331 Mbits/sec Clouvider | Los Angeles, CA, US (10G) | 20.5 Mbits/sec | 204 Mbits/sec