{"id":1130,"date":"2024-07-21T09:58:53","date_gmt":"2024-07-21T01:58:53","guid":{"rendered":"http:\/\/blue.yn.cn\/?p=1130"},"modified":"2024-07-21T21:17:14","modified_gmt":"2024-07-21T13:17:14","slug":"ipv6%e7%bd%91%e7%bb%9c%e8%bf%87%e6%b8%a1%e6%8a%80%e6%9c%af","status":"publish","type":"post","link":"http:\/\/blue.yn.cn\/?p=1130","title":{"rendered":"IPv6\u7f51\u7edc\u8fc7\u6e21\u6280\u672f"},"content":{"rendered":"<p>\u4ece<code>IPv4<\/code>\u8fc7\u6e21\u5230<code>IPv6<\/code>\u5c31\u50cf\u662f<em>\u6253\u7834\u4e00\u4e2a\u65e7\u4e16\u754c\uff0c\u5f00\u521b\u4e00\u4e2a\u65b0\u672a\u6765<\/em>\uff0c\u6ce8\u5b9a\u8981\u7ecf\u5386\u4e00\u4e2a\u957f\u671f\u7684\u8fc7\u7a0b\uff0c\u4f46\u7ec8\u7a76\u4f1a\u5b9e\u73b0\u3002\u4e3b\u8981\u5bf9\u53cc\u6808\u6280\u672f\u3001\u591a\u79cd\u96a7\u9053\u6280\u672f\u548c\u534f\u8bae\u8f6c\u6362\u6280\u672f\u8fdb\u884c\u4ecb\u7ecd\u3002<\/p>\n<h3>IPv6\u7f51\u7edc\u8fc7\u6e21\u6280\u672f\u7b80\u4ecb<\/h3>\n<h4>IPv6\u8fc7\u6e21\u7684\u969c\u788d<\/h4>\n<p>\u76ee\u524d\u4e92\u8054\u7f51\u4e0a\u8fd8\u662f\u4ee5<code>IPv4<\/code>\u8bbe\u5907\u4e3a\u4e3b\uff0c\u4e0d\u53ef\u80fd\u8fc5\u901f\u8fc7\u6e21\u5230<code>IPv6<\/code>\uff0c\u8fd9\u4e3b\u8981\u53d7\u5236\u4e8e\u4ee5\u4e0b\u51e0\u4e2a\u65b9\u9762\uff1a<\/p>\n<ul>\n<li>\u7f51\u7edc\u4e2d\u4ecd\u6709\u4e9b\u8bbe\u5907\u5c1a\u4e0d\u652f\u6301<code>IPv6<\/code>\uff0c\u77ed\u65f6\u95f4\u5185\u65e0\u6cd5\u5168\u90e8\u66f4\u6362\uff1b<\/li>\n<li>\u7f51\u7edc\u7684\u5347\u7ea7\u6362\u4ee3\u4f1a\u4e2d\u65ad\u73b0\u6709\u7684\u4e1a\u52a1\uff1b<\/li>\n<li>\u6709\u4e9b\u4f20\u7edf\u7684\u5e94\u7528\u57fa\u4e8e<code>IPv4<\/code>\u5f00\u53d1\uff0c\u4e0d\u652f\u6301<code>IPv6<\/code>\uff1b<\/li>\n<li>\u7f3a\u4e4f\u6280\u672f\u4eba\u624d\uff0c\u5f88\u591a\u6280\u672f\u4eba\u5458\u7f3a\u4e4f\u8db3\u591f\u7684<code>IPv6<\/code>\u77e5\u8bc6\uff1b<\/li>\n<li><code>IPv6<\/code>\u5b89\u5168\u76f8\u5173\u7684\u89c4\u8303\u3001\u7b49\u4fdd\u6d4b\u8bc4\u7b49\u6210\u719f\u5ea6\u4e0d\u591f\uff1b<\/li>\n<li>\u4e3b\u89c2\u60f0\u6027\uff0c\u5f97\u8fc7\u4e14\u8fc7\u7684\u601d\u60f3\u3002<\/li>\n<\/ul>\n<p>\u9488\u5bf9\u4e0a\u8ff0\u5b58\u5728\u95ee\u9898\uff1a<\/p>\n<ul>\n<li>\n<p>\u76ee\u524d\u7684\u64cd\u4f5c\u7cfb\u7edf\u57fa\u672c\u652f\u6301<code>IPv6<\/code>\uff0c\u8fd1\u51e0\u5e74\u7684\u4e09\u5c42\u53ca\u4e09\u5c42\u4ee5\u4e0a\u7684\u7f51\u7edc\u8bbe\u5907\uff08\u6bd4\u5982\u4e09\u5c42\u4ea4\u6362\u673a\u3001\u8def\u7531\u5668\u3001\u9632\u706b\u5899\u7b49\uff09\u57fa\u672c\u652f\u6301<code>IPv6<\/code>\u3002\u7f51\u7edc\u4e2d\u4f7f\u7528\u6700\u591a\u7684\u662f\u4e8c\u5c42\u4ea4\u6362\u673a\uff0c\u5f53\u524d\u7684\u65b0\u65e7\u4e8c\u5c42\u4ea4\u6362\u673a\u90fd\u652f\u6301<code>IPv6<\/code>\u3002\u8fd9\u6837\u770b\u6765\uff0c\u8bbe\u5907\u5bf9<code>IPv6<\/code>\u7684\u5236\u7ea6\u6709\u9650\u3002<\/p>\n<\/li>\n<li>\n<p>\u5408\u7406\u7684\u7f51\u7edc\u89c4\u5212\uff0c\u6bd4\u5982\u91c7\u7528\u53cc\u6808\u540c\u65f6\u652f\u6301<code>IPv4<\/code>\u548c<code>IPv6<\/code>\u8bbf\u95ee\uff0c\u6216\u8005\u4f7f\u7528<code>NAT64<\/code>\u4e34\u65f6\u8f6c\u6362\u7b49\uff0c\u8fd9\u6837\u4e1a\u52a1\u4e2d\u65ad\u7684\u65f6\u95f4\u5b8c\u5168\u53ef\u63a7\u3002<\/p>\n<\/li>\n<li>\n<p>\u9488\u5bf9\u5e94\u7528\u4e0d\u652f\u6301<code>IPv6<\/code>\u7684\u60c5\u51b5\uff08\u8fd9\u4e00\u70b9\u662f\u6700\u96be\u89e3\u51b3\u7684\uff09\uff0c\u53ef\u4ee5\u91c7\u7528\u591a\u79cd\u65b9\u6848\uff1a\u4fee\u6539\u5e94\u7528\u7a0b\u5e8f\u4ee3\u7801\u6216\u91cd\u65b0\u5f00\u53d1\uff0c\u4f7f\u4e4b\u652f\u6301<code>IPv6<\/code>\uff08\u5c3d\u7ba1\u8d39\u65f6\u8d39\u529b\uff0c\u4f46\u4e00\u52b3\u6c38\u9038\uff09\uff1b\u91c7\u7528<code>NAT-PT\uff08Network Address Translation-Protocol Translation<\/code>\uff0c\u7f51\u7edc\u5730\u5740\u8f6c\u6362\u2014\u534f\u8bae\u8f6c\u6362\uff09\u6280\u672f\uff0c\u901a\u8fc7\u786c\u4ef6\u6216\u8f6f\u4ef6\u5b9e\u73b0<code>IPv4<\/code>\u548c<code>IPv6<\/code>\u5730\u5740\u4e4b\u95f4\u7684\u8f6c\u6362\uff08\u5e94\u7528\u4e0d\u9700\u505a\u4efb\u4f55\u8c03\u6574\uff0c\u4f46\u672c\u8d28\u4e0a\u4ecd\u662f\u57fa\u4e8e<code>IPv4<\/code>\uff0c\u5c06\u6765\u7ec8\u5c06\u88ab\u6dd8\u6c70\uff09\u3002<\/p>\n<\/li>\n<li>\n<p>\u5b89\u5168\u8bbe\u5907\u5382\u5bb6\u4e5f\u5728\u52a0\u7d27<code>IPv6<\/code>\u76f8\u5173\u4ea7\u54c1\u7684\u7814\u5236\u548c\u5f00\u53d1\uff0c\u76f8\u5173\u7684\u5b89\u5168\u4ea7\u54c1\u548c\u5b89\u5168\u89c4\u8303\u4e5f\u6b63\u5728\u88ab\u4e0d\u65ad\u5b8c\u5584\u3002<\/p>\n<\/li>\n<li>\n<p>\u52a0\u5f3a\u5b66\u4e60\uff0c\u505a\u597d\u77e5\u8bc6\u50a8\u5907\u3002<\/p>\n<\/li>\n<\/ul>\n<h4>IPv6\u8fc7\u6e21\u6280\u672f\u6982\u8ff0<\/h4>\n<p><code>IPv6<\/code>\u8fc7\u6e21\u6280\u672f\u5927\u4f53\u4e0a\u53ef\u4ee5\u5206\u4e3a\u4e09\u7c7b\uff1a<\/p>\n<ul>\n<li>\u53cc\u6808\u6280\u672f\uff1b<\/li>\n<li>\u96a7\u9053\u6280\u672f\uff1b<\/li>\n<li>\u534f\u8bae\u8f6c\u6362\u6280\u672f\u3002<\/li>\n<\/ul>\n<ol>\n<li>\n<p>\u53cc\u6808\u6280\u672f<br \/>\n\u53cc\u6808\u6280\u672f\uff08<code>dual-stack<\/code>\uff09\u662f\u4f7f\u7f51\u7edc\u4e2d\u7684\u8282\u70b9\u540c\u65f6\u652f\u6301<code>IPv4<\/code>\u548c<code>IPv6<\/code>\u534f\u8bae\u6808\u7684\u6280\u672f\uff0c\u5176\u4e2d\u6e90\u8282\u70b9\u6839\u636e\u76ee\u7684\u8282\u70b9\u7684\u4e0d\u540c\u9009\u7528\u4e0d\u540c\u7684\u534f\u8bae\u6808\uff0c\u800c\u7f51\u7edc\u8bbe\u5907\u6839\u636e\u62a5\u6587\u7684\u534f\u8bae\u7c7b\u578b\u9009\u62e9\u4e0d\u540c\u7684\u534f\u8bae\u6808\u8fdb\u884c\u5904\u7406\u548c\u8f6c\u53d1\u3002<br \/>\n\u8fde\u63a5\u53cc\u6808\u7f51\u7edc\u7684\u63a5\u53e3\u5fc5\u987b\u540c\u65f6\u914d\u7f6e<code>IPv4<\/code>\u5730\u5740\u548c<code>IPv6<\/code>\u5730\u5740\u3002<br \/>\n\u53cc\u6808\u6280\u672f\u662f<code>IPv6<\/code>\u8fc7\u6e21\u6280\u672f\u4e2d\u5e94\u7528\u6700\u5e7f\u6cdb\u7684\u4e00\u79cd\uff0c\u96a7\u9053\u6280\u672f\u548c\u534f\u8bae\u8f6c\u6362\u6280\u672f\u7684\u5b9e\u73b0\u4e5f\u9700\u8981\u53cc\u6808\u6280\u672f\u7684\u652f\u6301\u3002<\/p>\n<\/li>\n<li>\n<p>\u96a7\u9053\u6280\u672f<br \/>\n\u96a7\u9053\u6280\u672f\uff08<code>tunnel<\/code>\uff09\u662f\u4e00\u79cd\u5c01\u88c5\u6280\u672f\u3002<br \/>\n\u5b83\u5229\u7528\u4e00\u79cd\u7f51\u7edc\u534f\u8bae\u6765\u4f20\u8f93\u53e6\u4e00\u79cd\u7f51\u7edc\u534f\u8bae\uff0c\u5373\u5229\u7528\u4e00\u79cd\u7f51\u7edc\u4f20\u8f93\u534f\u8bae\uff0c\u5c06\u5176\u4ed6\u534f\u8bae\u4ea7\u751f\u7684\u6570\u636e\u62a5\u6587\u5c01\u88c5\u5728\u81ea\u8eab\u7684\u62a5\u6587\u4e2d\uff0c\u7136\u540e\u5728\u7f51\u7edc\u4e2d\u4f20\u8f93\u3002<br \/>\n\u96a7\u9053\u662f\u4e00\u4e2a\u865a\u62df\u7684\u70b9\u5bf9\u70b9\u8fde\u63a5\u3002<br \/>\n\u4e00\u4e2a\u96a7\u9053\u63d0\u4f9b\u4e86\u4e00\u6761\u4f7f\u5c01\u88c5\u7684\u6570\u636e\u62a5\u6587\u80fd\u591f\u4f20\u8f93\u7684\u901a\u8def\uff0c\u5e76\u4e14\u5728\u4e00\u4e2a\u96a7\u9053\u7684\u4e24\u7aef\u53ef\u4ee5\u5206\u522b\u5bf9\u6570\u636e\u62a5\u6587\u8fdb\u884c\u5c01\u88c5\u53ca\u89e3\u5c01\u88c5\u3002<br \/>\n\u96a7\u9053\u6280\u672f\u5c31\u662f\u6307\u5305\u62ec\u6570\u636e\u5c01\u88c5\u3001\u4f20\u8f93\u548c\u89e3\u5c01\u88c5\u5728\u5185\u7684\u5168\u8fc7\u7a0b\u3002<br \/>\n\u96a7\u9053\u6280\u672f\u662f<code>IPv4<\/code>\u5411<code>IPv6<\/code>\u8fc7\u6e21\u7684\u4e00\u4e2a\u91cd\u8981\u624b\u6bb5\u3002<\/p>\n<\/li>\n<li>\n<p>\u534f\u8bae\u8f6c\u6362\u6280\u672f<br \/>\n\u534f\u8bae\u8f6c\u6362\u6280\u672f\u4e5f\u79f0\u4e3a\u5730\u5740\u8f6c\u6362\u6280\u672f\uff0c\u5728\u4ee5\u5f80\u7684<code>IPv4<\/code>\u7f51\u7edc\u4e2d\uff0c\u53ef\u901a\u8fc7<code>NAT<\/code>\u6280\u672f\u628a\u5185\u7f51\u4e2d\u7684\u79c1\u6709<code>IPv4<\/code>\u5730\u5740\u8f6c\u6362\u6210\u516c\u7f51<code>IPv4<\/code>\u5730\u5740\u3002<br \/>\n\u6b63\u662f\u56e0\u4e3a<code>NAT<\/code>\u4f7f\u7528\u5f97\u592a\u6210\u529f\uff0c\u5bfc\u81f4<code>IPv4<\/code>\u5730\u5740\u77ed\u7f3a\u663e\u5f97\u6ca1\u90a3\u4e48\u8feb\u5207\uff0c\u7531\u6b64\u5ef6\u7f13\u4e86<code>IPv6<\/code>\u7684\u5b9e\u73b0\u6b65\u4f10\u3002<br \/>\n\u7f51\u7edc\u5730\u5740\u8f6c\u6362-\u534f\u8bae\u8f6c\u6362\uff08<code>Network Address Translation-Protocol Translation\uff0cNAT-PT<\/code>\uff09\uff0c\u8fd9\u662f\u4e00\u79cd\u53ef\u4ee5\u8ba9\u7eafI<code>Pv6<\/code>\u7f51\u7edc\u548c\u7eaf<code>IPv4<\/code>\u7f51\u7edc\u76f8\u4e92\u901a\u4fe1\u7684\u8fc7\u6e21\u673a\u5236\u3002<br \/>\n<code>NAT-PT<\/code>\u4e3b\u8981\u662f\u5229\u7528<code>NAT<\/code>\u8fdb\u884c<code>IPv4<\/code>\u5730\u5740\u548c<code>IPv6<\/code>\u5730\u5740\u7684\u76f8\u4e92\u8f6c\u6362\u3002<br \/>\n\u901a\u8fc7\u4f7f\u7528<code>NAT-PT<\/code>\uff0c\u7528\u6237\u65e0\u987b\u5bf9\u73b0\u6709\u7684<code>IPv4<\/code>\u7f51\u7edc\u8fdb\u884c\u4efb\u4f55\u6539\u53d8\uff0c\u5c31\u80fd\u5b9e\u73b0<code>IPv6<\/code>\u7f51\u7edc\u548c<code>IPv4<\/code>\u7f51\u7edc\u7684\u76f8\u4e92\u901a\u4fe1\u3002<\/p>\n<\/li>\n<\/ol>\n<h3>\u53cc\u6808\u6280\u672f<\/h3>\n<p>\u53cc\u6808\u6280\u672f\u662f<code>IPv4<\/code>\u5411<code>IPv6<\/code>\u8fc7\u6e21\u65f6\u4f7f\u7528\u7684\u4e00\u79cd\u5e38\u89c1\u6280\u672f\u3002<br \/>\n\u7f51\u7edc\u4e2d\u7684\u8282\u70b9\u53ef\u540c\u65f6\u652f\u6301<code>IPv4<\/code>\u548c<code>IPv6<\/code>\u534f\u8bae\u6808\uff0c\u6e90\u8282\u70b9\u6839\u636e\u76ee\u7684\u8282\u70b9\u7684\u4e0d\u540c\u9009\u7528\u4e0d\u540c\u7684\u534f\u8bae\u6808\uff0c\u800c\u7f51\u7edc\u8bbe\u5907\u6839\u636e\u62a5\u6587\u7684\u534f\u8bae\u7c7b\u578b\u9009\u62e9\u4e0d\u540c\u7684\u534f\u8bae\u6808\u8fdb\u884c\u5904\u7406\u548c\u8f6c\u53d1\u3002<br \/>\n\u53cc\u6808\u53ef\u4ee5\u5728\u4e00\u4e2a\u5355\u4e00\u7684\u8bbe\u5907\u4e0a\u5b9e\u73b0\uff0c\u4e5f\u53ef\u4ee5\u5b58\u5728\u4e00\u4e2a\u53cc\u6808\u9aa8\u5e72\u7f51\u3002<br \/>\n\u5bf9\u4e8e\u53cc\u6808\u9aa8\u5e72\u7f51\uff0c\u5176\u4e2d\u7684\u6240\u6709\u8bbe\u5907\u5fc5\u987b\u540c\u65f6\u652f\u6301<code>IPv4\/IPv6<\/code>\u534f\u8bae\u6808\uff0c\u8fde\u63a5\u53cc\u6808\u7f51\u7edc\u7684\u63a5\u53e3\u5fc5\u987b\u540c\u65f6\u914d\u7f6e<code>IPv4<\/code>\u5730\u5740\u548c<code>IPv6<\/code>\u5730\u5740\u3002<\/p>\n<h3>\u96a7\u9053\u6280\u672f<\/h3>\n<p>\u96a7\u9053\u6280\u672f\u662f\u4e00\u79cd\u5c01\u88c5\u6280\u672f\uff0c\u53ef\u4ee5\u4f7f\u7528\u96a7\u9053\u6280\u672f\u628a\u5206\u9694\u7684<code>IPv6<\/code>\u6216<code>IPv4<\/code>\u5b64\u5c9b\u8fde\u901a\u8d77\u6765\u3002\u591a\u79cd\u96a7\u9053\u6280\u672f\uff1a<\/p>\n<ul>\n<li>\n<p>\u901a\u7528\u8def\u7531\u5c01\u88c5\uff08<code>Generic Routing Encapsulation\uff0cGRE<\/code>\uff09\u96a7\u9053\uff1b<\/p>\n<\/li>\n<li>\n<p><code>IPv6 in IPv4<\/code>\u624b\u52a8\u96a7\u9053\uff1b<\/p>\n<\/li>\n<li>\n<p><code>IPv4<\/code>\u517c\u5bb9<code>IPv6<\/code>\u81ea\u52a8\u96a7\u9053\uff1b<\/p>\n<\/li>\n<li>\n<p><code>6to4<\/code>\u96a7\u9053\uff1b<\/p>\n<\/li>\n<li>\n<p><code>ISATAP<\/code>\u96a7\u9053\uff1b<\/p>\n<\/li>\n<li>\n<p><code>6PE<\/code>\uff1b<\/p>\n<\/li>\n<li>\n<p><code>6over4<\/code>\u3002<\/p>\n<\/li>\n<\/ul>\n<h4>GRE\u96a7\u9053<\/h4>\n<ol>\n<li>\n<p><code>GRE over IPv4<\/code><br \/>\n\u5728<code>IPv6<\/code>\u53d1\u5c55\u7684\u521d\u671f\u9636\u6bb5\uff0c\u5b58\u5728\u88ab<code>IPv4<\/code>\u4e92\u8054\u7f51\u5206\u9694\u7684<code>IPv6<\/code>\u5b64\u5c9b\u3002\u53ef\u4ee5\u501f\u52a9\u4e8e<code>GRE<\/code>\u96a7\u9053\u6765\u8fde\u901a<code>IPv6<\/code>\u5b64\u5c9b\uff0c\u5982\u4e0b\u56fe\u6240\u793a\uff1a<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2024\/07\/image-1721528130861.png\" alt=\"file\" \/><\/p>\n<\/li>\n<li>\n<p><code>GRE<\/code>\u96a7\u9053\u4e92\u8fde<code>IPv6<\/code>\u5b64\u5c9b<br \/>\n\u5728\u4e0b\u56fe\u4e2d\uff0c<code>R1<\/code>\u548c<code>R2<\/code>\u4e4b\u95f4\u662f\u7eaf<code>IPv6<\/code>\u7f51\u7edc\uff0c<code>R2\u3001R3<\/code>\u548c<code>R4<\/code>\u4e4b\u95f4\u662f\u7eaf<code>IPv4<\/code>\u7f51\u7edc\uff0c<code>R4<\/code>\u548c<code>R5<\/code>\u4e4b\u95f4\u662f\u7eaf<code>IPv6<\/code>\u7f51\u7edc\u3002<br \/>\n<code>R1<\/code>\u548c<code>R5<\/code>\u662f\u7eaf<code>IPv6<\/code>\u8def\u7531\u5668\uff0c<code>R3<\/code>\u662f\u7eaf<code>IPv4<\/code>\u8def\u7531\u5668\uff0c<code>R2<\/code>\u548c<code>R4<\/code>\u662f\u53cc\u6808\u8def\u7531\u5668\u3002<br \/>\n\u5728<code>R2<\/code>\u548c<code>R4<\/code>\u4e4b\u95f4\u5efa\u7acb\u4e00\u6761<code>GRE<\/code>\u96a7\u9053\uff0c<code>R1<\/code>\u548c<code>R5<\/code>\u4e4b\u95f4\u7684\u7eaf<code>IPv6<\/code>\u6d41\u91cf\u88ab\u5c01\u88c5\u5728<code>IPv4<\/code>\u534f\u8bae\u4e2d\uff0c\u6570\u636e\u5305\u6d41\u7ecf\u8def\u7531\u5668<code>R3<\/code>\u65f6\uff0c<code>R3<\/code>\u53ea\u67e5\u770b\u6700\u5916\u5c42\u7684<code>IPv4<\/code>\u62a5\u5934\uff0c\u5e76\u8f6c\u53d1\u6570\u636e\u5305\u5230\u4e0b\u4e00\u8df3\u8def\u7531\u5668\uff0c\u7531\u6b64\u5b9e\u73b0\u4e86<code>IPv6<\/code>\u6d41\u91cf\u8de8<code>IPv4<\/code>\u7f51\u7edc\u7684\u4f20\u8f93\u3002<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2024\/07\/image-1721528601652.png\" alt=\"file\" \/><\/p>\n<p><code>GRE<\/code>\u96a7\u9053\u5de5\u4f5c\u539f\u7406<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2024\/07\/image-1721528356050.png\" alt=\"file\" \/><\/p>\n<p>\u7f16\u53f71\u662f\u5e27\u7684\u57fa\u672c\u4fe1\u606f\u63cf\u8ff0\uff0c\u6bd4\u5982\u5e27\u7684\u5b57\u8282\u6570\u3002<br \/>\n\u7f16\u53f72\u662f<code>TCP\/IP<\/code>\u53c2\u8003\u6a21\u578b\u7684\u7b2c\u4e00\u5c42\uff0c\u5373\u7f51\u7edc\u8bbf\u95ee\u5c42\u3002\u8fd9\u91cc\u662f<code>Ethernet \u2161<\/code>\uff08\u4ee5\u592a\u7f51\u7c7b\u578b\u2161\uff09\u7684\u5e27\uff0c\u56e0\u4e3a\u662f\u4ee5\u592a\u7f51\uff0c\u6240\u4ee5\u4f1a\u6709\u6570\u636e\u5e27\u7684\u6e90\u548c\u76ee\u6807<code>MAC<\/code>\u5730\u5740\u3002<br \/>\n\u7f16\u53f73\u662f<code>TCP\/IP<\/code>\u53c2\u8003\u6a21\u578b\u7684\u7b2c\u4e8c\u5c42\uff0c\u5373\u7f51\u7edc\u5c42\uff0c\u8fd9\u91cc\u7684\u6e90\u548c\u76ee\u6807<code>IP<\/code>\u5730\u5740\u662f\u96a7\u9053\u7684\u4e24\u7aefIP\u5730\u5740\u3002<br \/>\n\u7f16\u53f74\u662f<code>GRE<\/code>\u534f\u8bae\u3002<br \/>\n\u7f16\u53f75\u662f<code>IPv6<\/code>\u6570\u636e\u62a5\u5934\uff0c\u6e90<code>IPv6<\/code>\u5730\u5740\u662f<code>R1<\/code>\u7684\u5730\u5740\uff0c\u76ee\u6807<code>IPv6<\/code>\u5730\u5740\u662f<code>R5<\/code>\u7684\u5730\u5740\u3002<br \/>\n\u7f16\u53f76\u662f<code>ICMPv6<\/code>\u7684\u62a5\u6587\u3002<\/p>\n<p>\u5bf9\u8def\u7531\u5668<code>R3<\/code>\u6765\u8bf4\uff0c\u628a<code>GRE<\/code>\u62a5\u5934 + <code>IPv6<\/code>\u62a5\u5934 + <code>IPv6<\/code>\u6709\u6548\u6570\u636e\u4f5c\u4e3a<code>IPv4<\/code>\u7684\u6709\u6548\u6570\u636e\uff0c\u53ea\u8981\u6839\u636e<code>IPv4<\/code>\u62a5\u5934\u5c31\u53ef\u4ee5\u5b9e\u73b0\u6b63\u5e38\u7684\u6570\u636e\u5305\u8f6c\u53d1\u4e86\u3002<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2024\/07\/image-1721528817848.png\" alt=\"file\" \/><\/p>\n<p>\u8def\u7531\u5668<code>R4<\/code>\u6536\u5230\u6570\u636e\u5305\u540e\u5c06\u5176\u89e3\u5c01\u88c5\uff0c\u5f97\u5230<code>IPv6<\/code>\u62a5\u5934+<code>IPv6<\/code>\u6709\u6548\u6570\u636e\u3002<br \/>\n\u7531\u4e8e<code>R4<\/code>\u662f\u53cc\u6808\u8def\u7531\u5668\uff0c\u56e0\u6b64\u4f1a\u6839\u636e<code>IPv6<\/code>\u62a5\u5934\u8f6c\u53d1\u6570\u636e\u5305\u3002<br \/>\n<code>R5<\/code>\u5411<code>R1<\/code>\u8fd4\u56de\u6570\u636e\u5305\u7684\u8fc7\u7a0b\u4e5f\u662f\u6309\u7167\u96a7\u9053\u8d77\u70b9\u5c01\u88c5--&gt;<code>IPv4<\/code>\u7f51\u7edc\u4e2d\u7684\u8def\u7531--&gt;\u96a7\u9053\u7ec8\u70b9\u89e3\u5c01\u88c5\u8fdb\u884c\u7684\u3002<\/p>\n<\/li>\n<li>\n<p><code>GRE<\/code>\u96a7\u9053\u7684\u7279\u70b9<br \/>\n<code>GRE<\/code>\u96a7\u9053\u901a\u7528\u6027\u597d\uff0c\u6613\u4e8e\u7406\u89e3\u3002\u4f46<code>GRE<\/code>\u96a7\u9053\u662f\u624b\u52a8\u96a7\u9053\uff0c\u6bcf\u4e2a\u96a7\u9053\u90fd\u9700\u8981\u624b\u52a8\u914d\u7f6e\u3002\u8bd5\u60f3\u4e00\u4e0b\uff0c\u5982\u679c\u4e00\u4e2a<code>IPv6<\/code>\u5b64\u5c9b\u8981\u4e0e\u5f88\u591a<code>IPv6<\/code>\u5b64\u5c9b\u76f8\u8fde\uff0c\u5c31\u9700\u8981\u624b\u52a8\u5efa\u7acb\u591a\u6761\u96a7\u9053\u3002<br \/>\n\u5982\u679c\u591a\u4e2a<code>IPv6<\/code>\u5b64\u5c9b\u5f7c\u6b64\u95f4\u90fd\u8981\u4e92\u8fde\uff0c\u90a3\u4e48\u7ba1\u7406\u5458\u914d\u7f6e\u548c\u7ef4\u62a4<code>GRE<\/code>\u96a7\u9053\u7684\u96be0\u5ea6\u5c06\u9661\u589e\u3002<\/p>\n<\/li>\n<li>\n<p><code>GRE OVER IPv6<\/code><br \/>\n\u5728<code>IPv6<\/code>\u53d1\u5c55\u7684\u540e\u671f\u9636\u6bb5\uff0c\u9700\u8981\u5728<code>IPv6<\/code>\u4e92\u8054\u7f51\u4e0a\u5efa\u7acb\u96a7\u9053\u6765\u4f20\u8f93<code>IPv4<\/code>\u7684\u6d41\u91cf\uff0c\u4ee5\u89e3\u51b3<code>IPv4<\/code>\u5b64\u5c9b\u95ee\u9898\uff0c\u5982\u4e0b\u56fe\u6240\u793a\uff1a<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2024\/07\/image-1721548924864.png\" alt=\"file\" \/><\/p>\n<\/li>\n<li>\n<p><code>GRE<\/code>\u96a7\u9053\u4e92\u8fde<code>IPv4<\/code>\u5b64\u5c9b<br \/>\n<code>R1<\/code>\u548c<code>R2<\/code>\u4e4b\u95f4\u662f\u7eaf<code>IPv4<\/code>\u7f51\u7edc\uff0c<code>R2\u3001R3<\/code>\u548c<code>R4<\/code>\u4e4b\u95f4\u662f\u7eaf<code>IPv6<\/code>\u7f51\u7edc\uff0c<code>R4<\/code>\u548c<code>R5<\/code>\u4e4b\u95f4\u662f\u7eafIPv4\u7f51\u7edc\u3002<br \/>\n<code>R1<\/code>\u548c<code>R5<\/code>\u662f\u7eaf<code>IPv4<\/code>\u8def\u7531\u5668\uff0c<code>R3<\/code>\u662f\u7eaf<code>IPv6<\/code>\u8def\u7531\u5668\uff0c<code>R2<\/code>\u548c<code>R4<\/code>\u662f\u53cc\u6808\u8def\u7531\u5668\u3002<br \/>\n\u5728<code>R2<\/code>\u548c<code>R4\u4e4b<\/code>\u95f4\u5efa\u7acb\u4e00\u6761<code>GRE<\/code>\u96a7\u9053\uff0c<code>R1<\/code>\u548c<code>R5<\/code>\u4e4b\u95f4\u7684\u7eaf<code>IPv4<\/code>\u6d41\u91cf\u88ab\u5c01\u88c5\u5728<code>IPv6<\/code>\u534f\u8bae\u4e2d\uff0c\u6570\u636e\u5305\u6d41\u7ecf\u8def\u7531\u5668<code>R3<\/code>\u65f6\uff0c<code>R3<\/code>\u53ea\u67e5\u770b\u6700\u5916\u5c42\u7684<code>IPv6<\/code>\u62a5\u5934\uff0c\u5e76\u8f6c\u53d1\u6570\u636e\u5305\u5230\u4e0b\u4e00\u8df3\u8def\u7531\u5668\uff0c\u7531\u6b64\u5b9e\u73b0\u4e86<code>IPv4<\/code>\u6d41\u91cf\u8de8<code>IPv6<\/code>\u7f51\u7edc\u7684\u4f20\u8f93\u3002<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2024\/07\/image-1721549074255.png\" alt=\"file\" \/><\/p>\n<p>\u5bf9\u8def\u7531\u5668<code>R3<\/code>\u6765\u8bf4\uff0c\u628a<code>GRE<\/code>\u62a5\u5934 + <code>IPv4<\/code>\u62a5\u5934 + <code>IPv4<\/code>\u6709\u6548\u6570\u636e\u4f5c\u4e3a<code>IPv6<\/code>\u7684\u6709\u6548\u6570\u636e\uff0c\u53ea\u8981\u6839\u636e<code>IPv6<\/code>\u62a5\u5934\u5c31\u53ef\u4ee5\u5b9e\u73b0\u6b63\u5e38\u7684\u6570\u636e\u5305\u8f6c\u53d1\u4e86\uff0c\u5982\u4e0b\u56fe\u6240\u793a\uff1a<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2024\/07\/image-1721549153008.png\" alt=\"file\" \/><\/p>\n<\/li>\n<\/ol>\n<h4>IPv4\u5ba2\u6237\u7aef\u4f7f\u7528L2TP VPN\u8bbf\u95eeIPv6\u7f51\u7edc<\/h4>\n<ol>\n<li>\n<p><code>windows<\/code>\u914d\u7f6e<code>l2tp<\/code>\u62e8\u53f7\u5ba2\u6237\u7aef<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2024\/07\/image-1721550160704.png\" alt=\"file\" \/><\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2024\/07\/image-1721550190538.png\" alt=\"file\" \/><\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2024\/07\/image-1721550386220.png\" alt=\"file\" \/><\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2024\/07\/image-1721550458236.png\" alt=\"file\" \/><\/p>\n<\/li>\n<li>\n<p>\u534e\u4e09<code>F1000 L2TP<\/code>\u670d\u52a1\u7aef\u914d\u7f6e<\/p>\n<pre><code class=\"language-bash\">interface Virtual-Template1\nppp authentication-mode chap\nipv6 dhcp select server\nipv6 address xxxx::1\/64\nipv6 nd autoconfig other-flag  \/\/\u8bbe\u7f6e\u4e86\u8be5\u6807\u5fd7\u4f4d\uff0c\u5219\u4e3b\u673a\u53ef\u901a\u8fc7\u6709\u72b6\u6001\u81ea\u52a8\u914d\u7f6e\uff08dhcpv6\uff09\u83b7\u5f97\u9664\u4e86ipv6\u5730\u5740\u5916\u7684\u5176\u4ed6\u914d\u7f6e\u4fe1\u606f\u5982dns\nundo ipv6 nd ra halt \/\/\u6e05\u9664\u6291\u5236\uff0c\u5219\u4e3b\u673a\u901a\u8fc7\u65e0\u72b6\u6001\u81ea\u52a8\u914d\u7f6e\uff08\u8def\u7531\u5668ra\u62a5\u6587\uff09\u83b7\u5f97ipv6\u5730\u5740\nipv6 dhcp pool 1\nnetwork xxxx::\/64\ndns-server 240E:9:0:100:202:103:224:68\ndns-server 240E:9:2000:100:202:103:225:68\ngateway-list 240E:650:6200:600::1\nlocal-user l2tp class network\npassword simple xxx\nservice-type ppp\nauthorization-attribute user-role network-operator\nl2tp-group 1 mode lns\nallow l2tp virtual-template 1\nundo tunnel authentication\nl2tp enable<\/code><\/pre>\n<p>\u6700\u540e\u8bb0\u5f97\u653e<code>ipv6<\/code>\u7684\u5b89\u5168\u7b56\u7565<\/p>\n<\/li>\n<\/ol>\n<h3>\u534f\u8bae\u8f6c\u6362\u6280\u672f<\/h3>\n<p>\u524d\u9762\u4ecb\u7ecd\u7684\u96a7\u9053\u6280\u672f\u5f52\u6839\u7ed3\u5e95\u662f\u53cc\u6808\u6280\u672f\uff0c\u4e3b\u8981\u7528\u4e8e\u5b9e\u73b0\u5206\u79bb\u7684<code>IPv6<\/code>\u6216<code>IPv4<\/code>\u7f51\u7edc\u4e4b\u95f4\u7684\u4e92\u901a\u3002<br \/>\n\u534f\u8bae\u8f6c\u6362\u6280\u672f\u7528\u6765\u5b9e\u73b0\u4e0d\u540c\u7f51\u7edc\u95f4\u7684\u8bbf\u95ee\uff0c\u6bd4\u5982\u5728\u65e0\u987b\u914d\u7f6e\u53e6\u5916\u4e00\u79cd\u534f\u8bae\u7684\u60c5\u51b5\u4e0b\uff0c\u8ba9\u5ba2\u6237\u7aef\u4f7f\u7528<code>IPv4<\/code>\u6765\u8bbf\u95ee<code>IPv6<\/code>\u7f51\u7edc\uff0c\u53cd\u4e4b\u4ea6\u7136\u3002<br \/>\n\u91c7\u7528\u534f\u8bae\u8f6c\u6362\u5b9e\u73b0<code>IPv4<\/code>\u5230<code>IPv6<\/code>\u8fc7\u6e21\u7684\u4f18\u70b9\u662f\u4e0d\u9700\u8981\u8fdb\u884c<code>IPv4\u3001IPv6<\/code>\u8282\u70b9\u7684\u5347\u7ea7\u6539\u9020\uff0c\u7f3a\u70b9\u662f\u7528\u6765\u5b9e\u73b0<code>IPv4<\/code>\u8282\u70b9\u548c<code>IPv6<\/code>\u8282\u70b9\u76f8\u4e92\u8bbf\u95ee\u7684\u65b9\u6cd5\u6bd4\u8f83\u590d\u6742\uff0c\u7f51\u7edc\u8bbe\u5907\u8fdb\u884c\u534f\u8bae\u8f6c\u6362\u3001\u5730\u5740\u8f6c\u6362\u6240\u9700\u7684\u5f00\u9500\u8f83\u5927\uff0c\u4e00\u822c\u5728\u5176\u4ed6\u4e92\u901a\u65b9\u5f0f\u65e0\u6cd5\u4f7f\u7528\u7684\u60c5\u51b5\u4e0b\u4f7f\u7528\u3002<\/p>\n<h4>NAT-PT\u8f6c\u6362\u6280\u672f<\/h4>\n<p><code>NAT-PT<\/code>\u7531<code>SIIT<\/code>\uff08<code>Stateless IP\/ICMP Translation<\/code>\uff0c\u65e0\u72b6\u6001<code>IP\/ICMP<\/code>\u8f6c\u6362\uff09\u6280\u672f\u548c\u52a8\u6001\u5730\u5740\u8f6c\u6362\uff08<code>NAT<\/code>\uff09\u6280\u672f\u7ed3\u5408\u548c\u6f14\u8fdb\u800c\u6765\uff0c<code>SIIT<\/code>\u63d0\u4f9b<code>IPv4<\/code>\u548c<code>IPv6<\/code>\u4e4b\u95f4\u7684\u4e00\u5bf9\u4e00\u7684\u6620\u5c04\u8f6c\u6362\uff0c<code>NAT-PT<\/code>\u652f\u6301\u5728<code>SIIT<\/code>\u57fa\u7840\u4e0a\u5b9e\u73b0\u591a\u5bf9\u4e00\u6216\u591a\u5bf9\u591a\u7684\u5730\u5740\u8f6c\u6362\u3002<br \/>\n<code>NAT-PT<\/code>\u5206\u4e3a\u9759\u6001\u548c\u52a8\u6001\u4e24\u79cd\u3002<\/p>\n<ol>\n<li>\n<p>\u9759\u6001<code>NAT-PT<\/code><br \/>\n\u9759\u6001<code>NAT-PT<\/code>\u63d0\u4f9b<code>IPv6<\/code>\u5730\u5740\u548c<code>IPv4<\/code>\u5730\u5740\u4e4b\u95f4\u7684\u4e00\u5bf9\u4e00\u7684\u6620\u5c04\uff0c\u4e00\u822c\u7528\u4e8e\u9700\u8981\u63d0\u4f9b\u7a33\u5b9a\u670d\u52a1\u7684\u573a\u5408\u3002<br \/>\n<code>IPv6<\/code>\u5355\u534f\u8bae\u7f51\u7edc\u5185\u7684\u8282\u70b9\u8981\u8bbf\u95ee<code>IPv4<\/code>\u5355\u534f\u8bae\u7f51\u7edc\u5185\u7684\u6bcf\u4e00\u4e2a<code>IPv4<\/code>\u5730\u5740\uff0c\u90fd\u5fc5\u987b\u5148\u5728<code>NAT-PT<\/code>\u8bbe\u5907\u4e2d\u914d\u7f6e\u3002<\/p>\n<p>\u5728<code>NAT-PT<\/code>\u8bbe\u5907\u4e2d\uff0c\u628a\u8981\u4e0e<code>IPv6<\/code>\u7f51\u7edc\u901a\u4fe1\u7684<code>IPv4<\/code>\u5730\u5740\u6620\u5c04\u6210<code>IPv6<\/code>\u5730\u5740\uff1b\u628a\u8981\u4e0e<code>IPv4<\/code>\u7f51\u7edc\u901a\u4fe1\u7684<code>IPv6<\/code>\u5730\u5740\u6620\u5c04\u6210<code>IPv4<\/code>\u5730\u5740\u3002<br \/>\n\u6bd4\u5982\uff0c\u5f53<code>IPv4<\/code>\u8bbe\u5907\u8bbf\u95ee<code>IPv6<\/code>\u7f51\u7edc\u65f6\uff0c\u5b83\u8bbf\u95ee\u7684\u662f<code>IPv6<\/code>\u6620\u5c04\u540e\u7684<code>IPv4<\/code>\u5730\u5740\u3002<br \/>\n<code>IPv4<\/code>\u6570\u636e\u5305\u53d1\u5f80<code>NAT-PT<\/code>\u8bbe\u5907\u540e\uff0c<code>NAT-PT<\/code>\u8bbe\u5907\u6839\u636e\u6620\u5c04\u8868\u7684\u914d\u7f6e\uff0c\u628a\u6e90<code>IPv4<\/code>\u548c\u76ee\u7684<code>IPv4<\/code>\u5730\u5740\u8f6c\u6362\u6210\u5bf9\u5e94\u7684<code>IPv6<\/code>\u5730\u5740\uff0c\u7136\u540e\u5c06\u6570\u636e\u5305\u53d1\u5f80\u76ee\u7684<code>IPv6<\/code>\u8bbe\u5907\u3002<br \/>\n<code>IPv6<\/code>\u8bbe\u5907\u6839\u636e\u6e90<code>IPv6<\/code>\u5730\u5740\u8fdb\u884c\u56de\u5e94\uff0c<code>IPv6<\/code>\u6570\u636e\u5305\u88ab\u53d1\u5f80<code>NAT-PT<\/code>\u8bbe\u5907\uff0c<code>NAT-PT<\/code>\u8bbe\u5907\u518d\u628a\u6e90\u548c\u76ee\u7684<code>IPv6<\/code>\u5730\u5740\u8f6c\u6362\u6210\u76f8\u5e94\u7684<code>IPv4<\/code>\u5730\u5740\uff0c\u8fd4\u56de\u5230<code>IPv4<\/code>\u8bbe\u5907\u3002<\/p>\n<p><code>NAT-PT<\/code>\u5e76\u4e0d\u662f\u8f6c\u6362\u6240\u6709<code>IPv6<\/code>\u6570\u636e\u5305\u7684\u5730\u5740\uff0c\u800c\u662f\u53ea\u8f6c\u6362\u6ee1\u8db3\u7279\u5b9a\u524d\u7f00\u7684<code>IPv6<\/code>\u5730\u5740\uff0c\u8f6c\u6362\u65b9\u6cd5\u662f\u4f7f\u7528\u547d\u4ee4<code>ipv6 nat prefix<\/code>\uff0c\u540e\u9762\u8ddf\u4e0a\u8981\u8f6c\u6362\u7684<code>IPv6<\/code>\u524d\u7f00\u548c\u56fa\u5b9a\u957f\u5ea696\uff0c\u6bd4\u5982<code>ipv6 nat prefix 2001:2::\/96<\/code>\u3002<\/p>\n<\/li>\n<li>\n<p>\u52a8\u6001<code>NAT-PT<\/code><br \/>\n\u5728\u52a8\u6001<code>NAT-PT<\/code>\u4e2d\uff0c<code>IPv6<\/code>\u5230<code>IPv4<\/code>\u7684\u5730\u5740\u6620\u5c04\u662f\u52a8\u6001\u751f\u6210\u7684\u3001\u53ef\u53d8\u7684\u3002<br \/>\n<code>NAT-PT<\/code>\u7f51\u5173\u5b9a\u4e49\u4e86<code>IPv4<\/code>\u5730\u5740\u6c60\uff0c\u5b83\u4ece\u5730\u5740\u6c60\u4e2d\u53d6\u51fa\u4e00\u4e2a\u5730\u5740\u6765\u66ff\u6362<code>IPv6<\/code>\u62a5\u6587\u7684\u6e90\u5730\u5740\uff0c\u4ece\u800c\u5b8c\u6210\u4ece<code>IPv6<\/code>\u5730\u5740\u5230<code>IPv4<\/code>\u5730\u5740\u7684\u8f6c\u6362\u3002<br \/>\n\u52a8\u6001<code>NAT-PT<\/code>\u652f\u6301\u5c06\u591a\u4e2a<code>IPv6<\/code>\u5730\u5740\u6620\u5c04\u4e3a\u4e00\u4e2a<code>IPv4<\/code>\u5730\u5740\uff0c\u8282\u7701\u4e86<code>IPv4<\/code>\u5730\u5740\u7a7a\u95f4\u3002<\/p>\n<\/li>\n<li>\n<p>\u52a8\u6001<code>NAT-PT<\/code>\u4f18\u7f3a\u70b9<br \/>\n<code>NAT-PT<\/code>\u4e0d\u5fc5\u4fee\u6539\u73b0\u6709\u7f51\u7edc\u5373\u53ef\u5b9e\u73b0<code>IPv4<\/code>\u4e0e<code>IPv6<\/code>\u7f51\u7edc\u4e4b\u95f4\u7684\u4e92\u901a\u3002<br \/>\n\u5728<code>NAPT-PT<\/code>\u4e2d\uff0c\u4ec5\u4f7f\u7528\u4e00\u4e2a<code>IPv4<\/code>\u5730\u5740\uff0c\u5373\u53ef\u5b9e\u73b0\u591a\u4e2a<code>IPv6<\/code>\u4e3b\u673a\u4e0e<code>IPv4<\/code>\u7f51\u7edc\u7684\u901a\u4fe1\uff0c\u4ece\u800c\u89e3\u51b3<code>IPv4<\/code>\u5730\u5740\u6ca1\u6709<code>IPv6<\/code>\u5730\u5740\u591a\u7684\u95ee\u9898\u3002<br \/>\n<code>NAT-PT<\/code>\u539f\u7406\u4e0e<code>IPv4<\/code>\u4e2d\u7684<code>NAT<\/code>\u539f\u7406\u7c7b\u4f3c\uff0c\u662f\u4e00\u79cd\u975e\u5e38\u597d\u7684<code>IPv4<\/code>\u5411<code>IPv6<\/code>\u8fc7\u6e21\u6280\u672f\u3002<br \/>\n<code>NAT-PT<\/code>\u7684\u7f3a\u70b9\u662f\uff1a\u5c5e\u4e8e\u540c\u4e00\u4f1a\u8bdd\u7684\u8bf7\u6c42\u548c\u54cd\u5e94\u90fd\u5fc5\u987b\u901a\u8fc7\u540c\u4e00<code>NAT-PT<\/code>\u8bbe\u5907\u624d\u80fd\u8fdb\u884c\u8f6c\u6362\uff0c\u4e0d\u9002\u5408\u591a\u51fa\u53e3\u8bbe\u5907\u7684\u73af\u5883\uff1b<br \/>\n\u4e0d\u80fd\u8f6c\u6362<code>IPv4<\/code>\u62a5\u5934\u7684\u53ef\u9009\u9879\u90e8\u5206\uff1b\u7531\u4e8e\u5730\u5740\u5728\u4f20\u8f93\u8fc7\u7a0b\u4e2d\u53d1\u751f\u4e86\u53d8\u5316\uff0c\u7aef\u5230\u7aef\u7684\u5b89\u5168\u6027\u5f88\u96be\u5b9e\u73b0\u3002<\/p>\n<\/li>\n<\/ol>\n<h4>NAT64\/DNS64\u8f6c\u6362\u6280\u672f<\/h4>\n<p><code>NAT-PT<\/code>\u901a\u8fc7<code>IPv6<\/code>\u4e0e<code>IPv4<\/code>\u7684\u7f51\u7edc\u5730\u5740\u4e0e\u534f\u8bae\u8f6c\u6362\uff0c\u5b9e\u73b0\u4e86<code>IPv6<\/code>\u7f51\u7edc\u4e0e<code>IPv4<\/code>\u7f51\u7edc\u7684\u4e92\u8054\u4e92\u901a\u3002<br \/>\n\u4f46<code>NAT-PT<\/code>\u5728\u5b9e\u9645\u7684\u7f51\u7edc\u5e94\u7528\u4e2d\u9762\u4e34\u5404\u79cd\u7f3a\u9677\u3002<br \/>\n\u4e3a\u4e86\u89e3\u51b3<code>NAT-PT<\/code>\u4e2d\u7684\u5404\u79cd\u7f3a\u9677\uff0c\u540c\u65f6\u5b9e\u73b0<code>IPv6<\/code>\u4e0e<code>IPv4<\/code>\u4e4b\u95f4\u7684\u7f51\u7edc\u5730\u5740\u4e0e\u534f\u8bae\u8f6c\u6362\u6280\u672f\uff0c<code>IETF<\/code>\u91cd\u65b0\u8bbe\u8ba1\u4e86\u65b0\u7684\u89e3\u51b3\u65b9\u6848\uff1a<code>NAT64<\/code>\u4e0e<code>DNS64<\/code>\u6280\u672f\u3002<\/p>\n<p><code>NAT64<\/code>\u662f\u4e00\u79cd\u6709\u72b6\u6001\u7684\u7f51\u7edc\u5730\u5740\u4e0e\u534f\u8bae\u8f6c\u6362\u6280\u672f\uff0c\u4e00\u822c\u53ea\u652f\u6301\u901a\u8fc7<code>IPv6<\/code>\u7f51\u7edc\u4fa7\u53d1\u8d77\u8fde\u63a5\u6765\u8bbf\u95ee<code>IPv4<\/code>\u7f51\u7edc\u4fa7\u7684\u8d44\u6e90\u3002<br \/>\n<code>NAT64<\/code>\u4e5f\u652f\u6301\u624b\u52a8\u914d\u7f6e\u9759\u6001\u6620\u5c04\u5173\u7cfb\uff0c\u8ba9<code>IPv4<\/code>\u7f51\u7edc\u4e3b\u52a8\u53d1\u8d77\u53bb\u5f80<code>IPv6<\/code>\u7f51\u7edc\u7684\u8fde\u63a5\u3002<br \/>\n<code>NAT64<\/code>\u53ef\u5b9e\u73b0<code>TCP\u3001UDP\u3001ICMP<\/code>\u534f\u8bae\u4e0b\u7684<code>IPv6<\/code>\u4e0e<code>IPv4<\/code>\u7f51\u7edc\u5730\u5740\u4e0e\u534f\u8bae\u8f6c\u6362\u3002<\/p>\n<p>\u5f53<code>IPv6<\/code>\u5ba2\u6237\u7aef\u8fdb\u884c<code>DNS<\/code>\u67e5\u8be2\u65f6\uff0c\u5982\u679c\u6ca1\u6709\u5f97\u5230<code>IPv6 DNS<\/code>\u670d\u52a1\u5668\u7684\u54cd\u5e94\uff0c\u53ef\u4f7f\u7528<code>DNS64<\/code>\u5411<code>IPv4 DNS<\/code>\u670d\u52a1\u5668\u53d1\u8d77<code>DNS<\/code>\u8bf7\u6c42\uff0c\u5e76\u5c06\u4ece<code>IPv4 DNS<\/code>\u4e2d\u8fd4\u56de\u7684<code>A<\/code>\u8bb0\u5f55\uff08<code>IPv4<\/code>\u5730\u5740\uff09\u5408\u6210\u5230<code>AAAA<\/code>\u8bb0\u5f55\uff08<code>IPv6<\/code>\u5730\u5740\uff09\u4e2d\uff0c\u7136\u540e\u5c06\u5408\u6210\u7684<code>AAAA<\/code>\u8bb0\u5f55\u8fd4\u56de\u5230<code>IPv6<\/code>\u5ba2\u6237\u7aef\u3002<\/p>\n<p><code>NAT64<\/code>\u6267\u884c<code>IPv4<\/code>\u4e0e<code>IPv6<\/code>\u6709\u72b6\u6001\u7684\u5730\u5740\u4e0e\u534f\u8bae\u8f6c\u6362\uff0c<code>DNS64<\/code>\u7528\u6765\u89e3\u6790\u57df\u540d\u5730\u5740\uff0c\u4e24\u8005\u534f\u540c\u5de5\u4f5c\uff0c\u4e0d\u9700\u8981\u5728<code>IPv6<\/code>\u5ba2\u6237\u7aef\u6216<code>IPv4<\/code>\u670d\u52a1\u5668\u7aef\u8fdb\u884c\u4efb\u4f55\u4fee\u6539\u3002<\/p>\n<p><code>NAT64<\/code>\u548c<code>DNS64<\/code>\u5de5\u4f5c\u6d41\u7a0b\u5982\u4e0b\uff1a<\/p>\n<ul>\n<li>\n<p><code>IPv6<\/code>\u4e3b\u673a\uff08\u8fd9\u91cc\u4ee5<code>Win10-2<\/code>\u4e3a\u4f8b\uff09\u53d1\u8d77\u5230<code>DNS<\/code>\u670d\u52a1\u5668\uff08<code>IPv6<\/code>\u5730\u5740\u662f<code>2001:1::1<\/code>\uff0c\u4e5f\u5c31\u662f<code>DNS<\/code>\u4ee3\u7406\u8bbe\u5907\uff09\u7684<code>IPv6<\/code>\u57df\u540d\u89e3\u6790\u8bf7\u6c42\uff0c\u89e3\u6790\u57df\u540d\u4e3a<code>www.test.com<\/code><\/p>\n<\/li>\n<li>\n<p><code> DNS<\/code>\u4ee3\u7406\u8bbe\u5907\u89e6\u53d1\u5230<code>DNS<\/code>\u670d\u52a1\u5668\uff08218.1.1.2\uff09\u7684<code>IPv6<\/code>\u5730\u5740\u67e5\u8be2\u3002\u82e5\u80fd\u67e5\u8be2\u5230\u5219\u8fd4\u56de\u57df\u540d\u5bf9\u5e94\u7684<code>IPv6<\/code>\u5730\u5740\uff1b\u82e5\u67e5\u8be2\u4e0d\u5230\uff0c\u5219\u8fd4\u56de\u7a7a\u3002\u8fd9\u91cc\u7684<code>DNS<\/code>\u670d\u52a1\u5668\uff08218.1.1.2\uff09\u4e0a\u53ea\u6709<code>A<\/code>\u8bb0\u5f55\uff0c\u6ca1\u6709<code>AAAA<\/code>\u8bb0\u5f55\uff0c\u6240\u4ee5\u8fd4\u56de\u7a7a\u3002<\/p>\n<\/li>\n<li>\n<p><code>DNS<\/code>\u4ee3\u7406\u518d\u6b21\u89e6\u53d1\u5230<code>DNS<\/code>\u670d\u52a1\u5668\uff08218.1.1.2\uff09\u7684<code>IPv4<\/code>\u5730\u5740\u67e5\u8be2\u3002<code>DNS<\/code>\u670d\u52a1\u5668\u8fd4\u56de\u7684<code>IPv4<\/code>\u5730\u5740\u662f218.1.1.3\uff0c\u8fd9\u4e2a<code>IPv4<\/code>\u7684\u503c\u4f1a\u8fd4\u56de\u7ed9<code>Win10-2<\/code><\/p>\n<\/li>\n<li>\n<p><code>DNS<\/code>\u4ee3\u7406\u8bbe\u5907\u53c8\u914d\u7f6e\u4e86<code>DNS64<\/code>\u529f\u80fd\uff0c\u7528\u914d\u7f6e\u7684\u524d\u7f00<code>2001:2::\/96<\/code>\u518d\u52a032\u4f4d\u7684<code>IPv4<\/code>\u5730\u5740\uff08218.1.1.3\uff0c\u8f6c\u5316\u6210\u5341\u516d\u8fdb\u5236\u662f<code>da01:103<\/code>\uff09\u7ec4\u5408\u6210<code>IPv6<\/code>\u5730\u5740\uff0c\u5373<code>2001:2::da01:103<\/code>\uff0c<code>DNS<\/code>\u4ee3\u7406\u8bbe\u5907\u628a\u8fd9\u4e2a<code>IPv6<\/code>\u5730\u5740\u4e5f\u8fd4\u56de\u7ed9<code>Win10-2<\/code>\u4e3b\u673a<\/p>\n<\/li>\n<li>\n<p><code>Win10-2<\/code>\u4e3b\u673a\u5b9e\u9645\u4e0a\u5f97\u5230\u4e86<code>IPv4<\/code>\u5730\u5740<code>218.1.1.3<\/code>\u548c<code>IPv6<\/code>\u5730\u5740<code>2001:2::da01:103<\/code>\uff0c\u7531\u4e8e\u6ca1\u6709\u914d\u7f6e<code>IPv4<\/code>\u5730\u5740\uff0c<code>ping<\/code>\u663e\u793a\u51fa\u6765\u7684\u662f<code>IPv6<\/code>\u5730\u5740\uff08\u5373\u4f7f\u914d\u7f6e\u4e86<code>IPv4<\/code>\u5730\u5740\uff0c\u56e0\u9ed8\u8ba4\u7684<code>IPv6<\/code>\u4f18\u5148\uff0c<code>ping<\/code>\u663e\u793a\u7684\u4ecd\u7136\u662f<code>IPv6<\/code>\u5730\u5740\uff0c\u53ef\u4ee5\u4f7f\u7528<code>nslookup<\/code>\u547d\u4ee4\u9a8c\u8bc1\uff0c\u5b9e\u9645\u4e0a\u8fd4\u56de\u4e86<code>IPv4<\/code>\u548c<code>IPv6<\/code>\u7684\u5730\u5740\u3002\u5982\u679c<code>DNS<\/code>\u4ee3\u7406\u8bbe\u5907\u4e2d\u6ca1\u6709\u914d\u7f6e<code>name-server 218.1.1.2<\/code>\uff0c\u5219\u4e0d\u4f1a\u8fd4\u56de<code>IPv4<\/code>\u7684\u5730\u5740\uff09\u3002<code>Win10-2<\/code>\u53d1\u8d77\u76ee\u7684\u5730\u5740\u4e3a<code>2001:2::da01:103<\/code>\u7684<code>IPv6<\/code>\u6570\u636e\u5305\uff0c\u8fd9\u4e2a\u6570\u636e\u5305\u88ab\u8f6c\u53d1\u7ed9<code>NAT64<\/code>\u8bbe\u5907<\/p>\n<\/li>\n<li>\n<p><code>NAT64<\/code>\u6267\u884c\u5730\u5740\u8f6c\u6362\u548c\u534f\u8bae\u8f6c\u6362\uff0c\u76ee\u7684\u5730\u5740\u8f6c\u6362\u4e3a<code>218.1.1.3<\/code>\uff0c\u6e90\u5730\u5740\u8f6c\u6362\u4e3a<code>218.1.1.1<\/code>\u3002\u8be5\u6570\u636e\u5305\u5728<code>IPv4<\/code>\u7f51\u7edc\u5185\u88ab\u8def\u7531\u5230\u76ee\u7684\u5730\uff08<code>218.1.1.3<\/code>\uff09<\/p>\n<\/li>\n<li>\n<p><code>IPv4<\/code>\u6570\u636e\u5305\u8fd4\u56de\uff0c\u76ee\u7684\u5730\u5740\u4e3a218.1.1.1\u3002\u8be5\u6570\u636e\u5305\u8fd4\u56de\u5230<code>NAT64<\/code>\u8bbe\u5907<\/p>\n<\/li>\n<li>\n<p><code>NAT64<\/code>\u8bbe\u5907\u6839\u636e\u5df2\u6709\u7684\u8f6c\u6362\u8bb0\u5f55\u8868\u8fdb\u884c\u8f6c\u6362\uff0c\u76ee\u7684\u5730\u5740\u8f6c\u6362\u4e3a<code>Win10-2<\/code>\u7684<code>IPv6<\/code>\u5730\u5740\uff0c\u6e90\u5730\u5740\u4e3a\u52a0\u4e86<code>IPv6<\/code>\u524d\u7f00\u7684<code>IPv4<\/code>\u5730\u5740<code>2001:2::da01:103<\/code><\/p>\n<\/li>\n<li>\n<p><code>Win10-2<\/code>\u6536\u5230<code>www.test.com<\/code>\u8fd4\u56de\u7684\u6570\u636e\u5305\uff0c\u81f3\u6b64\u6570\u636e\u5f80\u8fd4\u901a\u4fe1\u6210\u529f\u3002<\/p>\n<\/li>\n<\/ul>\n<h3>\u8fc7\u6e21\u6280\u672f\u9009\u62e9<\/h3>\n<p>\u6bcf\u79cd\u8fc7\u6e21\u6280\u672f\u90fd\u6709\u5404\u81ea\u7684\u4f18\u7f3a\u70b9\uff0c\u56e0\u6b64\u9700\u7ed3\u5408\u5b9e\u9645\u9700\u6c42\u5728\u4e0d\u540c\u7684\u573a\u666f\u4e0b\u9009\u62e9\u4e0d\u540c\u7684\u8fc7\u6e21\u6280\u672f\uff1a<\/p>\n<ul>\n<li>\n<p>\u5bf9\u4e8e\u65b0\u5efa\u4e1a\u52a1\u7cfb\u7edf\u7684\u573a\u666f\uff0c\u63a8\u8350\u91c7\u7528\u53cc\u6808\u6280\u672f\uff0c\u5b83\u540c\u65f6\u652f\u6301<code>IPv4<\/code>\u548c<code>IPv6<\/code>\uff1b<\/p>\n<\/li>\n<li>\n<p>\u5bf9\u4e8e\u591a\u4e2a\u5b64\u7acb<code>IPv6<\/code>\u7f51\u7edc\u4e92\u901a\u7684\u573a\u666f\uff0c\u5982\u591a\u4e2a<code>IPv6<\/code>\u6570\u636e\u4e2d\u5fc3\u7684\u4e92\u8054\uff0c\u53ef\u4ee5\u91c7\u7528\u96a7\u9053\u6280\u672f\uff0c\u8ba9<code>IPv6<\/code>\u6570\u636e\u5c01\u88c5\u5230<code>IPv4<\/code>\u7f51\u7edc\u4e0a\u4f20\u8f93\uff0c\u4ee5\u51cf\u5c11\u90e8\u7f72\u7684\u6210\u672c\u548c\u538b\u529b\uff1b<\/p>\n<\/li>\n<li>\n<p>\u5bf9\u4e8e\u5df2\u7ecf\u4e0a\u7ebf\u7684\u4e1a\u52a1\u7cfb\u7edf\uff0c\u82e5\u4e0d\u65b9\u4fbf\u6539\u9020\u6210\u53cc\u6808\uff0c\u53ef\u4ee5\u91c7\u7528\u5730\u5740\u534f\u8bae\u8f6c\u6362\u6280\u672f\u3002<\/p>\n<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u4eceIPv4\u8fc7\u6e21\u5230IPv6\u5c31\u50cf\u662f\u6253\u7834\u4e00\u4e2a\u65e7\u4e16\u754c\uff0c\u5f00\u521b\u4e00\u4e2a\u65b0\u672a\u6765\uff0c\u6ce8\u5b9a\u8981\u7ecf\u5386\u4e00\u4e2a\u957f\u671f\u7684\u8fc7\u7a0b\uff0c\u4f46\u7ec8\u7a76\u4f1a\u5b9e\u73b0\u3002\u4e3b\u8981\u5bf9\u53cc&#8230; &raquo; <a class=\"read-more-link\" href=\"http:\/\/blue.yn.cn\/?p=1130\">\u9605\u8bfb\u5168\u6587<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17],"tags":[],"class_list":["post-1130","post","type-post","status-publish","format-standard","hentry","category-ipv6"],"_links":{"self":[{"href":"http:\/\/blue.yn.cn\/index.php?rest_route=\/wp\/v2\/posts\/1130","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/blue.yn.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blue.yn.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blue.yn.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/blue.yn.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1130"}],"version-history":[{"count":7,"href":"http:\/\/blue.yn.cn\/index.php?rest_route=\/wp\/v2\/posts\/1130\/revisions"}],"predecessor-version":[{"id":1150,"href":"http:\/\/blue.yn.cn\/index.php?rest_route=\/wp\/v2\/posts\/1130\/revisions\/1150"}],"wp:attachment":[{"href":"http:\/\/blue.yn.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1130"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blue.yn.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1130"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blue.yn.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1130"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}