跳到主要内容

1. 概述 (Overview)

1. 概述 (Overview)

BGP-4 携带的仅有三项 IPv4-specific 信息是 (a) NEXT_HOP attribute (表示为 IPv4 address), (b) AGGREGATOR (包含 IPv4 address), 以及 (c) NLRI (表示为 IPv4 address prefixes). 本文档假定任何 BGP speaker (包括支持本文档定义的 multiprotocol capabilities 的 speaker) 都必须具有 IPv4 address (除其他用途外, 它将用于 AGGREGATOR attribute). 因此, 为使 BGP-4 支持多个 Network Layer protocols 的 routing, 只需向 BGP-4 添加两项内容: (a) 将特定 Network Layer protocol 与 next hop information 关联的能力, 以及 (b) 将特定 Network Layer protocol 与 NLRI 关联的能力. 为标识各个 Network Layer protocols, 本文档使用 [RFC1700] 中定义的 Address Family.

还可以进一步观察到, next hop information (由 NEXT_HOP attribute 提供的信息) 只有与 reachable destinations 的 advertisements 结合时才有意义 (且必要). 与 unreachable destinations 的 advertisements (从服务中撤销 routes) 结合时, next hop information 没有意义. 这表明 reachable destinations 的 advertisement 应与这些 destinations 所用 next hop 的 advertisement 分组在一起, 并且 reachable destinations 的 advertisement 应与 unreachable destinations 的 advertisement 分离.

为提供 backward compatibility, 并简化向 BGP-4 引入 multiprotocol capabilities, 本文档使用两个新 attributes: Multiprotocol Reachable NLRI (MP_REACH_NLRI) 和 Multiprotocol Unreachable NLRI (MP_UNREACH_NLRI). 第一个 (MP_REACH_NLRI) 用于携带 reachable destinations 集合, 以及用于向这些 destinations 转发的 next hop information. 第二个 (MP_UNREACH_NLRI) 用于携带 unreachable destinations 集合. 这两个 attributes 都是 optional 且 non-transitive 的. 这样, 不支持 multiprotocol capabilities 的 BGP speaker 将只会忽略这些 attributes 中携带的信息, 且不会将其传递给其他 BGP speakers.