Linux将fe80 :: / 64地址分配给接口。那不是fe80 :: / 10吗?


Answers:


10

分配给链接本地地址的地址空间为fe80 :: / 10,但接下来的54位定义为全零,因此有效范围为fe80 :: / 64。这使其与IPv6地址的常规习惯保持一致。

RFC 4291

2.5.6.  Link-Local IPv6 Unicast Addresses

   Link-Local addresses are for use on a single link.  Link-Local
   addresses have the following format:

   |   10     |
   |  bits    |         54 bits         |          64 bits           |
   +----------+-------------------------+----------------------------+
   |1111111010|           0             |       interface ID         |
   +----------+-------------------------+----------------------------+

0

FE80 :: / 64包括2 ^ 48以太网地址和一些其他链接级别派生的组合,但不一定是所有类型。/ 10允许将来扩展尚未定义的新类型。

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.