当前位置:网站首页>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 .
边栏推荐
- Crawling JS encrypted data of playwright actual combat case
- Solve the problem of false Base64 character in Base64
- Source code compilation pytorch pit
- Error reporting when adding fields to sap se11 transparent table: structural changes at the field level (conversion table xxxxx)
- 6.2 function-parameters
- Is the sub database and sub table really suitable for your system? Talk about how to select sub databases, sub tables and newsql
- Memory leaks and common solutions
- ERROR 1045 (28000): Access denied for user ‘ODBC‘@‘localhost‘ (using password: NO)
- Leetcode: interview question 08.14. Boolean operation
- C language -- 22 one dimensional array
猜你喜欢

6.3 references

四元数与其在Unity中的简单应用

2022电工(初级)考题模拟考试平台操作

01-01-osg GL3 environment setup

信息系统项目管理师必背核心考点(五十三)质量等级

One click automated data analysis! Come and have a look at these treasure tool libraries

2022危险化学品经营单位主要负责人操作证考试题库及答案

2022.7.9 quick view of papers

Eggjs create application knowledge points

2022年P气瓶充装考试模拟100题模拟考试平台操作
随机推荐
Osgsimplegl3 example analysis
多标签用户画像分析跑得快的关键在哪里?
Rocky基础之编译安装apache
SAP ooalv-sd module actual development case (add, delete, modify and check)
One click automated data analysis! Come and have a look at these treasure tool libraries
Normal visualization
Regular expression verification version number
不同数据库相同字段查不重复数据
ERROR 1045 (28000): Access denied for user ‘ODBC‘@‘localhost‘ (using password: NO)
GBase 8s数据库有哪些备份恢复方式
C language macro define command exercise
Classic interview question: = = the difference between equals
State compression DP
ICMP message analysis
Leetcode deduction topic summary (topic No.: 53, 3, 141, interview question 022, the entry node of the link in the sword finger offer chain, 20, 19, Niuke NC1, 103, 1143, Niuke 127)
Intel will gradually end the optane storage business and will not develop new products in the future
MySQL statement mind map
Clickhouse learning (II) Clickhouse stand-alone installation
Is the sub database and sub table really suitable for your system? Talk about how to select sub databases, sub tables and newsql
Solve the problem of false Base64 character in Base64