# 网关带宽分配Gateway bandwidth allocation

• IPsec = 5 GbpsIPsec = 5 Gbps

• GRE = 15 GbpsGRE = 15 Gbps

• L3 = 5 GbpsL3 = 5 Gbps

## 网关容量计算Gateway capacity calculation

• 网关总容量 = 25 GbpsTotal capacity of the gateway = 25 Gbps

• 可用 IPsec 容量总计 = 5 Gbps (固定) Total available IPsec capacity = 5 Gbps (fixed)

• 可用 GRE 容量总计 = 15 Gbps (固定) Total available GRE capacity = 15 Gbps (fixed)

• 此网关的 IPsec 吞吐量比率 = 25/5 = 5 GbpsIPsec throughput ratio for this gateway = 25/5 = 5 Gbps

• 此网关的 GRE 吞吐量比率 = 25/15 = 5/3 GbpsGRE throughput ratio for this gateway = 25/15 = 5/3 Gbps

25– 5 * 2 = 15 Gbps      25–5*2 = 15 Gbps

5-2 = 3 Gbps      5-2 = 3 Gbps

15 * 3/5 = 9 Gbps      15*3/5 = 9 Gbps

## Windows Server 2016 行为Windows Server 2016 behavior

Windows Server 2016 的网关容量计算算法保持不变。The gateway capacity calculation algorithm for Windows Server 2016 remains unchanged. 在 Windows Server 2016 中，最大 IPsec 隧道带宽限制为网关上 (3/20) * 网关容量。In Windows Server 2016, Maximum IPsec tunnel bandwidth was limited to (3/20)*gateway capacity on a gateway. GRE 和 L3 隧道的等效比率分别为1/5 和1/2。The equivalent ratios for GRE and L3 tunnels were 1/5 and 1/2, respectively.

1. GRE 和 L3 隧道： 一旦将网络控制器节点更新到 Windows Server 2019，Windows Server 2019 分配逻辑就会生效GRE and L3 tunnels: The Windows Server 2019 allocation logic takes effect once Network Controller nodes get updated to Windows Server 2019

2. IPSec 隧道： Windows Server 2016 网关分配逻辑将继续工作，直到网关池中的所有网关升级到 Windows Server 2019。IPSec tunnels: The Windows Server 2016 gateway allocation logic continues to function until all the gateways in the gateway pool get upgraded to Windows Server 2019. 对于网关池中的所有网关，必须将 Azure 网关服务设置为 "自动"。For all gateways in the gateway pool, you must set the Azure gateway service to Automatic.