侧边栏壁纸
博主头像
燕雀の家 博主等级

行动起来,活在当下

  • 累计撰写 13 篇文章
  • 累计创建 5 个标签
  • 累计收到 0 条评论

目 录CONTENT

文章目录

VPS开启IPV6

Administrator
2025-01-12 / 0 评论 / 0 点赞 / 10 阅读 / 0 字

使用动态的分配ipv6

vim /etc/network/interfaces

添加

iface eth0 inet6 auto

添加静态ipv6

vim  /etc/network/interfaces
auto lo
iface lo inet loopback
    dns-nameservers 114.114.114.114 8.8.8.8
    dns-search coal

auto eth0
iface eth0 inet static
    address 192.168.183.11/24
    gateway 192.168.183.1

auto eth1
iface eth1 inet6 static
    address 2409:875xxxxxxxxxxxxxxx/64
    gateway 2409:87xxxxxxxxxxxxxxxxxxx
0

评论区