当前位置:网站首页>Network knowledge summary
Network knowledge summary
2022-07-29 08:58:00 【Not deceive the dark room__】
It is known that TCP/IP The agreement is divided into four layers / Five floors , The application layer , Transport layer , The network layer , Access layer ( The data link 、 The physical layer ). The physical layer does some simple level transmission , Through optical fiber 、 Twisted pair 、 Radio and other external media 0、1 Transmission of level signal .
Data link layer : How do you know that the ports connected to each other are sent to this machine , It's time to MAC Address as tag , Due to the low reliability of some media in the physical layer , Therefore, the data link layer is required for data verification , The data link layer will cut the bit stream with unknown length of the physical layer into various segments , Each paragraph is carried out separately CRC check , take MAC Address and other information are added to Baotou , take CRC The checksum is added at the end of the package , This is the frame format of the data link layer . Bitstream cutting can also reuse the data of the physical layer .
The network layer : The link layer is based on broadcasting , In order to prevent the network storm under large-scale communication , It needs to be divided into multiple broadcasts , At this time, you need a virtual address —ip Address , The role of the network layer is to allocate and process each ip Address , That's gateway .
Transport layer : It is known that there are multiple applications on a host that need to be networked , How to allocate a packet to each application process after receiving it ? That is to distinguish by port number . So the network layer is the data transmission between hosts , The transport layer is the data transmission between various application processes .TCP and UDP The protocol is at the transport layer .UDP According to MTU( Maximum transmission unit -1500) The maximum calculated is no more than 1472(1500-20IP Head -8UDP Head ).
The transmission of data stream is encapsulated from top to bottom in the five layer model , First of all TCP Header encapsulation , Then the IP Header encapsulation , In the link layer, the link layer will be added in the header MAC Encapsulation of address , Add at the tail CRC Encapsulation of checksum .
边栏推荐
- 01-01-osg GL3 environment setup
- C language function output I love you
- Error reporting when adding fields to sap se11 transparent table: structural changes at the field level (conversion table xxxxx)
- Regular expression verification version number
- Basic shell operations (Part 1)
- The biggest upgrade of Bluetooth over the years: Bluetooth Le audio is about to appear in all kinds of digital products
- No duplicate data in the same field of different databases
- Txt plain text operation
- 6.2 function-parameters
- File upload and expansion
猜你喜欢

Intel will gradually end the optane storage business and will not develop new products in the future

MySQL error summary

AI application lesson 1: C language Alipay face brushing login

Sword finger offer 27. image of binary tree
数据表示与计算(进制)
Notes on network principles (five layer network)

LeetCode力扣题目总结(题目编号:53、3、141、面试题022、剑指offer链表中环的入口节点、20、19、牛客NC1、103、1143、牛客127)
![A little knowledge [synchronized]](/img/4d/4a8beee749328b5867b59740fd7e78.png)
A little knowledge [synchronized]

数学建模——微分方程

RESTful 风格详解
随机推荐
GBase 8s数据库有哪些备份恢复方式
Mathematical modeling - Differential Equations
01-01-osg GL3 environment setup
Opencv cvcircle function
Fastjson's tojsonstring() source code analysis for special processing of time classes - "deepnova developer community"
ML.NET相关资源整理
Amazfit dial toolbox Online
How does xjson implement four operations?
Leetcode: interview question 08.14. Boolean operation
预训练模型与传统方法在排序上有啥不同?
Several ways of debugging support under oneos
Lesson 3 threejs panoramic preview room case
Analysis of zorder sampling partition process in Hudi - "deepnova developer community"
Crawling JS encrypted data of playwright actual combat case
Intel将逐步结束Optane存储业务 未来不再开发新产品
Data is the main body of future world development, and data security should be raised to the national strategic level
2022.7.9 quick view of papers
(Video + graphic) introduction to machine learning series - Chapter 3 logical regression
OSG advanced sequence
Leetcode question brushing (6)