当前位置:网站首页>【TCP/IP】Network Model
【TCP/IP】Network Model
2022-07-31 09:02:00 【Poyun V】
【TCP/IP】网络模型
目录
1.作用
实现网络通信
2.总体概览
3.Introduction to each layer
1.应用层
最上层的,dealing with users(That is, the application software we can touch is implemented in the application layer)
应用层为
用户提供的功能:Eg:
HTTP,FTP,TELNET,DNS,SMTP
注意:The application layer does not care how the data is transmitted,就像你想寄快递,Just give your express package to the courier,这个包裹就相当于数据,怎么送,你不关心,That's a courier thing
2.传输层
This transport layer is equivalent
快递员,Transport application layer data packets,对应用层Provides network support
应用层>>>传输层>>>应用层
传输层的两个协议:TCP和UDP
TCP: 传输控制协议最大的特点:保证
可靠传输
UDP:It is a name
佛系,Just simple send数据报,There is no guarantee that the datagram will arrive,但是效率很高(Like you call a courier:The courier delivered quickly,But it does not guarantee that the package you give will work100%送到目的地.)
The origin of the port:
当
设备作为接收方时,system to transmit数据包sent to the application,But a device may have很多应用receiving or transmitting data,需要一个编号Separate applications,这个编号就是端口
For Example:1.
web端口通常是80端口2.
22端口通常是远程登录服务器用的3.Our usual browser,We open a new one every time
标签栏,The system will create a temporary for them端口号(Because each process is one独立的进程)
3.网络层
举个例子:
包裹交给快递员,快递员how to deliver目的地,这个过程,采用飞机?大炮,车车?等等,This process is done by the network layer(Not too strict!!), 嗯…你想想
快递系统,快递系统决定Where does the courier go,perform the tasks of that stage,这个快递系统就是相当于网络层===哼哼哈嘿!!!
IP协议:
这是网络层
最重要的协议(相当于The courier company's shipping express运输工具)
IP报文:将传输层的报文作为数据部分,再加上IP包组成IP报文
IP分片:一般是IP报文超过MTU(The specified bytes of general Ethernet are 1500字节),就会将IP报文Perform sharding operations.

IP地址
就是相当于我们的
快递单号组成:网络号+主机号
1.
网络号:负责标识该IP地址属于那个子网的2.
主机号:Responsible for uniformity of identification子网下面的不同主机
网络号&How to calculate host number?
IP地址与子网掩码
按位与运算:比如 10.100.122.0/24,后面的
/24表示就是255.255.255.0子网掩码,进行按位与的运算得到网络号The same operation is performed to invert the subnet mask,然后与IP地址进行
按位与的运算,可以得到主机号
IP路由:
就是相当于
快递中转站
IP寻址
Tell us where to go next,Like the equivalent of a navigation system.
4.网络接口层
This can be understood as the courier who really rides your courier on the road
小摩托in transport
最重要的MAC帧
边栏推荐
- 怎样修改MySQL数据库的密码
- [Yellow ah code] Introduction to MySQL - 3. I use select, the boss directly drives me to take the train home, and I still buy a station ticket
- [Cloud native] Introduction and use of Feign of microservices
- 刷题《剑指Offer》day05
- MySQL----多表查询
- Define event types in Splunk Web
- 35-Jenkins-共享库应用
- 【Unity】编辑器扩展-01-拓展Project视图
- Pytorch学习记录(七):自定义模型 & Auto-Encoders
- MySQL 数据库基础知识(系统化一篇入门)
猜你喜欢
![[MySQL exercises] Chapter 4 · Explore operators in MySQL with kiko](/img/11/66b4908ed8f253d599942f35bde96a.png)
[MySQL exercises] Chapter 4 · Explore operators in MySQL with kiko

2019 NeurIPS | Graph Convolutional Policy Network for Goal-Directed Molecular Graph Generation
![[转载] Virtual Studio 让系统找到需要的头文件和库](/img/85/909c2ef52bbecb3faf7ed683fee65b.png)
[转载] Virtual Studio 让系统找到需要的头文件和库

51单片机-----外部中断

MySQL 高级(进阶) SQL 语句 (一)

【MySQL功法】第2话 · 数据库与数据表的基本操作

HTC官方RUU固件提取刷机包rom.zip以及RUU解密教程

基于学生成绩管理系统(附源代码及数据库)

【NLP】Transformer理论解读

安装gnome-screenshot截图工具
随机推荐
科目三:左转弯
0730~Mysql optimization
Hematemesis summarizes thirteen experiences to help you create more suitable MySQL indexes
MySQL 日期时间类型精确到毫秒
来n遍剑指--05. 替换空格
Job hunting product manager [9] How to write a good resume in job hunting season?
Scala基础【seq、set、map、元组、WordCount、队列、并行】
期刊投递时的 Late News Submission 是什么
利用frp服务器进行内网穿透ssh访问
MySQL 高级(进阶) SQL 语句 (一)
How to restore data using mysql binlog
来n遍剑指--09. 用两个栈实现队列
傅里叶变换,拉普拉斯变换学习记录
Pytorch学习记录(七):自定义模型 & Auto-Encoders
[MySQL exercises] Chapter 5 · SQL single table query
【机器学习】用特征量重要度(feature importance)解释模型靠谱么?怎么才能算出更靠谱的重要度?
生成随机数
MySQL 数据库基础知识(系统化一篇入门)
ecshop安装的时候提示不支持JPEG格式
postgresql 生成随机日期,随机时间