当前位置:网站首页>IPv6 Foundation
IPv6 Foundation
2022-07-29 10:56:00 【51CTO】
One ,IPV6 Reasons for appearance ?
We all know IP The address is the unique identification of the host in the Internet ,IP It is also the core protocol in the Internet , But now use IPV4 yes 20 century 70 Designed in the late S , Up to now IPV4 The address is exhausted , That is to say, no new IP Address block , Therefore, this problem needs to be solved , It would not have been IPV6, Our teacher said , The amount of sand on earth is equivalent to IPV6 Number of addresses , so , This amount , But the future may also face the same crisis , This is not in the scope of our thinking
IPV6 Is a new version with a larger space address IP
Two ,IPV6
Message format
IPV6 and IPV4 The difference between
IPV6 Major changes introduced :
- Larger address space ,IPV4 yes 32 position ,IPV6 yes 128 position
- The address hierarchy is extended , because IPV6 Increase in length , So it can be divided into larger levels
- Flexible header format ,IPV6 The first and IPV4 Header incompatible , And IPV6 Many optional extension headers are defined , It can not only provide more than IPV4 More features , It can also improve the processing efficiency of the router , The router does not handle the expansion header
- IPV6 The length of the head is fixed , Options in the payload ,IPV4 On the contrary
- IPV6 Protocol extensions can be allowed
- IPV6 Inspection and fields are cancelled , Increased router processing efficiency
- TTL Change to hop limit
Representation
One 、 It's divided into hexadecimal notation
The format is X:X:X:X:X:X:X:X, Each of them X Represents... In the address 16b, In hexadecimal , for example :
ABCD:EF01:2345:6789:ABCD:EF01:2345:6789
In this representation , Every X The leader of 0 It can be omitted , for example :
2001:0DB8:0000:0023:0008:0800:200C:417A→
2001:DB8:0:23:8:800:200C:417A
Two 、0 Bit compression representation
In some cases , One IPv6 The middle of the address may contain a long segment 0, You can put a continuous section of 0 Compress it into “::”. But to ensure the uniqueness of address resolution , In the address ”::” Only once , for example :
FF01:0:0:0:0:0:0:1101 → FF01::1101
0:0:0:0:0:0:0:1 → ::1
0:0:0:0:0:0:0:0 → ::
3、 ... and 、 Embedded IPv4 Address representation
In order to achieve IPv4-IPv6 Interworking ,IPv4 The address will be embedded in IPv6 In the address , In this case, the address is often expressed as :
X:X:X:X:X:X:d.d.d.d, front 96b It is expressed in hexadecimal , And finally 32b The address uses IPv4 Dot decimal representation of , for example ::192.168.0.1 And ::FFFF:192.168.0.1 These are two typical examples , Pay attention to the front 96b in , Compress 0 The bit method still works .
IPV6 Address type classification
1. unicast
Point to point communication
2. multicast
One to many broadcast communication
3. Anycast
A set of computers , But datagrams are only delivered to one of them , And it is usually the nearest

3、 ... and ,IPV4 towards IPV6 transition
1、IPv6/IPv4 Dual stack technology
Double stack mechanism is to make IPv6 The network node has a IPv4 Stack and a IPv6 Stack , Support at the same time IPv4 and IPv6 agreement .IPv6 and IPv4 It is a network layer protocol with similar functions , Both apply to the same physical platform , The transport layer is the same TCP or UDP, If one host supports IPv6 and IPv4 agreement , Then the host can and only support IPv4 or IPv6 Host communication protocol .
2、 Tunnel technology
The tunneling mechanism is that it will IPv6 Packets are encapsulated as data in IPv4 In the packet , send IPv6 Packets can be found in existing IPv4 infrastructure ( Mainly refers to IPv4 Router ) The mechanism of transmission on . With IPv6 The development of , There are some running problems IPv4 The backbone of the protocol is isolated from the local network IPv6 The Internet , In order to achieve these IPv6 Communication between networks , Tunnel technology must be used . The tunnel is transparent to the source site and the destination site , At the entrance to the tunnel , The router will IPv6 The data packets are encapsulated in IPv4 in , The IPv4 The source address and destination address of the packet are at the entrance and exit of the tunnel respectively IPv4 Address , At the tunnel exit , then IPv6 The packet is taken out and forwarded to the destination site . The advantage of tunnel technology lies in the transparency of the tunnel ,IPv6 The communication between hosts can ignore the existence of tunnels , The tunnel only acts as a physical channel . Tunnel technology in IPv4 towards IPv6 The initial application of evolution is very extensive . however , Tunnel technology cannot achieve IPv4 The host and IPv6 Communication between hosts

3、 Network address translation technology (NAT technology )
Network address translation (Network Address Translator,NAT) Technology is to IPv4 Address and IPv6 Address is regarded as internal address and global address respectively , Or vice versa . for example , Inside IPv4 The host should communicate with the external IPv6 Host communication , stay NAT In the server IPv4 Address ( Equivalent to internal address ) Transform into IPv6 Address ( Equivalent to global address ), The server maintains a IPv4 And IPv6 A map of addresses . conversely , When inside IPv6 Host and external IPv4 When the host is communicating , be IPv6 The host is mapped to an internal address ,IPv4 The host is mapped to a global address .NAT Technology can solve IPv4 The host and IPv6 Interworking between hosts

边栏推荐
猜你喜欢

【图像检测】基于灰度图像的积累加权边缘检测方法研究附matlab代码

PHP basics uses arrays to save data

开源峰会抢先看 | 7 月 29 日分论坛 & 活动议程速览

ES6 arrow function this points to

DOD and Dor, two artifacts to reduce "cognitive bias"

8. Interleave - understand ThreadPoolExecutor thread pool from architecture design to practice

专访 | 阿里巴巴首席技术官程立:云 + 开源共同形成数字世界的可信基础

If distributed file storage is realized according to integrated Minio

StarRocks 技术内幕:实时更新与极速查询如何兼得

开源峰会抢先看 | 7月29日分论坛&活动议程速览
随机推荐
Niuke net brush questions
js两个数组对象进行合并去重
学习R语言这几本电子书就够了!
️ 炒 股 实 战丨原 地 起 飞 ️
Zhou Hongyi: 360 is the largest secure big data company in the world
Kunlunbase instruction manual (I) quick installation manual
如何在匹配行之前使用 grep 显示文件名和行号
Less than 10% of the 3 software test interview questions can be answered correctly! How many do you know?
The heavy | open atomic school source activity was officially launched
面试中项目讲解的步骤
[unity, C #] character keyboard input steering and rotation
一文搞懂什么是二叉树(二叉树的种类、遍历方式、定义)
Using Riemann sum to calculate approximate integral in R language
R语言 使用数据集 veteran 进行生存分析
ES6-箭头函数this指向
GBase8s核心数据备份
阿里P8爆出的这份大厂面试指南,看完工资暴涨30k!
Matplotlib Chinese question
Svn revision keyword
8.穿插-从架构设计到实践理解ThreadPoolExecutor线程池