当前位置: 首页 > news >正文

《TCP/IP详解 卷一:协议》第5章的IPv4数据报的总长度字段出现“不需要大于576字节的IPv4数据报“相关内容的解释

《TCP/IP详解 卷一:协议》第5章的IPv4数据报的总长度字段的一些解释,出现以下内容(有省略):

....另外,主机不需要接收大于576字节的IPv4数据报.....以避免576字节的IPv4限制。

英文原文的内容(有省略):

Furthermore, a host is not required to be able to receive an IPv4 datagram larger than 576 bytes. ....Many applications that use the UDP protocol (see Chapter 10) for data transport (e.g., DNS, DHCP, etc.) use a limited data size of 512 bytes to avoid the 576-byte IPv4 limit. 

首先说明一下,这就是作者和译者不假思索,照搬RFC文档的结果,又没有任何解释。

在RFC791文档里面说

  Total Length:  16 bitsTotal Length is the length of the datagram, measured in octets,including internet header and data.  This field allows the length ofa datagram to be up to 65,535 octets.  Such long datagrams areimpractical for most hosts and networks.  All hosts must be preparedto accept datagrams of up to 576 octets (whether they arrive wholeor in fragments).  It is recommended that hosts only send datagramslarger than 576 octets if they have assurance that the destinationis prepared to accept the larger datagrams.The number 576 is selected to allow a reasonable sized data block tobe transmitted in addition to the required header information.  Forexample, this size allows a data block of 512 octets plus 64 headeroctets to fit in a datagram.  The maximal internet header is 60octets, and a typical internet header is 20 octets, allowing amargin for headers of higher level protocols.

然后我找了一些资料,最合理的解释就是,

在1981年9月通过RFC 791和RFC 793的发布,TCP/IP正式标准化。

在1981年,内存还是很贵的,一次最多发为576字节就够了。

——不是说现在MTU最大就是576字节啊,因为TCP/IP标准也是持续更新的,RFC文档也是不断增加的,更新的内容是在新文档的,不会在旧文档里面改的。

http://www.lryc.cn/news/215675.html

相关文章:

  • PO-java客户端连接错误can not connect to server
  • PM2 vs Kubernetes:在部署 Node.js 服务时使用哪个?
  • 配置git并把本地项目连接github
  • pytorch笔记 GRUCELL
  • 不解压,也能列出文件信息
  • 微型计算机组成原理
  • 基站/手机是怎么知道信道情况的?
  • 进程/线程
  • Python 应用 之 转换音频格式
  • Oracle JDK 和OpenJDK两者有什么异同点
  • GPT引发智能AI时代潮流
  • FreeSWITCH mrcp-v2小记
  • 如何将你的PC电脑数据迁移到Mac电脑?使用“迁移助理”从 PC 传输到 Mac的具体操作教程
  • Elasticsearch集群搭建、数据分片以及位置坐标实现附近的人搜索
  • 深度学习_3 数据操作之线代,微分
  • 树莓派安装Ubuntu22.04LTS桌面版
  • Rust编程基础之函数和表达式
  • 关于preempt count的疑问
  • Windows 开启 Kerberos 的火狐 Firefox 浏览器访问yarn、hdfs
  • 华为云资源搭建过程
  • 突破防火墙的一种方法
  • Docker 多阶段构建的原理及构建过程展示
  • 【开题报告】基于Spring Boot的家装产品展示交易平台的设计与实现
  • MacOS安装git
  • 京东协议算法最新版
  • 软考系统架构设计师案例分析知识汇总
  • MyBatis-plus 代码生成器
  • 运维常识——网络
  • 《研发效能(DevOps)工程师》课程简介(一)丨IDCF
  • OMV 介绍及安装