id: d7b6adecccc64bb6aea644434defc9b8
parent_id: 
item_type: 1
item_id: 5710b5d743724b568a55f8c9429e8aa6
item_updated_time: 1764345633742
title_diff: "[{\"diffs\":[[1,\"彻底打通IPv4与IPv6！NAT64双向互访配置终极指南\"]],\"start1\":0,\"start2\":0,\"length1\":0,\"length2\":29}]"
body_diff: "[{\"diffs\":[[1,\"<html>\\\r\\\n<head>\\\r\\\n  <title>彻底打通IPv4与IPv6！NAT64双向互访配置终极指南</title>\\\r\\\n  <basefont face=\\\"微软雅黑\\\" size=\\\"2\\\" />\\\r\\\n  <meta http-equiv=\\\"Content-Type\\\" content=\\\"text/html;charset=utf-8\\\" />\\\r\\\n  <meta name=\\\"exporter-version\\\" content=\\\"YXBJ Windows/608924 (zh-CN, DDL); Windows/10.0.0 (Win64); EDAMVersion=V2;\\\"/>\\\r\\\n  <meta name=\\\"content-class\\\" content=\\\"yinxiang.peso.superNote\\\"/>\\\r\\\n  <meta name=\\\"application-data:yinxiang.noteLayout\\\" content=\\\"{\\\"lineSpace\\\":\\\"recommend\\\",\\\"paragraphSpace\\\":\\\"recommend\\\"}\\\"/>\\\r\\\n  <style>\\\r\\\n\\tbody, td {\\\r\\\n\\t  font-family: 微软雅黑;\\\r\\\n\\t  font-size: 12pt;\\\r\\\n\\t}\\\r\\\n  </style>\\\r\\\n</head>\\\r\\\n<body>\\\r\\\n<a name=\\\"42911\\\"></a>\\\r\\\n<h1>彻底打通IPv4与IPv6！NAT64双向互访配置终极指南</h1>\\\r\\\n\\\r\\\n<div><span style=\\\"\\\"><div style=\\\"max-width: 700px;\\\"><p></p><div style=\\\"--en-blockquote: true; box-sizing: border-box; border-left: 3px solid #b4c0cc; background-position: initial initial; background-repeat: initial initial;\\\"><div>原文链接: <a href=\\\"http://mp.weixin.qq.com/s?__biz=Mzg5MTc1MDU5MA==&amp;mid=2247486490&amp;idx=1&amp;sn=e0a81af09c73825fd4b65117663a8716&amp;chksm=ce573fb38c7362567edafecc3d5de35dc7e21d77de3facdc392aa17604846d5f584ac15c8271&amp;mpshare=1&amp;scene=1&amp;srcid=0525UW6odWhszmjJkNJxdlmX&amp;sharer_shareinfo=4f7c951c36edf02b1f106d9b5dd4de73&amp;sharer_shareinfo_first=4f7c951c36edf02b1f106d9b5dd4de73#rd\\\"><span>http://mp.weixin.qq.com/s?__biz=Mzg5MTc1MDU5MA==&amp;mid=2247486...</span></a></div></div><p></p><div style=\\\"\\\"><div><div><div><span style=\\\"\\\">原创</span><span> 网络工程师之路 </span><span><a style=\\\"\\\"> 网络工程师之路 </a></span><span><em></em></span></div><div style=\\\"\\\"><p style=\\\"text-indent: 2em;\\\"><span lang=\\\"zh-CN\\\"><span style=\\\"\\\"><span style=\\\"\\\">在改造</span></span></span><span lang=\\\"en-US\\\"><span style=\\\"\\\"><span style=\\\"\\\">ipv6</span></span></span><span lang=\\\"zh-CN\\\"><span style=\\\"\\\"><span style=\\\"\\\">的场景中，很多时候我们还是希望能和之前的</span></span></span><span lang=\\\"en-US\\\"><span style=\\\"\\\"><span style=\\\"\\\">ipv4</span></span></span><span lang=\\\"zh-CN\\\"><span style=\\\"\\\"><span style=\\\"\\\">地址之间能够实现双向互通，而不是单向能访问。这时候就需我们在规划和配置</span></span></span><span lang=\\\"en-US\\\"><span style=\\\"\\\"><span style=\\\"\\\">ipv6</span></span></span><span lang=\\\"zh-CN\\\"><span style=\\\"\\\"><span style=\\\"\\\">地址的时候特别注意了。利用</span></span></span><span lang=\\\"en-US\\\"><span style=\\\"\\\"><span style=\\\"\\\">NAT64</span></span></span><span lang=\\\"zh-CN\\\"><span style=\\\"\\\"><span style=\\\"\\\">的特殊机制，其实也是可以实现双向互通的。</span></span></span></p><div><div style=\\\"width: 100%; display: flex;\\\"><div style=\\\"display: grid;\\\"><div style=\\\"background: linear-gradient(90deg, #E05D4C 0%, #FFE279 22%, #A7FF75 45%, #58EEEA 69%, #39A9F1 100%); border-radius: 19px; z-index: 1;\\\"><div style=\\\"background: #121214; border-radius: 19px; text-align: center; display: flex;\\\"><div style=\\\"text-align: center;\\\"><p style=\\\"font-weight: bold; color: #000;\\\"><span>IPV4和IPV6转换原理</span></p></div><div style=\\\"width: 10px; height: 10px; transform: rotate(45deg); border-top: 1px solid #fff; border-right: 1px solid #fff;\\\"><span><br/></span></div></div></div><div style=\\\"width: 100%; height: 100%; background: linear-gradient(90deg, rgba(224, 93, 76, 0.48) 0%, rgba(255, 226, 121, 0.48) 22%, rgba(167, 255, 117, 0.48) 45%, rgba(88, 238, 234, 0.48) 69%, rgba(57, 169, 241, 0.48) 100%); -webkit-filter: blur(6px); transform: translateX(-100.1%) scale(1.02); border-radius: 24px;\\\"><span><br/></span></div></div></div></div><p style=\\\"text-align: left;\\\"><span style=\\\"\\\"><span style=\\\"font-weight: bold;\\\">一、IPv6到IPv4转换（目标地址）</span></span></p><div style=\\\"width: 100%;\\\"><div style=\\\"width: 100%; display: flex;\\\"><div style=\\\"width: 100%; background: #2C2C2C;\\\"><div style=\\\"width: 100%; display: flex;\\\"><div style=\\\"width: 15px; height: 5px; display: flex;\\\"><img src=\\\":/15b64a2734664191be0b46d8589a8cd2\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks: %7B%22align%22%3A%22center%22%7D; height: auto; width: auto;\\\" width=\\\"auto\\\"/></div></div><div style=\\\"text-align: left;\\\"><span style=\\\"color: #000; background-color: rgb(44, 44, 44);\\\"><span style=\\\"font-weight: bold;\\\">前缀匹配：</span><span style=\\\"font-weight: normal;\\\">NAT64网关识别目标IPv6地址中的预定义前缀（如知名的前缀 64:ff9b::/96）。</span></span></div><div style=\\\"text-align: left;\\\"><span style=\\\"color: #000; background-color: rgb(44, 44, 44);\\\"><span style=\\\"font-weight: bold;\\\">提取IPv4地址：</span><span style=\\\"font-weight: normal;\\\">从IPv6地址的后32位中提取嵌入的IPv4地址。</span></span></div><div style=\\\"text-align: left;\\\"><span style=\\\"color: #000; background-color: rgb(44, 44, 44);\\\"><span style=\\\"font-weight: bold;\\\">示例：</span><span style=\\\"font-weight: normal;\\\">IPv6地址 2001::1401:101 的后32位为 14010101，转换为IPv4地址 20.1.1.1。</span></span></div><div style=\\\"text-align: left;\\\"><span style=\\\"color: #000; background-color: rgb(44, 44, 44);\\\"><span style=\\\"font-weight: bold;\\\">转换方法：</span><span style=\\\"font-weight: normal;\\\">将32位十六进制值按每8位一组转换为十进制（14→20, 01→1, 01→1, 01→1）。</span></span></div><div style=\\\"width: 100%; display: flex;\\\"><div style=\\\"width: 15px; height: 5px; display: flex; transform: rotateY(180deg);\\\"><img src=\\\":/adfd78dd4df842c59bf0edb37ffd8fa6\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks: %7B%22align%22%3A%22center%22%7D; height: auto; width: auto;\\\" width=\\\"auto\\\"/></div></div></div></div></div><p style=\\\"text-indent: 0; text-align: left;\\\"><span style=\\\"\\\"><span style=\\\"font-weight: bold;\\\">二、IPv4到IPv6转换（源地址）</span></span></p><div><div style=\\\"width: 100%;\\\"><div style=\\\"width: 100%; display: flex;\\\"><div style=\\\"width: 100%; background: #2C2C2C;\\\"><div style=\\\"width: 100%; display: flex;\\\"><div style=\\\"width: 100%; height: 1px; border-top: 1px solid #FFFFFF;\\\"><span><br/></span></div><div style=\\\"width: 15px; height: 5px; display: flex;\\\"><img src=\\\":/b2ba68f5cc2c44249667b49a5f843b32\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks: %7B%22align%22%3A%22center%22%7D; height: auto; width: auto;\\\" width=\\\"auto\\\"/></div></div><div style=\\\"display: flex; width: 100%; background: rgb(44, 44, 44); text-align: left;\\\"><span style=\\\"color: #000; background-color: rgb(44, 44, 44);\\\"><span style=\\\"font-weight: bold;\\\">地址合成：</span><span style=\\\"font-weight: normal;\\\">NAT64将IPv4源地址嵌入到预定义的IPv6前缀后。</span></span></div><div style=\\\"display: flex; width: 100%; background: rgb(44, 44, 44); text-align: left;\\\"><span style=\\\"color: #000; background-color: rgb(44, 44, 44);\\\"><span style=\\\"font-weight: bold;\\\">示例：</span><span style=\\\"font-weight: normal;\\\">以前缀2010::/96为例，IPv4地址 192.168.1.2 转换为 2010::c0a8:102。</span></span></div><div style=\\\"display: flex; width: 100%; background: rgb(44, 44, 44); text-align: left;\\\"><span style=\\\"color: #000; background-color: rgb(44, 44, 44);\\\"><span style=\\\"font-weight: bold;\\\">格式规则：</span><span style=\\\"font-weight: normal;\\\">IPv4地址的每个八位组转为十六进制，拼接成32位后附加到前缀末尾。</span></span></div><div style=\\\"width: 100%; display: flex;\\\"><div style=\\\"width: 15px; height: 5px; display: flex; transform: rotateY(180deg);\\\"><img src=\\\":/d496fdf17bdd41ee9341c3b4686739d0\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks: %7B%22align%22%3A%22center%22%7D; height: auto; width: auto;\\\" width=\\\"auto\\\"/></div><div style=\\\"width: 100%; height: 1px; border-top: 1px solid #FFFFFF;\\\"><span><br/></span></div></div></div></div></div></div><p style=\\\"text-indent: 0; text-align: left;\\\"><span style=\\\"\\\"><span style=\\\"font-weight: bold;\\\">三、前缀类型</span></span></p><div><div style=\\\"width: 100%;\\\"><div style=\\\"width: 100%; display: flex;\\\"><div style=\\\"width: 100%; background: #2C2C2C;\\\"><div style=\\\"width: 100%; display: flex;\\\"><div style=\\\"width: 100%; height: 1px; border-top: 1px solid #FFFFFF;\\\"><span><br/></span></div><div style=\\\"width: 15px; height: 5px; display: flex;\\\"><img src=\\\":/8c41978410974af3968964c3b2710046\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks: %7B%22align%22%3A%22center%22%7D; height: auto; width: auto;\\\" width=\\\"auto\\\"/></div></div><div style=\\\"display: flex; width: 100%; background: rgb(44, 44, 44); text-align: left;\\\"><span style=\\\"color: #000; background-color: rgb(44, 44, 44);\\\"><span style=\\\"font-weight: bold;\\\">/96前缀（常用）：</span><span style=\\\"font-weight: normal;\\\">直接附加IPv4的32位地址，如知名前缀64:ff9b::/96。</span></span></div><div style=\\\"display: flex; width: 100%; background: rgb(44, 44, 44); text-align: left;\\\"><span style=\\\"color: #000; background-color: rgb(44, 44, 44);\\\"><span style=\\\"font-weight: bold;\\\">其他前缀长度：</span><span style=\\\"font-weight: normal;\\\">根据RFC 6052，前缀长度可能为/32、/40、/48等，IPv4地址嵌入位置不同（需填充中间位）。</span></span></div><div style=\\\"width: 100%; display: flex;\\\"><div style=\\\"width: 15px; height: 5px; display: flex; transform: rotateY(180deg);\\\"><img src=\\\":/ecacf9f2f6184927a33a76197e2f17f7\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks: %7B%22align%22%3A%22center%22%7D; height: auto; width: auto;\\\" width=\\\"auto\\\"/></div><div style=\\\"width: 100%; height: 1px; border-top: 1px solid #FFFFFF;\\\"><span><br/></span></div></div></div></div></div></div><div><div style=\\\"width: 100%; display: flex;\\\"><div style=\\\"display: grid;\\\"><div style=\\\"background: linear-gradient(90deg, #E05D4C 0%, #FFE279 22%, #A7FF75 45%, #58EEEA 69%, #39A9F1 100%); border-radius: 19px; z-index: 1;\\\"><div style=\\\"background: #121214; border-radius: 19px; text-align: center; display: flex;\\\"><div style=\\\"text-align: center;\\\"><p style=\\\"font-weight: bold; color: #000;\\\"><span>实验举例</span></p></div><div style=\\\"width: 10px; height: 10px; transform: rotate(45deg); border-top: 1px solid #fff; border-right: 1px solid #fff;\\\"><span><br/></span></div></div></div><div style=\\\"width: 100%; height: 100%; background: linear-gradient(90deg, rgba(224, 93, 76, 0.48) 0%, rgba(255, 226, 121, 0.48) 22%, rgba(167, 255, 117, 0.48) 45%, rgba(88, 238, 234, 0.48) 69%, rgba(57, 169, 241, 0.48) 100%); -webkit-filter: blur(6px); transform: translateX(-100.1%) scale(1.02); border-radius: 24px;\\\"><span><br/></span></div></div></div></div><div><div style=\\\"display: flex;\\\"><div style=\\\"\\\"><div style=\\\"background: #CED2FF; border-radius: 7px; border: 1px solid #131415;\\\"><div style=\\\"display: flex; background: #FFFFFF; border-radius: 7px; border: 1px solid #131415; transform: translate(-1px, -1px);\\\"><div style=\\\"text-align: left; background: #CED2FF; border-radius: 40px 100px 100px 40px; border-right: 1px solid #131415;\\\"><p style=\\\"font-size: 20px; font-weight: bold; color: #131415; letter-spacing: 1px;\\\"><span>01</span></p></div><div style=\\\"text-align: left;\\\"><p style=\\\"font-weight: bold; color: #131415; letter-spacing: 1px; word-break: break-all;\\\"><span>拓扑图和需求</span></p></div></div></div></div></div></div><div style=\\\"text-indent: 0px;\\\"><span style=\\\"\\\"><span style=\\\"\\\">在本拓扑图中，左边为ipv4环境，右边为ipv6环境，需要ipv4和ipv6能互相通，在R2设备上做转换。</span></span></div><div style=\\\"text-align: center;\\\"><img src=\\\":/29a65100b4f044ec86f3b3175127b605\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks: %7B%22align%22%3A%22center%22%7D; height: auto; width: auto;\\\" width=\\\"auto\\\"/></div><div><div style=\\\"display: flex;\\\"><div style=\\\"\\\"><div style=\\\"background: #CED2FF; border-radius: 7px; border: 1px solid #131415;\\\"><div style=\\\"display: flex; background: #FFFFFF; border-radius: 7px; border: 1px solid #131415; transform: translate(-1px, -1px);\\\"><div style=\\\"text-align: left; background: #CED2FF; border-radius: 40px 100px 100px 40px; border-right: 1px solid #131415;\\\"><p style=\\\"font-size: 20px; font-weight: bold; color: #131415; letter-spacing: 1px;\\\"><span>02</span></p></div><div style=\\\"text-align: left;\\\"><p style=\\\"font-weight: bold; color: #131415; letter-spacing: 1px; word-break: break-all;\\\"><span>R2关键配置</span></p></div></div></div></div></div></div><div><div style=\\\"width: 100%;\\\"><div style=\\\"width: 100%; display: flex;\\\"><div style=\\\"width: 100%; background: #2C2C2C;\\\"><div style=\\\"width: 100%; display: flex;\\\"><div style=\\\"width: 100%; height: 1px; border-top: 1px solid #FFFFFF;\\\"><span><br/></span></div><div style=\\\"width: 15px; height: 5px; display: flex;\\\"><img src=\\\":/674ea9a653df46f582b6879f6e7691fc\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks: %7B%22align%22%3A%22center%22%7D; height: auto; width: auto;\\\" width=\\\"auto\\\"/></div></div><div><span style=\\\"color: #000; background-color: rgb(44, 44, 44);\\\">//创建acl，匹配需要转换的网段地址</span></div><div><span style=\\\"color: #000; background-color: rgb(44, 44, 44);\\\">ip access-list extended 1001 </span></div><div><span style=\\\"color: #000; background-color: rgb(44, 44, 44);\\\">20 permit ip any 10.1.1.0 0.0.0.255</span></div><div><span style=\\\"color: #000; background-color: rgb(44, 44, 44);\\\">30 permit ip 10.1.1.0 0.0.0.255 any</span></div><div><span style=\\\"color: #000; background-color: rgb(44, 44, 44);\\\">exit</span></div><div><span style=\\\"color: #000; background-color: rgb(44, 44, 44);\\\">interface vlan1</span></div><div><span style=\\\"color: #000; background-color: rgb(44, 44, 44);\\\">ip address 192.168.1.1 255.255.255.0</span></div><div><span style=\\\"color: #000; background-color: rgb(44, 44, 44);\\\">nat64 enable  //开启nat64</span></div><div><span style=\\\"color: #000; background-color: rgb(44, 44, 44);\\\">exit</span></div><div><span style=\\\"color: #000; background-color: rgb(44, 44, 44);\\\">interface vlan2</span></div><div><span style=\\\"color: #000; background-color: rgb(44, 44, 44);\\\">ipv6 enable</span></div><div><span style=\\\"color: #000; background-color: rgb(44, 44, 44);\\\">ipv6 address 2001::a01:101/64</span></div><div><span style=\\\"color: #000; background-color: rgb(44, 44, 44);\\\">nat64 enable</span></div><div><span style=\\\"color: #000; background-color: rgb(44, 44, 44);\\\">exit</span></div><span style=\\\"color: #000; background-color: rgb(44, 44, 44);\\\">//设置nat64前缀网段</span><div><span style=\\\"color: #000; background-color: rgb(44, 44, 44);\\\">nat64 prefix 2010::/96  </span></div><div><span style=\\\"color: #000; background-color: rgb(44, 44, 44);\\\">//关联acl1001和nat64 v4v6 destination规则</span></div><div><span style=\\\"color: #000; background-color: rgb(44, 44, 44);\\\">nat64 v4v6 destination list 1001 prefix 2001::/96</span></div><div><span style=\\\"color: #000; background-color: rgb(44, 44, 44);\\\">ip route 1.1.1.1 255.255.255.255 192.168.1.2</span></div><div style=\\\"width: 100%; display: flex;\\\"><div style=\\\"width: 15px; height: 5px; display: flex; transform: rotateY(180deg);\\\"><img src=\\\":/9aed825c0d0b4da8b62c22948fe23415\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks: %7B%22align%22%3A%22center%22%7D; height: auto; width: auto;\\\" width=\\\"auto\\\"/></div><div style=\\\"width: 100%; height: 1px; border-top: 1px solid #FFFFFF;\\\"><span><br/></span></div></div></div></div></div></div><div><div style=\\\"display: flex;\\\"><div style=\\\"\\\"><div style=\\\"background: #CED2FF; border-radius: 7px; border: 1px solid #131415;\\\"><div style=\\\"display: flex; background: #FFFFFF; border-radius: 7px; border: 1px solid #131415; transform: translate(-1px, -1px);\\\"><div style=\\\"text-align: left; background: #CED2FF; border-radius: 40px 100px 100px 40px; border-right: 1px solid #131415;\\\"><p style=\\\"font-size: 20px; font-weight: bold; color: #131415; letter-spacing: 1px;\\\"><span>03</span></p></div><div style=\\\"text-align: left;\\\"><p style=\\\"font-weight: bold; color: #131415; letter-spacing: 1px; word-break: break-all;\\\"><span>结果验证</span></p></div></div></div></div></div></div><div><div><div style=\\\"display: flex; width: 100%;\\\"><div style=\\\"display: flex; width: 100%;\\\"><div style=\\\"background: rgb(51, 51, 51); border-width: 1px; border-style: solid; border-color: rgb(51, 51, 51);\\\"><div style=\\\"width: 24px; height: 24px; background: rgb(255, 213, 93); border-width: 1px; border-style: solid; border-color: rgb(51, 51, 51); text-align: center; transform: translate(-3px, -3px); overflow: hidden; white-space: nowrap;\\\"><p style=\\\"font-weight: bold; color: #333;\\\"><span>01</span></p></div></div><div style=\\\"text-align: left;\\\"><div><span style=\\\"color: rgb(0, 0, 0); letter-spacing: 1px; font-weight: bold;\\\">ipv4 ping ipv6地址2001::a01:102</span></div></div></div></div></div></div><div style=\\\"\\\"><img src=\\\":/15138d10a68e4ad7ba7f88373f7e8e61\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" height=\\\"186\\\" style=\\\"--en-marks: %7B%22align%22%3A%22center%22%7D; height: auto; width: auto;\\\" width=\\\"auto\\\"/></div><p style=\\\"text-indent: 0;\\\"><span lang=\\\"zh-CN\\\"><span style=\\\"\\\"><span style=\\\"\\\">数据包在经过</span></span></span><span lang=\\\"en-US\\\"><span style=\\\"\\\"><span style=\\\"\\\">NAT64</span></span></span><span lang=\\\"zh-CN\\\"><span style=\\\"\\\"><span style=\\\"\\\">之后会加上前缀</span></span></span><span lang=\\\"en-US\\\"><span style=\\\"\\\"><span style=\\\"\\\">2010::/96</span></span></span><span lang=\\\"zh-CN\\\"><span style=\\\"\\\"><span style=\\\"\\\">和</span></span></span><span lang=\\\"en-US\\\"><span style=\\\"\\\"><span style=\\\"\\\">ipv4</span></span></span><span lang=\\\"zh-CN\\\"><span style=\\\"\\\"><span style=\\\"\\\">地址相结合，</span></span></span><span lang=\\\"en-US\\\"><span style=\\\"\\\"><span style=\\\"\\\">2010::c0a8:102</span></span></span><span lang=\\\"zh-CN\\\"><span style=\\\"\\\"><span style=\\\"\\\">对应到去掉前缀</span></span></span><span lang=\\\"en-US\\\"><span style=\\\"\\\"><span style=\\\"\\\">ipv4</span></span></span><span lang=\\\"zh-CN\\\"><span style=\\\"\\\"><span style=\\\"\\\">就是</span></span></span><span lang=\\\"en-US\\\"><span style=\\\"\\\"><span style=\\\"\\\">c0a8:102</span></span></span><span lang=\\\"zh-CN\\\"><span style=\\\"\\\"><span style=\\\"\\\">→</span></span></span><span lang=\\\"en-US\\\"><span style=\\\"\\\"><span style=\\\"\\\">192.168.1.2</span></span></span><span lang=\\\"zh-CN\\\"><span style=\\\"\\\"><span style=\\\"\\\">作为源地址，</span></span></span><span lang=\\\"en-US\\\"><span style=\\\"\\\"><span style=\\\"\\\">2001::a01:102</span></span></span><span lang=\\\"zh-CN\\\"><span style=\\\"\\\"><span style=\\\"\\\">去掉前缀</span></span></span><span lang=\\\"en-US\\\"><span style=\\\"\\\"><span style=\\\"\\\">ipv4</span></span></span><span lang=\\\"zh-CN\\\"><span style=\\\"\\\"><span style=\\\"\\\">就是</span></span></span><span lang=\\\"en-US\\\"><span style=\\\"\\\"><span style=\\\"\\\">10.1.1.2</span></span></span><span lang=\\\"zh-CN\\\"><span style=\\\"\\\"><span style=\\\"\\\">作为目的地址。</span></span></span></p><div style=\\\"\\\"><img src=\\\":/f2bbf026ec834e67a481093dfc0fff3d\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" height=\\\"229\\\" style=\\\"--en-marks: %7B%22align%22%3A%22center%22%7D; height: auto; width: auto;\\\" width=\\\"auto\\\"/></div><div><div><div style=\\\"display: flex; width: 100%;\\\"><div style=\\\"display: flex; width: 100%;\\\"><div style=\\\"background: rgb(51, 51, 51); border-width: 1px; border-style: solid; border-color: rgb(51, 51, 51);\\\"><div style=\\\"width: 24px; height: 24px; background: rgb(255, 213, 93); border-width: 1px; border-style: solid; border-color: rgb(51, 51, 51); text-align: center; transform: translate(-3px, -3px); overflow: hidden; white-space: nowrap;\\\"><p style=\\\"font-weight: bold; color: #333;\\\"><span>02</span></p></div></div><div style=\\\"text-align: left;\\\"><div><span style=\\\"color: rgb(0, 0, 0); letter-spacing: 1px; font-weight: bold;\\\">Ipv6地址ping ipv4地址1.1.1.1</span></div></div></div></div></div></div><div style=\\\"\\\"><img src=\\\":/7e4febfb66b04a3f9e4d476df09a8d26\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" height=\\\"162\\\" style=\\\"--en-marks: %7B%22align%22%3A%22center%22%7D; height: auto; width: auto;\\\" width=\\\"auto\\\"/></div><p style=\\\"text-indent: 0;\\\"><span lang=\\\"zh-CN\\\"><span style=\\\"\\\"><span style=\\\"\\\">数据包在经过</span></span></span><span lang=\\\"en-US\\\"><span style=\\\"\\\"><span style=\\\"\\\">NAT64</span></span></span><span lang=\\\"zh-CN\\\"><span style=\\\"\\\"><span style=\\\"\\\">之后会去掉前缀</span></span></span><span lang=\\\"en-US\\\"><span style=\\\"\\\"><span style=\\\"\\\">2010::/96</span></span></span><span lang=\\\"zh-CN\\\"><span style=\\\"\\\"><span style=\\\"\\\">和</span></span></span><span lang=\\\"en-US\\\"><span style=\\\"\\\"><span style=\\\"\\\">ipv4</span></span></span><span lang=\\\"zh-CN\\\"><span style=\\\"\\\"><span style=\\\"\\\">地址相结合，</span></span></span><span lang=\\\"en-US\\\"><span style=\\\"\\\"><span style=\\\"\\\">2001::a01:102</span></span></span><span lang=\\\"zh-CN\\\"><span style=\\\"\\\"><span style=\\\"\\\">对应到去掉前缀</span></span></span><span lang=\\\"en-US\\\"><span style=\\\"\\\"><span style=\\\"\\\">ipv4</span></span></span><span lang=\\\"zh-CN\\\"><span style=\\\"\\\"><span style=\\\"\\\">就是</span></span></span><span lang=\\\"en-US\\\"><span style=\\\"\\\"><span style=\\\"\\\">10.1.1.2</span></span></span><span lang=\\\"zh-CN\\\"><span style=\\\"\\\"><span style=\\\"\\\">作为源地址，</span></span></span><span lang=\\\"en-US\\\"><span style=\\\"\\\"><span style=\\\"\\\">2001::101:101</span></span></span><span lang=\\\"zh-CN\\\"><span style=\\\"\\\"><span style=\\\"\\\">去掉前缀</span></span></span><span lang=\\\"en-US\\\"><span style=\\\"\\\"><span style=\\\"\\\">ipv4</span></span></span><span lang=\\\"zh-CN\\\"><span style=\\\"\\\"><span style=\\\"\\\">就是</span></span></span><span lang=\\\"en-US\\\"><span style=\\\"\\\"><span style=\\\"\\\">1,1,1,1</span></span></span><span lang=\\\"zh-CN\\\"><span style=\\\"\\\"><span style=\\\"\\\">作为目的地址。</span></span></span></p><div style=\\\"\\\"><img src=\\\":/184c7c4bd73c4aecbdc21f1958ae259f\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" height=\\\"229\\\" style=\\\"--en-marks: %7B%22align%22%3A%22center%22%7D; height: auto; width: auto;\\\" width=\\\"auto\\\"/></div><div><div style=\\\"width: 100%; display: flex;\\\"><div style=\\\"display: grid;\\\"><div style=\\\"background: linear-gradient(90deg, #E05D4C 0%, #FFE279 22%, #A7FF75 45%, #58EEEA 69%, #39A9F1 100%); border-radius: 19px; z-index: 1;\\\"><div style=\\\"background: #121214; border-radius: 19px; text-align: center; display: flex;\\\"><div style=\\\"text-align: center;\\\"><p style=\\\"font-weight: bold; color: #000;\\\"><span>注意事项</span></p></div><div style=\\\"width: 10px; height: 10px; transform: rotate(45deg); border-top: 1px solid #fff; border-right: 1px solid #fff;\\\"><span><br/></span></div></div></div><div style=\\\"width: 100%; height: 100%; background: linear-gradient(90deg, rgba(224, 93, 76, 0.48) 0%, rgba(255, 226, 121, 0.48) 22%, rgba(167, 255, 117, 0.48) 45%, rgba(88, 238, 234, 0.48) 69%, rgba(57, 169, 241, 0.48) 100%); -webkit-filter: blur(6px); transform: translateX(-100.1%) scale(1.02); border-radius: 24px;\\\"><span><br/></span></div></div></div></div><p style=\\\"text-indent: 2em;\\\"><span lang=\\\"zh-CN\\\"><span style=\\\"\\\"><span style=\\\"\\\">如果需要进行</span></span></span><span lang=\\\"en-US\\\"><span style=\\\"\\\"><span style=\\\"\\\">web</span></span></span><span lang=\\\"zh-CN\\\"><span style=\\\"\\\"><span style=\\\"\\\">互相访问需求，则需要配合</span></span></span><span lang=\\\"en-US\\\"><span style=\\\"\\\"><span style=\\\"\\\">DNS64</span></span></span><span lang=\\\"zh-CN\\\"><span style=\\\"\\\"><span style=\\\"\\\">使用，当</span></span></span><span lang=\\\"en-US\\\"><span style=\\\"\\\"><span style=\\\"\\\">DNS64</span></span></span><span lang=\\\"zh-CN\\\"><span style=\\\"\\\"><span style=\\\"\\\">检测到无</span></span></span><span lang=\\\"en-US\\\"><span style=\\\"\\\"><span style=\\\"\\\">AAAA</span></span></span><span lang=\\\"zh-CN\\\"><span style=\\\"\\\"><span style=\\\"\\\">记录时，将</span></span></span><span lang=\\\"en-US\\\"><span style=\\\"\\\"><span style=\\\"\\\">A</span></span></span><span lang=\\\"zh-CN\\\"><span style=\\\"\\\"><span style=\\\"\\\">记录的</span></span></span><span lang=\\\"en-US\\\"><span style=\\\"\\\"><span style=\\\"\\\">IPv4</span></span></span><span lang=\\\"zh-CN\\\"><span style=\\\"\\\"><span style=\\\"\\\">地址嵌入</span></span></span><span lang=\\\"en-US\\\"><span style=\\\"\\\"><span style=\\\"\\\">IPv6</span></span></span><span lang=\\\"zh-CN\\\"><span style=\\\"\\\"><span style=\\\"\\\">地址，触发</span></span></span><span lang=\\\"en-US\\\"><span style=\\\"\\\"><span style=\\\"\\\">NAT64</span></span></span><span lang=\\\"zh-CN\\\"><span style=\\\"\\\"><span style=\\\"\\\">转换。</span></span></span></p><div><div><div style=\\\"border-style: solid; border-width: 2px;\\\"><div style=\\\"border-style: dashed; border-width: 1px;\\\"><div style=\\\"text-align: center;\\\"><img src=\\\":/e50ce3f5c3e142cc9b1e44c4dbd0d732\\\" type=\\\"image/gif\\\" data-filename=\\\"640.gif\\\" style=\\\"--en-marks: %7B%22align%22%3A%22center%22%7D; width: auto; height: auto;\\\" width=\\\"auto\\\"/></div><p style=\\\"text-align: justify; letter-spacing: 1.5px;\\\"><span style=\\\"color: #888888;\\\"><span>●</span></span><span style=\\\"color: #888888;\\\"><span><a href=\\\"https://mp.weixin.qq.com/s?__biz=Mzg5MTc1MDU5MA==&amp;mid=2247486471&amp;idx=1&amp;sn=3103ed262e77c9eec52c7dedcea7dee7&amp;scene=21#wechat_redirect\\\" style=\\\"\\\" target=\\\"_blank\\\">外网用IPv4访问公司IPv6服务器，V6server就这么简单！</a></span></span></p><p style=\\\"text-align: justify; letter-spacing: 1.5px;\\\"><span style=\\\"color: #888888;\\\"><span>●</span></span><span style=\\\"color: #888888;\\\"><span><a href=\\\"https://mp.weixin.qq.com/s?__biz=Mzg5MTc1MDU5MA==&amp;mid=2247486451&amp;idx=1&amp;sn=2dbe64e8955a734cd27caec0816a2cc1&amp;scene=21#wechat_redirect\\\" style=\\\"\\\" target=\\\"_blank\\\">企业IPv6改造完成，外网却卡在IPv4？3步搞定NAT64互通！</a></span></span></p><p style=\\\"\\\"><span style=\\\"color: #888888;\\\"><span>●</span></span><span style=\\\"color: #888888;\\\"><span><a href=\\\"https://mp.weixin.qq.com/s?__biz=Mzg5MTc1MDU5MA==&amp;mid=2247486435&amp;idx=1&amp;sn=cc5781eb0cc4a8b4364e7d3e5d4c97af&amp;scene=21#wechat_redirect\\\" style=\\\"\\\" target=\\\"_blank\\\">为什么客户交换机要用子接口替代VLANIF实现高效组网？</a></span></span></p><p style=\\\"\\\"><span style=\\\"color: #888888;\\\"><span>●<a href=\\\"https://mp.weixin.qq.com/s?__biz=Mzg5MTc1MDU5MA==&amp;mid=2247486424&amp;idx=1&amp;sn=1adced5639d78c1af900f5b505ac1543&amp;scene=21#wechat_redirect\\\" style=\\\"\\\" target=\\\"_blank\\\">光纤到户了，家庭宽带为啥还在使用PPPoE拨号上网？</a></span></span></p></div></div></div></div></div></div></div></div></div></span>\\\n</div></body></html>\\u0000\"]],\"start1\":0,\"start2\":0,\"length1\":0,\"length2\":24184}]"
metadata_diff: {"new":{"id":"5710b5d743724b568a55f8c9429e8aa6","parent_id":"f67288c3a0be4374b5d532b5dcc3aabc","latitude":"0.00000000","longitude":"0.00000000","altitude":"0.0000","author":"","source_url":"","is_todo":0,"todo_due":0,"todo_completed":0,"source":"joplin-desktop","source_application":"net.cozic.joplin-desktop","application_data":"","order":1764348851710,"markup_language":2,"is_shared":0,"share_id":"","conflict_original_id":"","master_key_id":"","user_data":"","deleted_time":0},"deleted":[]}
encryption_cipher_text: 
encryption_applied: 0
updated_time: 2025-11-28T21:04:34.986Z
created_time: 2025-11-28T21:04:34.986Z
type_: 13