当前位置:网站首页>What are IPV4 and IPV6?
What are IPV4 and IPV6?
2022-08-02 15:29:00 【The stars have a meal】
Directory
First, write it in front
Binary
Binary only has 0 or 1, and every 2 will carry over. The comparison table is as follows
For example:
255=128=64+32+16+8+4+2+1
So the binary of 255 in decimal is eight 1s: 11111111
IPV4 address introduction
IPV4 address is composed of 4 groups of 8-bit binary, each group's decimal number range is 0 to 255
IP: network number + host number
IP addresses are divided into A, B, C,Classes D, E, D and E are special classes
In order to solve the unreasonable IP allocation caused by simple classification, the subnet mask was born
The subnet mask is actually used to distinguish the network number and the host number, and can be used to indicate that the following four IP addresses belong to the same network
> First convert the decimal to binary, use 1 to lock the same number of digits, and use 0 to represent different digits
The subnet mask is as follows:
Then convert the binary number to decimal, so the subnet mask is 255.255.255.252
We can clearly know the network number by putting the subnet mask and ip address togetherand host number boundaries
CIRD
There are several 1s in the subnet mask, so we can directly use '/(number of 1)' to represent the subnet mask
That is to say, we can use 192.168.0.0/30 to represent the above 4host numbers are in the same network
Second, the difference between IPV4 and IPV6
hex
Hexadecimal and decimal conversion
The difference between IPV4 and IPV6
1. Performance
Compared with IPv4, IPv6 increases the address length from 32 bits to 128 bits, which can support more address requirements.Moreover, the coding of IPv6 addresses adopts a hierarchical hierarchical structure similar to CIDR, which simplifies routing and speeds up routing.
2. Simplification of header format
IPv4 has a variable length of 20 to 60 bytes according to the IP options provided; while IPv6 has a fixed length of 40 bytes, and the header is simpler than IPv4.Also, IPv4 headers may come with various options, but IPv6 headers have no options, but add additional extension headers (optional, which contain hop-by-hop extensions, routes, fragments, and destinations, etc.), greatly reducing packet processingand header bandwidth overhead.
Compared with IPV4, IPV6 changes DiffServ toTraffic class, the total length is changed to the payload length, the TTL is changed to the hop limit, and the protocol is changed to the next header
The first 64 bits of IPV6 are the network part, and the last 64 bits are the interface ID
3. Cybersecurity
For IPv4, Internet Security Protocol (IPsec) is optional, but not necessarily free, and some require paid support; but for IPv6, Internet Security Protocol is required.Additionally, things like authentication, data consistency, and confidentiality were added to IPv6.
In this way, the design of IPV6 does consider many security issues, but there are still many security issues in practical applications, and it is not clear which is more secure than which one
4. Address Type

边栏推荐
- Win11 computer off for a period of time without operating network how to solve
- 二叉树遍历之后序遍历(非递归、递归)入门详解
- SQL的通用语法和使用说明(图文)
- Please make sure you have the correct access rights and the repository exists. Problem solved
- Network Security Packet Capture
- 单端K总线收发器DP9637兼容L9637
- Win7怎么干净启动?如何只加载基本服务启动Win7系统
- 系统线性、时不变、因果判断
- FP7195芯片PWM转模拟调光至0.1%低亮度时恒流一致性的控制原理
- Open the door of power and electricity "Circuit" (2): Power Calculation and Judgment
猜你喜欢

FP7195芯片PWM转模拟调光至0.1%低亮度时恒流一致性的控制原理

MATLAB绘图命令fimplicit绘制隐函数图形入门详解

Win11 keeps popping up User Account Control how to fix it

【STM32学习1】基础知识与概念明晰

网络安全抓包

yolov5官方代码解读——前向传播

Installation and configuration of Spark and related ecological components - quick recall

Spark及相关生态组件安装配置——快速回忆

flink+sklearn——使用jpmml实现flink上的机器学习模型部署

MATLAB绘图函数plot详解
随机推荐
casbin模型
BLE蓝牙5.2-PHY6222系统级芯片(SoC)智能手表/手环
What should I do if Windows 10 cannot connect to the printer?Solutions for not using the printer
Installation and configuration of Spark and related ecological components - quick recall
Win10电脑不能读取U盘怎么办?不识别U盘怎么解决?
基于最小二乘法的线性回归分析方程中系数的估计
Spark及相关生态组件安装配置——快速回忆
FP6195耐压60V电流降压3.3V5V模块供电方案
Impressions of Embrace Jetpack
What is Win10 God Mode for?How to enable God Mode in Windows 10?
How to solve Win11 without local users and groups
2022TI杯D题混沌信号产生实验装置
Win11没有本地用户和组怎么解决
推开机电的大门《电路》(一):电压,电流,参考方向
SQL的通用语法和使用说明(图文)
FP5139电池与适配器供电DC-DC隔离升降压电路反激电路电荷泵电路原理图
Win11系统找不到dll文件怎么修复
flink+sklearn——使用jpmml实现flink上的机器学习模型部署
如何用硬币模拟1/3的概率,以及任意概率?
DP1101兼容CC1101是SUB1GHz无线收发芯片应用于智能家居