当前位置:网站首页>IP协议与IP地址
IP协议与IP地址
2022-07-02 06:28:00 【藤原千花的败北】
1.IP协议
网络层位于数据链路层和传输层之间。网络层包含了许多协议,其中最为重要的是IP协议。网络层提供了IP路由功能,理解IP路由除了要熟悉IP协议的工作机制外,还必须理解IP编址以及如何合理使用IP地址来设计网络。
IP包头结构

- version
- Header Length
- Differentiated Services Filed
- Differentiated Services Codepoint
- Explicit Congestion Notification
- Identification
- Flags
- Fragment Offset
- Time to Live
- Protocol
- Header Checksum
- Source IP Address
- Destination IP Address
- IP Options

2.IP字段
分片
分片:当数据包比链路MTU大时,就可以被分解为很多的足够小片段。
TTL:Time to Live,生存时间
- 防止IP数据包在网络内无休止地传输
- 每经过一次路由TTL值就会减1
- 当TTL=0地时候,丢弃数据包



协议号
- 用于标识上层协议

3.IP地址
- 在IP网络中,通信节点需要一个IP地址
- 以点分十进制表示,由32位组成
- 分为网络位和主机位两部分:
- 网络位,代表IP地址所属的网段
- 主机位,代表网段上的某个节点
- 由子网掩码决定分界点

IP地址分类
根据第一组八位二进制
边栏推荐
- Jz-061-serialized binary tree
- 使用Matplotlib绘制图表初步
- Animation synchronization of CarSim real-time simulation
- E-R draw clear content
- Specification for package drawing
- OpenCV3 6.3 用滤波器进行缩减像素采样
- Opencv3 6.3 reduced pixel sampling with filters
- SQL server如何卸载干净
- Several methods of image enhancement and matlab code
- One of the reasons for WCF update service reference error
猜你喜欢

Carsim problem failed to start Solver: Path Id Obj (X) was set to y; Aucune valeur de correction de xxxxx?

Development of digital collection trading website development of metauniverse digital collection

W10 is upgraded to W11 system, but the screen is black, but the mouse and desktop shortcuts can be used. How to solve it

Using transformer for object detection and semantic segmentation

Specification for package drawing

SQLyog远程连接centos7系统下的MySQL数据库

Sqlyog remote connection to MySQL database under centos7 system

Implementation of bidirectional linked list (simple difference, connection and implementation between bidirectional linked list and unidirectional linked list)

OpenCV3 6.2 低通滤波器的使用

Matlab数学建模工具
随机推荐
旋转链表(图解说明)
力扣每日一题刷题总结:字符串篇(持续更新)
The internal network of the server can be accessed, but the external network cannot be accessed
Carsim-路面3D形状文件参数介绍
C语言的库函数
Erase method in string
Common shortcut keys of Jupiter notebook (you can also view it by pressing h in command mode)
What are the platforms for selling green label domain names? What is the green label domain name like?
Summary of one question per day: linked list (continuously updated)
DWORD ptr[]
王-课外单词
How to wrap qstring strings
Array and string processing, common status codes, differences between PHP and JS (JS)
学习写文章格式
常量指针和指针常量
Causes of laptop jam
Multi site high availability deployment
Use of opencv3 6.2 low pass filter
Backup, recovery and repair of XFS file system
Opencv3 6.3 reduced pixel sampling with filters