全球主机交流论坛

标题: ipv6问题 [打印本页]

作者: shuishui    时间: 2022-7-19 20:56
标题: ipv6问题
/64是多少个可用ipv6
  1. iface enp7s0 inet6 static
  2. address xxxx:xxxx:x:xx::/64
  3. netmask 64
  4. gateway xxxx:xxxx:x:xx::
  5. dns-nameservers 2001:4860:4860::8888 2001:2001::
复制代码

Debian添加整个段的ipv6是这样添加的吗?
作者: lzlancom    时间: 2022-7-19 21:00
2的64次方?
作者: zxxx    时间: 2022-7-19 22:04
试试看了
作者: 山本大意失仙人    时间: 2022-7-19 22:27
签名第一个搜ipv6
作者: BWH    时间: 2022-7-19 22:28
2^(128-64)个
作者: zxxx    时间: 2022-7-19 22:44
IPv4计算公式: 2^(64-x)-3
IPv6计算公式:2^(128-x)-3
作者: shuishui    时间: 2022-7-19 22:54
zxxx 发表于 2022-7-19 22:44
IPv4计算公式: 2^(64-x)-3
IPv6计算公式:2^(128-x)-3

表示我这个初中生看不懂
作者: acm    时间: 2022-7-19 23:11
百度一下CIDR
作者: hcyme    时间: 2022-7-19 23:13
商家一般给模板,我是不会算数
作者: zxxx    时间: 2022-7-19 23:14
Debian添加整个段的话,不能一次添加吧?
或许可以使用脚本来实现?

作者: zxxx    时间: 2022-7-19 23:18
  1. iface enp7s0 inet6 static
  2. gateway xxxx:xxxx:x:xx::1
  3. address xxxx:xxxx:x:xx::2/64

  4. up ip addr add xxxx:xxxx:x:xx::3/64 dev enp7s0
  5. down ip addr del xxxx:xxxx:x:xx::3/64 dev enp7s0
  6. ......

复制代码

作者: zu1k    时间: 2022-7-20 07:56
https://zu1k.com/posts/tutorials/http-proxy-ipv6-pool/
作者: mmc199    时间: 2022-7-20 15:14
山本大意失仙人 发表于 2022-7-19 22:27
签名第一个搜ipv6

打不开了

作者: 山本大意失仙人    时间: 2022-7-20 20:51
mmc199 发表于 2022-7-20 15:14
打不开了

在北岸,闭站了,半个月后吧




欢迎光临 全球主机交流论坛 (https://loc.fffk.eu.org/) Powered by Discuz! X3.4