转换IPv4到IPv6手动 [英] Convert IPv4 to IPv6 manually
问题描述
在读这的文章中,我有一个问题:
After read this article i have a question:
在这个环节exapmle有解释的热转换 192.168.25.234
成等价 IPv6地址
所以在这个例子此地址变成 C0A8:19EA
,它说,这是可以写进以下128位的IPv6链路本地地址:
In the exapmle in this link there is explanation hot to convert 192.168.25.234
into equivalent IPv6 address
so in the example this address become C0A8:19EA
and it says that this can be written into the following 128-Bit IPv6 link-local address:
FE80:0000:0000:0000:0000:0000:C0A8:19EA
或
FE80::C0A8:19EA
所以我的问题是如何 C0A8:19EA
成为 FE80:0000:0000:0000:0000:0000:C0A8:19EA
?
推荐答案
在C0,A8,19和EA都只是192,168,25,并以十六进制显示234。该 FE80
是一个众所周知的preFIX链路本地。其余的是总是所有零在此情况下(或为简明形式:可省略)。串联:完成任务
The C0, A8, 19 and EA are just 192, 168, 25 and 234 displayed in hex. The FE80
is a well-known prefix for link local. The rest is always all zero in this case (or for the terse form: can be omitted). Concatenate: job done.
这篇关于转换IPv4到IPv6手动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!