ipv6问题

81次阅读

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

/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 是这样添加的吗?

网友回复:

注册 2 的 64 次方?

shuishui 试试看了

lzlancom 签名第一个搜 ipv6

zxxx 2^(128-64) 个

山本大意失仙人 IPv4 计算公式: 2^(64-x)-3 IPv6 计算公式:2^(128-x)-3

BWH 表示我这个初中生看不懂

zxxx 百度一下 CIDR

shuishui 商家一般给模板,我是不会算数

acm Debian 添加整个段的话,不能一次添加吧?或许可以使用脚本来实现?

注册 iface enp7s0 inet6 static gateway xxxx:xxxx:x:xx::1 address xxxx:xxxx:x:xx::2/64 up ip addr add xxxx:xxxx:x:xx::3/64 dev enp7s0 down ip addr del xxxx:xxxx:x:xx::3/64 dev enp7s0 …… 复制代码

正文完
 0