4.4.3.4. 区域间 Prefix LSA (Inter-Area-Prefix-LSAs)
inter-area-prefix-LSA 的 LS type 设置为 0x2003. inter-area-prefix-LSA 具有区域泛洪范围. 在 IPv4 中, inter-area-prefix-LSA 称为 type 3 summary-LSA. 每个 inter-area-prefix-LSA 描述一个位于该区域外部, 但仍在自治系统内部的 prefix.
在 IPv6 中发起 inter-area-prefix-LSA 的过程与 [OSPFV2] 第 12.4.3 节和第 12.4.3.1 节中记录的 IPv4 过程相同, 但有以下例外:
-
inter-area-prefix-LSA 的 Link State ID 已失去所有地址语义, 只用于区分同一路由器发起的多个 inter-area-prefix-LSA.
-
prefix 由嵌入在 LSA 正文中的 PrefixLength, PrefixOptions 和 Address Prefix 字段描述. 不再指定 Network Mask.
-
PrefixOptions 字段中的 NU-bit 应清除.
-
链路本地地址绝不能在 inter-area-prefix-LSA 中通告.
例如, 以下展示 Router RT4 向 OSPF 骨干区域发起的 inter-area-prefix-LSA, 它将 Area 1 的所有 prefix 汇总为单个 prefix 2001:0db8:c001::/48. cost 设置为 4, 这是所有单独组成 prefix 的最大 cost. 该 prefix 会填充到偶数个 32-bit 字, 因此占用 64 bits 空间, 而不是 48 bits.
; Inter-area-prefix-LSA for Area 1 addresses
; originated by Router RT4 into the backbone
LS age = 0 ; newly (re)originated
LS type = 0x2003 ; inter-area-prefix-LSA
Advertising Router = 192.0.2.4 ; RT4's ID
Metric = 4 ; maximum to components
PrefixLength = 48
PrefixOptions = 0
Address Prefix = 2001:0db8:c001 ; padded to 64-bits