Virtualizor面板VPS安装Proxmox VE后,虚拟机无法获取IPv6地址,求助。
Virtualizor面板下PVE虚拟机IPv6无法访问。已启用ndppd和IPv6转发,但VM IPv6仍不通,且Virtualizor重启后重写`/etc/network/interfaces`导致PVE断网。外部IPv6(例如`2a0f:1234:1234:1234::a`)可ping通,但VM IPv6及`2a0f:1234:1234:1234::1`不通。其他面板下相同配置正常。 `/etc/network/interfaces`配置如下(略去部分IP地址):```
source /etc/network/interfaces.d/*
auto lo; iface lo inet loopback; iface lo inet6 loopback;
auto eth0; iface eth0 inet manual; iface eth0 inet6 manual;
auto vmbr0; iface vmbr0 inet static address 191.xx.xx.xx netmask 255.255.255.0 gateway 191.xx.xx.1 bridge_ports eth0 bridge_stp off bridge_fd 0 bridge_maxwait 0;
iface vmbr0 inet6 static address 2a0f:234:1234:1234::a/64 gateway 2a0f:1234:1234::1 bridge_ports eth0 bridge_stp off bridge_fd 0 up ip -6 route del 2a0f:1234:1234:1234::/64 dev vmbr0;
auto vmbr1; iface vmbr1 inet static address 192.168.1.1 netmask 255.255.255.0 bridge_ports none bridge_stp off bridge_fd 0 post-up echo 1 > /proc/sys/net/ipv4/ip_forward post-up iptables -t nat -A POSTROUTING -s '192.168.1.0/24' -o vmbr0 -j MASQUERADE post-down iptables -t nat -D POSTROUTING -s '192.168.1.0/24' -o vmbr0 -j MASQUERADE;
iface vmbr1 inet6 static address 2a0f:1234:1234:1234::1/64 bridge_ports none bridge_stp off bridge_fd 0 up ip -6 route add 2a0f:1234:1234:1234::/64 dev vmbr1 post-down ip -6 route del 2a0f:1234:1234:1234::/64 dev vmbr1;
```
求助Virtualizor下PVE IPv6配置经验。
页:
[1]