kimsufi安装proxmox开纯ipv6的VPS

作者: 流星过雁 分类: 知识宝藏 发布时间: 2016-07-05 15:36 ė
Warning: Use of undefined constant the_views - assumed 'the_views' (this will throw an Error in a future version of PHP) in /www/wwwroot/hw7.net/wp-content/themes/TangStyle-master1.6/single.php on line 10
6 1条评论

1、update

apt-get update
apt-get dist-upgrade
pveam update

2、vi /etc/sysctl.conf
尾部add

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

3、/etc/network/interfaces

# vmbr2: IPv6
auto vmbr2
iface vmbr2 inet6 static
address IPV6::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 IPV6::2 dev vmbr2
post-up /sbin/ip -f inet6 neigh add proxy IPV6::3 dev vmbr0
post-up /sbin/ip -f inet6 route add IPV6::3 dev vmbr2

4、service networking restart
proxmox GUI界面,IPIPV6::3/64,网关gatewayIPV6::2,etc

ping6 google.com
enjoy!

本文出自海外去!,转载时请注明出处及相应链接。

本文永久链接: https://hw7.net/kimsufi%e5%ae%89%e8%a3%85proxmox%e5%bc%80%e7%ba%afipv6%e7%9a%84vps/

一条评论

  1. Pingback: kimsufi安装proxmox开纯ipv6的VPS – 海外去! – Log@X.X.B

发表评论

电子邮件地址不会被公开。 必填项已用*标注

*

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据

Ɣ回顶部