本帖最后由 sunny_SHEN 于 2021-11-26 16:24 编辑
于是我 看了一下ks的 debian11 官方安装的配置文件,配个ipv6 至于吗。。。。
auto lo iface lo inet loopback
auto eno1 iface eno1 inet dhcp accept_ra 0
# control-alias eno1 iface eno1 inet6 static address xxxxxxxxxxxxxxxx:8da1::1/56 dns-nameservers xxxxx:xxx:3:163::1 gateway xxxxxxxxxxxxxxxx:8dff:ff:ff:ff:ff post-up route add -A inet6 xxxxxxxxxxxxxxxx:8d00::/57 gw xxxxxxxxxxxxxxxx:8dff:ff:ff:ff:ff || true pre-down route del -A inet6 xxxxxxxxxxxxxxxx:8d00::/57 gw xxxxxxxxxxxxxxxx:8dff:ff:ff:ff:ff || true post-up route add -A inet6 xxxxxxxxxxxxxxxx:8d80::/59 gw xxxxxxxxxxxxxxxx:8dff:ff:ff:ff:ff || true pre-down route del -A inet6 xxxxxxxxxxxxxxxx:8d80::/59 gw xxxxxxxxxxxxxxxx:8dff:ff:ff:ff:ff || true post-up route add -A inet6 xxxxxxxxxxxxxxxx:8dc0::/59 gw xxxxxxxxxxxxxxxx:8dff:ff:ff:ff:ff || true pre-down route del -A inet6 xxxxxxxxxxxxxxxx:8dc0::/59 gw xxxxxxxxxxxxxxxx:8dff:ff:ff:ff:ff || true post-up route add -A inet6 xxxxxxxxxxxxxxxx:8db0::/60 gw xxxxxxxxxxxxxxxx:8dff:ff:ff:ff:ff || true pre-down route del -A inet6 xxxxxxxxxxxxxxxx:8db0::/60 gw xxxxxxxxxxxxxxxx:8dff:ff:ff:ff:ff || true post-up route add -A inet6 xxxxxxxxxxxxxxxx:8de0::/60 gw xxxxxxxxxxxxxxxx:8dff:ff:ff:ff:ff || true pre-down route del -A inet6 xxxxxxxxxxxxxxxx:8de0::/60 gw xxxxxxxxxxxxxxxx:8dff:ff:ff:ff:ff || true post-up route add -A inet6 xxxxxxxxxxxxxxxx:8da8::/61 gw xxxxxxxxxxxxxxxx:8dff:ff:ff:ff:ff || true pre-down route del -A inet6 xxxxxxxxxxxxxxxx:8da8::/61 gw xxxxxxxxxxxxxxxx:8dff:ff:ff:ff:ff || true post-up route add -A inet6 xxxxxxxxxxxxxxxx:8df0::/61 gw xxxxxxxxxxxxxxxx:8dff:ff:ff:ff:ff || true pre-down route del -A inet6 xxxxxxxxxxxxxxxx:8df0::/61 gw xxxxxxxxxxxxxxxx:8dff:ff:ff:ff:ff || true post-up route add -A inet6 xxxxxxxxxxxxxxxx:8da4::/62 gw xxxxxxxxxxxxxxxx:8dff:ff:ff:ff:ff || true pre-down route del -A inet6 xxxxxxxxxxxxxxxx:8da4::/62 gw xxxxxxxxxxxxxxxx:8dff:ff:ff:ff:ff || true post-up route add -A inet6 xxxxxxxxxxxxxxxx:8df8::/62 gw xxxxxxxxxxxxxxxx:8dff:ff:ff:ff:ff || true pre-down route del -A inet6 xxxxxxxxxxxxxxxx:8df8::/62 gw xxxxxxxxxxxxxxxx:8dff:ff:ff:ff:ff || true post-up route add -A inet6 xxxxxxxxxxxxxxxx:8da2::/63 gw xxxxxxxxxxxxxxxx:8dff:ff:ff:ff:ff || true pre-down route del -A inet6 xxxxxxxxxxxxxxxx:8da2::/63 gw xxxxxxxxxxxxxxxx:8dff:ff:ff:ff:ff || true post-up route add -A inet6 xxxxxxxxxxxxxxxx:8dfc::/63 gw xxxxxxxxxxxxxxxx:8dff:ff:ff:ff:ff || true pre-down route del -A inet6 xxxxxxxxxxxxxxxx:8dfc::/63 gw xxxxxxxxxxxxxxxx:8dff:ff:ff:ff:ff || true post-up route add -A inet6 xxxxxxxxxxxxxxxx:8da0::/64 gw xxxxxxxxxxxxxxxx:8dff:ff:ff:ff:ff || true pre-down route del -A inet6 xxxxxxxxxxxxxxxx:8da0::/64 gw xxxxxxxxxxxxxxxx:8dff:ff:ff:ff:ff || true post-up route add -A inet6 xxxxxxxxxxxxxxxx:8dfe::/64 gw xxxxxxxxxxxxxxxx:8dff:ff:ff:ff:ff || true pre-down route del -A inet6 xxxxxxxxxxxxxxxx:8dfe::/64 gw xxxxxxxxxxxxxxxx:8dff:ff:ff:ff:ff || true post-up route add -A inet6 xxxxxxxxxxxxxxxx:8da1:8000::/65 gw xxxxxxxxxxxxxxxx:8dff:ff:ff:ff:ff || true pre-down route del -A inet6 xxxxxxxxxxxxxxxx:8da1:8000::/65 gw xxxxxxxxxxxxxxxx:8dff:ff:ff:ff:ff || true post-up route add -A inet6 xxxxxxxxxxxxxxxx:8dff:8000::/65 gw xxxxxxxxxxxxxxxx:8dff:ff:ff:ff:ff || true pre-down route del -A inet6 xxxxxxxxxxxxxxxx:8dff:8000::/65 gw xxxxxxxxxxxxxxxx:8dff:ff:ff:ff:ff || true post-up route add -A inet6 xxxxxxxxxxxxxxxx:8da1:4000::/66 gw xxxxxxxxxxxxxxxx:8dff:ff:ff:ff:ff || true pre-down route del -A inet6 xxxxxxxxxxxxxxxx:8da1:4000::/66 gw xxxxxxxxxxxxxxxx:8dff:ff:ff:ff:ff || true post-up route add -A inet6 xxxxxxxxxxxxxxxx:8dff:4000::/66 gw xxxxxxxxxxxxxxxx:8dff:ff:ff:ff:ff || true pre-down route del -A inet6 xxxxxxxxxxxxxxxx:8dff:4000::/66 gw xxxxxxxxxxxxxxxx:8dff:ff:ff:ff:ff || true post-up route add -A inet6 xxxxxxxxxxxxxxxx:8da1:2000::/67 gw xxxxxxxxxxxxxxxx:8dff:ff:ff:ff:ff || true pre-down route del -A inet6 xxxxxxxxxxxxxxxx:8da1:2000::/67 gw xxxxxxxxxxxxxxxx:8dff:ff:ff:ff:ff || true post-up route add -A inet6 xxxxxxxxxxxxxxxx:8dff:2000::/67 gw xxxxxxxxxxxxxxxx:8dff:ff:ff:ff:ff || true pre-down route del -A inet6 xxxxxxxxxxxxxxxx:8dff:2000::/67 gw xxxxxxxxxxxxxxxx:8dff:ff:ff:ff:ff || true
…….. 还有很长 |