当 RIP 路由器向路由器发送更新时,为什么它仅限于使用512 bytesUDP 数据。为什么不超过这个,即使它有一个 1500 字节的 MTU。如何确定 512 字节的最大值?
为什么 RIP 最多只能发送 512 字节的数据
网络工程
路由
协议理论
UDP
撕裂
2021-07-14 17:28:16
1个回答
您可以在RFC 1058: RIP 的第 19 页上找到这一点,RIP 更新的最大 UDP 负载为 512 字节:
The maximum datagram size is 512 octets. This includes only the
portions of the datagram described above. It does not count the IP
or UDP headers. The commands that involve network information allow
information to be split across several datagrams. No special
provisions are needed for continuations, since correct results will
occur if the datagrams are processed individually.
这意味着 RIP 最多可以在一个 RIP 更新包中携带25 条路由。在构思 RIP 时,512 字节是合理的最大值