vps交流

我跟大家 一样 配不上ks的 ipv6


本帖最后由 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

…….. 还有很长

我晕。。。是这么配吗
怎么会这么长
一二个足够了,都是一根网线
我记得有大佬 会写教程 不知道写完没有 我跟大家 一样 配不上ks的 ipv6