Windows 2000 和 udp 数据报的大小 MTU 大小

发布于 2024-11-26 08:26:27 字数 107 浏览 9 评论 0原文

我如何更改/确保我的多播 udp 数据报的 Windows 主机接收器设置为能够接收 1500 的 MTU? 到目前为止我读过的文档提到了PPP和PPPoE,这似乎不适用于udp数据报。 谢谢 AK

How would I change/make sure that my windows host receiver of multicasted udp datagrams is set to be able to receive an MTU of 1500?
The documentation I've read so far refers to PPP and PPPoE, which doesn't seem to apply to udp datagrams.
Thanks
ak

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

甜宝宝 2024-12-03 08:26:28

PPP/PPPoE 与 UDP 并不相互排斥。前者是链路层协议,后者是传输层协议,参见TCP/IP

如果您正在谈论以太网 - 您已经拥有它了。 1500 是默认以太网 MTU。

编辑 0

那么你通常不会直接针对以太网工作。它是 UDP(多播),因此减去(至少)20 个字节的 IPv4 标头,并且8 个字节的 UDP 标头。这为您提供了最多 1472 字节的多播数据有效负载。

PPP/PPPoE are not mutually exclusive with UDP. The former are link layer protocols, the later is a transport layer protocol, see TCP/IP.

If you are talking about ethernet - you already have it. 1500 is the default ethernet MTU.

Edit 0

Then you usually don't work against ethernet directly. It's UDP (multicast), so subtract (at least) 20 bytes of IPv4 header, and 8 bytes of UDP header. That gives you maximum of 1472 bytes for multicast data payload.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文