当前位置:网站首页>[Interview Preparation Chapter] Jiwang (1) Basics - 1 TCP/IP Network Model
[Interview Preparation Chapter] Jiwang (1) Basics - 1 TCP/IP Network Model
2022-08-07 16:54:00 【jennie】
pushed by timeemmm~~入csIt's a little late1年,Only then did I realize that I still didn’t have a good grasp of this year and only did a good job in the class,远远不够,There's no way but to catch up now.Listen to my brother's suggestion to enter the pit小林coding,The following article also refers to this article.Really super dry love,Just organize your notes here.emmmI didn't study well in the online semester,It is reasonable to brush the kingly way,My mediocrity was skipped to the Department of Algorithms and Computing2The experiment was tortured to the point of exhaustionhhhh.Pick it up now,the back,By the way, let me sort out some small problems for self-review..
目录
TCP传输控制协议(Transmission Control Protocol)
TCP/IP网络模型
In-class and postgraduate examinations seem to be combined with realityTCP/IPThe model and the seven-layer model are summed up5层模型,Here's a closer look at the actual4layer model.Top down as follows:(Layer)【can be collectively referred to as data packets】
应用层
应用软件(HTTP【消息或报文(message)】、FTP、Telnet、DNS、SMTP),During communication, the data packet will be downloaded to the transport layer(Provide network services for the application layer).Transmission is none of his business.用户态(Others are kernel state).
传输层
传输协议:TCP、UDP.
TCP传输控制协议(Transmission Control Protocol)
Most applications such asHTTP应用层协议.
比UDP优点:流量控制、超时重传、拥塞控制——Ensure that data packets can be reliably transmitted to the other party.
UDP
simply send packets,不保证抵达,实时性好,传输效率高.To achieve reliable transmission, it is necessary toTCPFeatures are implemented at the application layer,Commercialization is not easy.
The data that the application needs to transfer is too large(超过MSS——TCP最大报文段长度)direct transmission is not easy to control=>数据包分块(Just resend chunks when corrupted):【TCP段(TCP Segment)】.
区分应用:端口(The transport layer message with you).通常Web:80,远程登录服务器:22.Each tab of the browser client is an independent process,Operating system assigns ephemeral port numbers.
网络层
The specific transmission between devices is not the responsibility of the transport layer,The actual network is complex,involves path and node selection,These are controlled by the application layer.
IP 协议(Internet Protocol)
The message of the transport layer is its data part,加上IP报头=>IP报文,其大小超过MTU(Ethernet is usually1500字节)
just shard.The protocol includes addressing(导航)和路由(steering wheel).【包(packet)】

图片转载自小林coding
寻址——Distinguishing equipment:IP地址
IPv4:32位,网络号(子网),主机号(Host under subnet).子网掩码计算(&).广播地址.in netmask“位格式”也被称为CIRD格式(CIDR=无类别域间路由选择).
路由
The network device has a gateway、路由器、交换机等,需要路由算法.The packet needs to be forwarded to the corresponding subnet.

网络接口层(Link Layer)
This is the same as the abstract in class5层协议不同,But his name is easier to understand,After all, in the network.再加MAC头部=>数据帧(Data frame).
以太网
组成部分:such as computer ethernet interface、Wi-Fi接口、以太网交换机、router thousand/万兆以太网口、网线等.
在局域网内,Technology that connects nearby devices to enable them to communicate.它不用IP而是MAC地址,at the link level,工作在网卡.

图片转载自小林coding
问题整理:
- TCP/IP网络模型?Packet form and encapsulation process of each layer?those layers are userland?those layers are kernel state?
- In which layer is the application software implemented??
- List several application layer protocols(应用功能).
- Does the application layer care about how data is transmitted??
- Which layer provides network services for the application layer?
- The transport layer has several transport protocols?Which application is used more?举例.各自优点?
- UDPIs reliable transmission possible??展开.
- Can the data at the application layer be too large for direct transmission??为什么?MSS是什么?
- How to send and receive data to distinguish applications?
- Web、远程登录服务器、The browser client port number?How the port number is told to the receiver?
- The transport layer is responsible for the transmission between specific devices, right??为什么?
- The most commonly used protocols at the network layer?其组成?
- Chunking and Sharding?
- MTU?how big is usually?
- 如何区分设备?详细说明.
- What is the subnet mask and broadcast address?
- CIDR是什么?详细说明.
- example network device.
- Network interface layer to encapsulate data?
- 以太网是什么?Its means of identification equipment?What level do you work at?
边栏推荐
- FutureTask源码深度剖析
- 手机注册股票开户安全吗是真的吗 开户要钱吗
- Learning a subshell and process of the Shell system
- 电脑截图快捷键不能用了如何解决_电脑截图快捷键无法截图的解决教程
- 笔记本电脑上有蓝牙吗 笔记本电脑如何开蓝牙
- 怎么做ppt详细步骤电脑 怎么做ppt模板制作
- Research and arrangement of crawler budget plan
- 【解决】The character used for Underline and Strikethrough is not available in font asset...
- 短视频自嗨无法流量变现大刚运维代运营
- No index signature with a parameter(索引签名)
猜你喜欢
随机推荐
嵌入式系统驱动高级【1】——设备模型
74行代码实现浪漫的红心下落的动画效果
在树莓派上使用cpolar(番外篇1)
UICamrea和其他Camera的区别,Camera跟随人物移动的脚本,人物移动结合遥感
845. 八数码
网页浏览记录如何查看 怎样查历史网页浏览记录
SAP ABAP OData 服务如何支持 $select 有选择性地仅读取部分模型字段值试读版
JSTL标签库
一文带你了解webrtc基本原理(动手实现1v1视频通话)
OK1028A核心板搭建QT开发环境
项目管理仅关注交付结果不够,价值实现是未来趋势
Redis高频面试题完整版
Correct the classpath of your application so that it contains compatible versions of the classes org
R语言拟合ARIMA模型并使用拟合模型进行预测推理:使用forecast函数计算ARIMA模型未来值(如果只想提取预测值,将结果分配给一个对象,然后提取名为mean的列表)
关于数字货币现货期权合约交易所系统开发详情源码
电脑看视频卡怎么解决 电脑看视频一卡一卡的解决教程
2022-08-06 Group 4 Self-cultivation class study notes (every day)
ELK日志平台搭建(一)
viewport 常见设置
Technical analysis of development of digital currency spot contract exchange system









