SCTP 多宿主初始化消息



在SCTP多宿主配置中,我配置了两组 - 主路径和辅助路径。我的问题是 INIT 命令默认在主数据库或辅助服务器上发送到哪里(假设两条路径都已启动)?是否有任何条件要求只有在 INIT 处于 UP 状态时才需要在主路径上发送?

默认情况下

,任何 SCTP 数据包都应使用主路径发送。这是我在 RFC 4960 - Sec:6.4 - Para:III 中找到的内容

By default, an endpoint SHOULD always transmit to the primary path,
unless the SCTP user explicitly specifies the destination transport
address (and possibly source transport address) to use.

关于第二个问题 - "是否有任何条件要求只有在 UP 状态下才需要在主路径上发送 INIT ?

通过关闭的接口发送看起来不合逻辑。以下是 RFC 4960 - 第 6.4.1 节 - 第 II 段

When there is outbound data to send and the primary path becomes
inactive (e.g., due to failures), or where the SCTP user explicitly
requests to send data to an inactive destination transport address,
before reporting an error to its ULP, the SCTP endpoint should try to
send the data to an alternate active destination transport address if
one exists.

最新更新