4.2. 分布式区域的动态路由环境
分布式 control plane 环境的拓扑包括三个 Red Hat OpenShift Container Platform (RHOCP)区域。每个区至少有一个 worker 节点托管 control plane 服务和一个 Compute 节点。每个节点有两个网络接口 eth2 和 eth3,它们配置了节点所在的区域子网的 IP 地址。
bgpmainnet 网络中有一个额外的 IP 地址,在每个节点上的回环接口上配置。这是每个节点用来相互通信的 IP 地址。BGP NIC 1 和 NIC 2 仅用于在区边界内建立 L2 连接。bgpmainnet 网络定义为 99.99.0.0/16,但每个区有子网。
下表指定使用每个区域和机架不同 IP 地址的 eth2 和 eth3 建立与光纤连接的网络,也是用作流量来源的全局 bgpmainnet。
| 网络名称 | zone 0 | 区域 1 | zone 2 |
|---|---|---|---|
|
BGP Net1 ( | 100.64.0.0/24 | 100.64.1.0 | 100.64.2.0 |
|
BGP Net2 ( | 100.65.0.0/24 | 100.65.1.0/24 | 100.65.2.0 |
| Bgpmainnet (loopback) | 99.99.0.0/24 | 99.99.1.0/24 | 99.99.2.0/24 |