当前位置:网站首页>What is the slice flag bit
What is the slice flag bit
2022-06-25 06:17:00 【Programmer community】
If you look ahead MTU and MSS The article , You should know that if the data is too big , It is easy to lose in transmission , Therefore, the size of each data frame is limited on the network card , This is it. MTU, It means data sent from the network layer to the second layer (ip head +ipPayload), Not greater than MTU, If it is big, it will be discarded , This requires that data packets should be divided into packets in the network layer MTU The size of the partition package . however , Some messages are for data integrity , I don't want to be in the network layer because MTU The relationship between , It would rather discard , I am not willing to send after slicing , What about this ?
Slice flag bit
What should I do about the above problems ? It's simple , Since the message is fragmented at the network layer , I just add some information to the network layer , It is used to indicate whether slicing is allowed , This is the fragment flag bit field in the network layer protocol header

DF
Indicates whether fragmentation is allowed ,0 Can be said ,1 It means that it is not allowed to
So if you don't want the message to be sent over the network due to MTU The relationship between , It may be necessary to partition when passing through a router network card , You can send the message IP In the first part DF Value is set to 1, In this way, the router cannot be partitioned , Discard the message , At the same time ICMP To the source host
This brings out DF Another function of :
Discovery path MTU,PMTUD,path mtu discovery, Through the DF Set to 1, When some network cards in the path MTU It is too small to be divided into pieces , It will send icmp To the source host , This icmp There is this network card in the message mtu The size of information , The source host can find the smallest on the path mtu, This is it. path mtu. Source host according to pmtu, You can resend smaller ip package
MF
It means that we should ip Is the bag the last piece ,0 It means the last piece ,1 It means not the last piece
What is the purpose of this flag bit ?
Data packets are sent after being partitioned in the network layer , At the receiving end , It also needs to be reorganized at the network layer , Wait for the partition package to complete the reorganization ? Is to receive the last piece of data packet . If the last piece doesn't arrive , Recombined packets are incomplete , You can't send it to the top , You need to discard the whole package . Only complete packets can be sent to the upper layer
边栏推荐
- [golang] leetcode intermediate - Search rotation sort array & search two-dimensional matrix II
- Introduction to the main features of kyma when the cloud native application runs
- Global and Chinese benzoic acid market competition strategy and demand scale forecast report 2022
- Getting started with Silverlight development 1
- SAP ui5 date type sap ui. model. type. Analysis of date parsing format
- Research Report on demand and Competitive Prospect of global and Chinese welding personal protective equipment industry 2022-2027
- PHP output (print) log to TXT text
- Count the grid
- Distributed solar photovoltaic inverter monitoring
- CTFSHOW
猜你喜欢
![[hand torn STL] Stack & queue](/img/db/d05c52f8e3fb0aade51460e86cf623.jpg)
[hand torn STL] Stack & queue
Vscode voice notes to enrich information (medium)

Understanding the dynamic mode of mongodb document

What elements are indispensable for the development of the character? What are the stages

Location object
Various errors and solutions encountered when deploying SAP ui5 application to ABAP server with SAP Fiori tools
SAP Fiori tools and corresponding cli (command line interface)

C simple operation mongodb

Distributed solar photovoltaic inverter monitoring

Invalid bound statement (not found)
随机推荐
Go uses channel to control concurrency
Uname command – displays system information
Research Report on demand and Competitive Prospect of global and Chinese welding personal protective equipment industry 2022-2027
[road of system analyst] collection of wrong questions in the chapters of Applied Mathematics and economic management
Go microservice development toolkit
[golang] leetcode intermediate - Search rotation sort array & search two-dimensional matrix II
[Suanli network] technological innovation of Suanli Network -- Key Technologies of green and security
Part 33 of SAP ui5 application development tutorial - trial version of responsiveness of SAP ui5 applications
Technology Review: what is the evolution route of container technology? What imagination space is there in the future?
PHP output (print) log to TXT text
Huawei machine test question: splicing URL
2022-02-19: fence installation. In a two-dimensional garden, there are some trees represented by (x, y) coordinates. As the installation cost is very expensive, your task is to enclose all the trees w
Differences and connections between sap ui5 and openui5
Aiot project that is an introduction to the basics of the Internet of things and can be implemented in practice
证券如何在线开户?在线开户是安全么?
Global and China chemical mechanical polishing abrasive materials market demand outlook and investment scale forecast report 2022 Edition
Distributed solar photovoltaic inverter monitoring
CTFSHOW
John
Report on strategic suggestions on investment direction and Prospect of global and Chinese marine biological industry (2022 Edition)