当前位置:网站首页>IPV4的未来替代品!一文读懂IPV6的优势特点和地址类型
IPV4的未来替代品!一文读懂IPV6的优势特点和地址类型
2022-06-22 21:07:00 【最铁头的网工】
为什么要用IPV6?
2011年2月3日,IANA(Internet Assigned Numbers Authority,因特网地址分配组织)宣布将其最后的468万个IPv4地址平均分配到全球5个RIR(Regional Internet Registry,区域互联网注册管理机构),此后IANA再没有可分配的IPv4地址。

1、地址空间巨大:2^128个,每粒沙子都能分配到
2、精简的报文结构,提高效率,IPV4报文各个字段都有用处,但是太复杂了,IPV6精简了报文结构,按需扩展IPV6的表示
3、自动配置和重新编址 不需要DHCP,可自动获取IP
4、支持层次化网络编址 IPV4各大运营商申请的时候不连续,无法汇总。IPV6各大ISP地址段连续,可以更好的层次化编址,方便路由聚合,精简路由表,提高转发效率
5、支持端到端安全,原生支持IPSEC,OSPFv3 (无需验证)加扩展头部
6、移动性支持 类似于WLAN漫游,主机移动到另一个网络IP地址不会改变,IPV6会自动映射成新的网络地址
7、更好的支持Qos ,IPV6增加了流标签,更方便做Qos,流标签定义一个数据流,数据流由五元组生成,之前要看五元组,有了流标签不需要看五元组
与IPv4地址类似,IPv6也用“IPv6地址/掩码长度”的方式来表示IPv6地址。
IPv6地址: 2001:0DB8:2345:CD30:1230:4567:89AB:CDEF/64
一个IPv6地址可以分为如下两部分:
网络前缀:nbit,相当于IPv4地址中的网络ID。
接口标识:(128-n)bit,相当于IPv4地址中的主机ID。
IPv6单播地址示例:2001:0DB8:6101:0001:5ED9:98FF:FECA:A298/64。
IPV6地址类型:
单播地址(Unicast Address):标识一个接口,目的地址为单播地址的报文会被送到被标识的接口。在IPv6中,一个接口拥有多个IPv6地址是非常常见的现象。
组播地址(Multicast Address):标识多个接口,目的地址为组播地址的报文会被送到被标识的所有接口。只有加入相应组播组的设备接口才会侦听发往该组播地址的报文。
任播地址(Anycast Address):任播地址标识一组网络接口(通常属于不同的节点)。目标地址是任播地址的数据包将发送给其中路由意义上最近的一个网络接口。
注意:IPv6没有定义广播地址(Broadcast Address)

边栏推荐
- The breakthrough of key chips hindering Huawei 5g mobile phones has been achieved, and domestic chips have gained 10% share
- 异步FIFO
- 2021-04-16
- 数据库访问工具简介
- 剑指 Offer 07. 重建二叉树
- OJ每日一练——删除单词后缀
- swagger2 使用方法
- Summary of transport layer knowledge points
- [redisson] source code analysis of multilock
- MySQL master-slave synchronization and its basic process of database and table division
猜你喜欢

Do domestic mobile phones turn apples? It turned out that it was realized by 100 yuan machine and sharp price reduction

2021-04-16

企业数字化不是各自发展,而是全面SaaS化推进

C language greedy snake

JSBridge

2021-05-02

2021-04-05

Introduction to database access tools

Experiment 4 operation comparison between NoSQL and relational database

Introduction and example application of PostgreSQL string separator function (regexp\u split\u to\u table)
随机推荐
2020-12-20
tp5.1解决跨域
【Kubernetes 系列】Kubernetes 概述
Enabling partners, major guarantee of Spring Festival "non-stop"
How to continuously improve performance| DX R & D mode
DML:Data Manipulation Language 数据操纵语言
SqlServer 复制表的自增属性
获取鼠标移动的方向
多种方案实现图片的懒加载
2021-03-06
14. 最长公共前缀
LeetCode_ Backtracking_ Dynamic programming_ Medium_ 131. split palindrome string
冒泡排序 指针
Freshman girls' nonsense programming is popular! Those who understand programming are tied with Q after reading
OJ每日一练——删除单词后缀
Redis big key problem
Mysql database design
2020-12-04
保证数据库和缓存的一致性
Relationship between adau1452 development system interface and code data