kimsufi安装proxmox开纯ipv6的VPS

作者: 流星过雁 分类: 知识宝藏 发布时间: 2016-07-05 15:36 ė 6没有评论

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!

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

本文永久链接: http://hw7.net/?p=252

发表评论

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

*

Ɣ回顶部