SCTP多宿主INIT消息

时间:2016-01-20 06:19:11

标签: sctp

在SCTP多宿主配置中,我配置了两个集 - 主路径和辅助路径。我的问题是默认情况下在主要或次要上发送的INIT命令在哪里(假设两个路径都已启动)? 是否有任何条件只有在处于UP状态时才需要在主路径上发送INIT?

1 个答案:

答案 0 :(得分:0)

默认情况下,任何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 - Sec:6.4.1 - Para: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.