【求助】Virtualizor面板小鸡,安装PVE,PVE下虚拟机获取IPv6...
有两只Virtualizor面板的小鸡,配置还算可以,但是安装PVE后,VM的IPv6地址不通,请问哪里出错了。 已经安装了ndppd,sysctl也开启了ipv6转发。<br /><br />
还有就是Virtualizor面板每次重启后 都会重写/etc/network/interfaces 导致PVE断网,有解决的办法吗?<br />
<br />
下面是pve服务器的/etc/network/interfaces的内容<br /><div class="blockcode"><div id="code_Tvp"><ol><li>ping 2a0f:1234:1234:1234::a</ol></div><em onclick="copycode($('code_Tvp'));">复制代码</em></div>是通的<br />
但是<div class="blockcode"><div id="code_Km8"><ol><li>ping 2a0f:1234:1234:1234::1 </ol></div><em onclick="copycode($('code_Km8'));">复制代码</em></div>不通<br />
新建VM后 ping VM的ipv6 也是不通的<br />
同样的配置用在其他面板的小鸡上就可以。所以请教下有Virtualizor面板小鸡成功安装PVE且VM ipv6正常使用的吗? 求教。<br />
<br /><div class="blockcode"><div id="code_qWS"><ol><li>source /etc/network/interfaces.d/*<br /><li><br /><li>auto lo<br /><li>iface lo inet loopback<br /><li>iface lo inet6 loopback<br /><li><br /><li>auto eth0<br /><li>iface eth0 inet manual<br /><li>iface eth0 inet6 manual<br /><li><br /><li>auto vmbr0<br /><li>iface vmbr0 inet static<br /><li> address 191.xx.xx.xx<br /><li> netmask 255.255.255.0<br /><li> gateway 191.xx.xx.1<br /><li> bridge_ports eth0<br /><li> bridge_stp off<br /><li> bridge_fd 0<br /><li> bridge_maxwait 0<br /><li><br /><li><br /><li>iface vmbr0 inet6 static<br /><li> address 2a0f:234:1234:1234::a/64<br /><li> gateway 2a0f:1234:1234::1<br /><li> bridge_ports eth0<br /><li> bridge_stp off<br /><li> bridge_fd 0<br /><li> up ip -6 route del 2a0f:1234:1234:1234::/64 dev vmbr0<br /><li><br /><li>auto vmbr1<br /><li>iface vmbr1 inet static<br /><li> address 192.168.1.1<br /><li> netmask 255.255.255.0<br /><li> bridge_ports none<br /><li> bridge_stp off<br /><li> bridge_fd 0<br /><li> post-up echo 1 > /proc/sys/net/ipv4/ip_forward<br /><li> post-up iptables -t nat -A POSTROUTING -s '192.168.1.0/24' -o vmbr0 -j MASQUERADE<br /><li> post-down iptables -t nat -D POSTROUTING -s '192.168.1.0/24' -o vmbr0 -j MASQUERADE<br /><li><br /><li>auto vmbr1<br /><li>iface vmbr1 inet6 static<br /><li> address 2a0f:1234:1234:1234::1/64<br /><li> bridge_ports none<br /><li> bridge_stp off<br /><li> bridge_fd 0<br /><li> up ip -6 route add 2a0f:1234:1234:1234::/64 dev vmbr1<br /><li> post-down ip -6 route del 2a0f:1234:1234:1234::/64 dev vmbr1</ol></div><em onclick="copycode($('code_qWS'));">复制代码</em></div><br />
<br />
我也是pve加virtualizor面板,不过我没有ipv6,就按照官方文档配置的,没遇到什么问题 把/etc/network/interfaces文件锁定呢? 网关的问题嘛?
页:
[1]