当前位置:网站首页>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地址分类
根据第一组八位二进制
边栏推荐
- One of the reasons for WCF update service reference error
- [dynamic planning] p4170: coloring (interval DP)
- Introduction to parameters of CarSim pavement 3D shape file
- Global and Chinese market of medicine cabinet 2022-2028: Research Report on technology, participants, trends, market size and share
- Global and Chinese market of electric cheese grinder 2022-2028: Research Report on technology, participants, trends, market size and share
- OpenCV关于x,y坐标容易混淆的心得
- Carsim-实时仿真的动画同步问题
- Sqlyog remote connection to MySQL database under centos7 system
- C语言实现XML生成解析库(XML扩展)
- 力扣每日一题刷题总结:二叉树篇(持续更新)
猜你喜欢

Use of OpenCV 6.4 median filter

OpenCV3 6.2 低通滤波器的使用

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

Array and string processing, common status codes, differences between PHP and JS (JS)

樂理基礎(簡述)

Rotating linked list (illustration)

MySQL优化

Carla-UE4Editor导入RoadRunner地图文件(保姆级教程)

2022 Heilongjiang's latest eight member (Safety Officer) simulated test question bank and answers

Use C language to receive JSON strings
随机推荐
CarSim problem failed to start solver: path_ ID_ OBJ(X) was set to Y; no corresponding value of XXXXX?
Implementation of bidirectional linked list (simple difference, connection and implementation between bidirectional linked list and unidirectional linked list)
Introduction to parameters of CarSim pavement 3D shape file
Sequence problem for tqdm and print
Meta learning Brief
Static library and dynamic library
关于原型图的深入理解
OpenCV常用方法出处链接(持续更新)
Live broadcast platform development, flexible menu, and freely adjust the horizontal size of the menu bar
Array and string processing, common status codes, differences between PHP and JS (JS)
In depth understanding of prototype drawings
Use of OpenCV 6.4 median filter
笔记本电脑卡顿问题原因
Wang extracurricular words
使用Matplotlib绘制图表初步
静态库和动态库
Learn to write article format
Longest isometric subsequence
Method recursion (Fibonacci sequence, frog jumping steps, tower of Hanoi problem)
Dynamic extensible representation for category incremental learning -- der