当前位置:网站首页>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地址分类
根据第一组八位二进制
边栏推荐
- Introduction to parameters of CarSim pavement 3D shape file
- Opencv3 6.3 reduced pixel sampling with filters
- Chinese garbled code under vscade
- 常量指针和指针常量
- 多站点高可用部署
- SQL操作数据库语法
- Global and Chinese markets for conventional rubber track 2022-2028: Research Report on technology, participants, trends, market size and share
- 【无标题】
- 力扣每日一题刷题总结:二叉树篇(持续更新)
- C language implements XML generation and parsing library (XML extension)
猜你喜欢

How to wrap qstring strings

MySQL优化

Linked list classic interview questions (reverse the linked list, middle node, penultimate node, merge and split the linked list, and delete duplicate nodes)

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

Generate database documents with one click, which can be called swagger in the database industry

Use the kaggle training model and download your own training model

On the confrontation samples and their generation methods in deep learning

旋转链表(图解说明)

Target detection for long tail distribution -- balanced group softmax

Method recursion (Fibonacci sequence, frog jumping steps, tower of Hanoi problem)
随机推荐
VS Code配置问题
简易打包工具的安装与使用
Smart agriculture solutions smart agriculture system development
Organigramme des activités
Use the kaggle training model and download your own training model
Constant pointer and pointer constant
Matlab-其它
Data reverse attack under federated learning -- gradinversion
Short video with goods source code, double-click to zoom in when watching the video
On November 24, we celebrate the "full moon"
Use of opencv3 6.2 low pass filter
Several methods of image enhancement and matlab code
16: 00 interview, came out at 16:08, the question is really too
AR system summary harvest
我的vim配置文件
Matlab数学建模工具
C语言实现XML生成解析库(XML扩展)
OpenCV常用方法出处链接(持续更新)
The best blog to explain the basics of compilation (share)
Summary of one question per day: linked list (continuously updated)