OVH已经设置了IPv6,但是没有生效,已经reboot过了

55次阅读

共计 1555 个字符,预计需要花费 4 分钟才能阅读完成。

内容最后由 ningfeng.im 于 2023-1-25 22:55 编辑 # This file describes the network interfaces available on your system# and how to activate them. For more information, see interfaces(5).source /etc/network/interfaces.d/*# The loopback network interfaceauto loiface lo inet loopback# The primary network interfaceallow-hotplug eth0iface eth0 inet static        address 15.204.57.4/16        gateway 15.204.56.1        dns-nameservers 1.1.1.1 8.8.8.8iface eth0 inet6 static    address 2604:2dc0:202:300::9aa/56    gateway 2604:2dc0:202:300::1    dns-nameservers 2001:4860:4860::8888 2001:4860:4860::8844 复制代码有哪里设置错了吗?royzheng 2023-01-25 22:44 2iface enp3s0 inet6 static        address 2607:xxxxxxx        netmask 128        gateway 2607:xxxxxxxxxx        autoconf 0 复制代码我的配置 供你参考 koi 2023-01-25 22:46 3inet6 加上这两行 post-up route add -A inet6 default gw 2604:2dc0:202:300::1 || truepre-down route del -A inet6 default gw 2604:2dc0:202:300::1 || true 复制代码 ningfeng.im 2023-01-25 22:53 4koi 发表于 2023-1-25 22:46inet6 加上这两行 iface eth0 inet static        address 15.204.57.4/16        gateway 15.204.56.1        dns-nameservers 1.1.1.1 8.8.8.8iface eth0 inet6 static    address 2604:2dc0:202:300::9aa/56    gateway 2604:2dc0:202:300::1    dns-nameservers 2001:4860:4860::8888 2001:4860:4860::8844    post-up route add -A inet6 default gw 2604:2dc0:202:300::1 || true    pre-down route del -A inet6 default gw 2604:2dc0:202:300::1 || true 复制代码加上了,重启之后还是没有 IPv6 shares 2023-01-25 22:59 5https://369369.xyz/host/topic/1125018.html ningfeng.im 2023-01-25 23:00 6shares 发表于 2023-1-25 22:59https://369369.xyz/host/topic/1125018.html 我就是按这个设置的 jian88 2023-01-25 23:03 7 面板重装一次系统就可以了 bcdefg 2023-01-25 23:04 8OVH 不是给 /64 的吗,有 /56 的?奧巴马 2023-01-25 23:06 9/128 不是 56 ningfeng.im 2023-01-25 23:44 10 还是不行

正文完
 0