当前位置:网站首页>【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帧
边栏推荐
猜你喜欢

A, MySQL principle of master-slave replication

【Unity】编辑器扩展-04-拓展Scene视图

matlab常用符号用法总结

How to upgrade nodejs version

Andoird开发--指南针(基于手机传感器)

【pytorch记录】pytorch的分布式 torch.distributed.launch 命令在做什么呢

How on one machine (Windows) to install two MYSQL database

【问题记录】TypeError: eval() arg 1 must be a string, bytes or code object

来n遍剑指--09. 用两个栈实现队列

(selenium)Service geckodriver unexpectedly exited. Status code was: 64
随机推荐
射频电路学习之滤波电路
刷题《剑指Offer》day05
科目三:前方路口直行
科目三:右转弯
MySQL 视图(详解)
MySQL 排序
如何在 Linux 上安装 MySQL
如何在一台机器上(windows)安装两个MYSQL数据库
云服务器部署 Web 项目
MUI获取相机权限
Define event types in Splunk Web
SQL statement knowledge
qt在不同的线程中传递自定义结构体参数
vue element form表单规则校验 点击提交后直接报数据库错误,没有显示错误信息
如何升级nodejs版本
[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
[Mini Program Project Development--Jingdong Mall] Custom Search Component of uni-app (Part 1)--Component UI
【小程序专栏】总结uniapp开发小程序的开发规范
2019 NeurIPS | Graph Convolutional Policy Network for Goal-Directed Molecular Graph Generation
科目三:左转弯