{"id":481,"date":"2025-10-22T09:58:25","date_gmt":"2025-10-22T01:58:25","guid":{"rendered":"https:\/\/www.youvii.site\/?p=481"},"modified":"2025-10-22T09:58:25","modified_gmt":"2025-10-22T01:58:25","slug":"80slaachedhcpv6","status":"publish","type":"post","link":"https:\/\/www.youvii.site\/index.php\/archives\/80slaachedhcpv6","title":{"rendered":"8.0SLAAC\u548cDHCPv6"},"content":{"rendered":"<h1>8.SLAAC\u548cDHCPv6<\/h1>\n<p><strong>IPv6\u5730\u5740\uff1a<\/strong><\/p>\n<p>16\u8fdb\u5236\u6570\uff1a<\/p>\n<p>0000-0<\/p>\n<p>0001-1      1001-9<\/p>\n<p>0010-2      1010-A<\/p>\n<p>0011-3      1011-B<\/p>\n<p>0100-4      1100-C<\/p>\n<p>0101-5      1101-D<\/p>\n<p>0110-6      1110-E<\/p>\n<p>0111-7      1111-F<\/p>\n<p>1000-8<\/p>\n<p>16\u8fdb\u5236\u6570\u8868\u793a\uff0c128\u4f4d\u7684\u4e8c\u8fdb\u5236\uff0c\u524d64\u4f4d\u7f51\u7edc\u90e8\u5206\uff0c\u540e64\u4f4d\u4e3b\u673a\u90e8\u5206\uff08ID\uff09<\/p>\n<p>IPv6\u5730\u5740\u5206\u7c7b\uff1a<\/p>\n<p>\u5355\u64ad\u5730\u5740\uff08GUA\uff09\uff1a\u6807\u8bc6\u4e00\u4e2a\u63a5\u53e3\uff0c\u4e00\u5bf9\u4e00\u5173\u7cfb\uff0c\u5411\u6307\u5b9a\u76ee\u6807\u4f20\u8f93<\/p>\n<div class=\"table-responsive\"><table class=\"table\" >\n<thead>\n<tr>\n<th>3bits<\/th>\n<th>45bits<\/th>\n<th>16bits<\/th>\n<th>64bits<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>001<\/td>\n<td>\u5168\u5c40\u8def\u7531\u524d\u7f00<\/td>\n<td>\u5b50\u7f51<\/td>\n<td>\u63a5\u53e3ID<\/td>\n<\/tr>\n<\/tbody>\n<\/table><\/div>\n<p>\u53d6\u503c\u8303\u56f4\u4e3a2000::0\u52303FFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF<\/p>\n<p>ULA\uff1aipv6\u79c1\u6709\u5730\u5740\uff0c\u53ea\u80fd\u591f\u5728\u5185\u7f51\u4e2d\u4f7f\u7528\u3002FC00::\/7,\u5206\u4e3a\u4e24\u5757\uff0cFC00:\/8\u672a\u5b9a\u4e49\uff0c\u5176\u5b9a\u4e49\u5982\u4e0b\uff1a<\/p>\n<div class=\"table-responsive\"><table class=\"table\" >\n<thead>\n<tr>\n<th>8bits<\/th>\n<th>40bits<\/th>\n<th>16bits<\/th>\n<th>64bits<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>1111 1100<\/td>\n<td>Global ID\uff08\u968f\u673a\uff09<\/td>\n<td>\u5b50\u7f51<\/td>\n<td>\u63a5\u53e3ID<\/td>\n<\/tr>\n<\/tbody>\n<\/table><\/div>\n<p>LLA\uff1a\u672c\u5730\u94fe\u8def\u5730\u5740\uff0c\u53ea\u4f5c\u7528\u5728\u672c\u5730\u94fe\u8def\u4e2d\uff0c\u53ef\u7528\u4e8e\u81ea\u52a8\u5730\u5740\u914d\u7f6e\uff0c\u8def\u7531\u90bb\u5c45\u53d1\u73b0\uff0c\u8def\u7531\u5668\u53d1\u73b0\uff0c FE80\u5f00\u5934<\/p>\n<div class=\"table-responsive\"><table class=\"table\" >\n<thead>\n<tr>\n<th>10bits<\/th>\n<th>54bits<\/th>\n<th>64bits<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>1111 1110 10<\/td>\n<td>0<\/td>\n<td>\u63a5\u53e3ID\uff08EUI-64\uff09<\/td>\n<\/tr>\n<\/tbody>\n<\/table><\/div>\n<p>ff02::\u5168\u8282\u70b9<\/p>\n<p>ff02::\u5168\u8def\u7531<\/p>\n<p><strong><br \/>\n<\/strong><\/p>\n<p><strong>\u65e0\u72b6\u6001\u5730\u5740\u81ea\u52a8\u914d\u7f6e(SLAAC)\u6216DHCPv6<\/strong><\/p>\n<p><strong><br \/>\n<\/strong><\/p>\n<p>\u5728\u8def\u7531\u5668\u4e0a \u53ef\u4ee5\u4f7f\u7528\u63a5\u53e3\u914d\u7f6e\u547d\u4ee4 IPv6 address ipv6-address\/prefix-length \u624b\u52a8\u914d\u7f6eIPv6\u5168\u5c40\u5355\u8584\u5730\u5740\uff08GUA\uff09<\/p>\n<p>windows\u4e3b\u673a\u4e5f\u53ef\u4ee5\u624b\u52a8\u914d\u7f6eIPv6 GUA<\/p>\n<p>\u624b\u52a8\u914d\u7f6eIPv6 GUA \u8017\u65f6\uff0c\u4e14\u5bb9\u6613\u51fa\u9519\u6240\u4ee5\u66f4\u591a\u60c5\u51b5\u4e0b\u4f7f\u7528\u52a8\u6001\u83b7\u53d6IPv6 GUA \uff08DHCPv6\uff09<\/p>\n<p><strong>IPv6\u4e3b\u673a\u94fe\u8def\u672c\u5730\u5730\u5740<\/strong><\/p>\n<p>\u5728\u9009\u62e9IPv6\u7f16\u5740\u4e4b\u540e\uff0c\u4e3b\u673a\u5c31\u4f1a\u5c1d\u8bd5\u5728\u63a5\u53e3\u4e0a\u81ea\u52a8\u83b7\u53d6\u548c\u914d\u7f6eIPv6\u5730\u5740\u4fe1\u606f\u3002\u4e3b\u673a\u5c06\u4f7f\u7528\u63a5\u53e3\u4e0a\u63a5\u6536\u5230\u7684\u4e92\u8054\u7f51\u63a7\u5236\u6d88\u606f\u534f\u8bae\u7248\u672c6\uff08ICMPv6\uff09\u8def\u7531\u5668\u901a\u544a\uff08RA\uff09\u6d88\u606f\u5b9a\u4e49\u7684\u4e09\u79cd\u65b9\u6cd5\u4e4b\u4e00\u3002\u4e0e\u4e3b\u673a\u5904\u4e8e\u540c\u4e00\u94fe\u8def\u4e0a\u7684IPv6\u8def\u7531\u4f1a\u53d1\u9001RA\u6d88\u606f\uff0c\u901a\u8fc7\u8fd9\u79cd\u6d88\u606f\u6765\u5efa\u8bae\u4e3b\u673a\u5982\u4f55\u83b7\u53d6IPv6\u5bfb\u5740\u4fe1\u606f\u3002\u5728\u4e3b\u673a\u542f\u52a8\u5e76\u4e14\u4ee5\u592a\u7f51\u63a5\u53e3\u5904\u4e8eup\u65f6\uff0cipv6\u94fe\u8def\u672c\u5730\u5730\u5740\u5c31\u4f1a\u81ea\u52a8\u521b\u5efa\u51fa\u6765\u3002<\/p>\n<p><font style=\"color:#dfdfdf;background-color:#23241f;\">C:PC1&gt; <\/font><strong><font style=\"color:#ffffff;background-color:#23241f;\">ipconfig                       <\/font><\/strong><\/p>\n<p><font style=\"color:#dfdfdf;background-color:#23241f;\">Windows IP Configuration                  <\/font><\/p>\n<p><font style=\"color:#dfdfdf;background-color:#23241f;\">Ethernet adapter Ethernet0:                   <\/font><\/p>\n<p><font style=\"color:#dfdfdf;background-color:#23241f;\">Connection-specific DNS Suffix . :                    <\/font><\/p>\n<p><font style=\"color:#dfdfdf;background-color:#23241f;\">IPv6 Address. . . . . . . . . . . :                   <\/font><\/p>\n<p><font style=\"color:#dfdfdf;background-color:#23241f;\">Link-local IPv6 Address . . . . . : <\/font><font style=\"color:#fbab18;background-color:#23241f;\">fe80::fb:1d54:839f:f595<\/font><font style=\"color:#dfdfdf;background-color:#23241f;\">%21  <\/font><\/p>\n<p><font style=\"color:#dfdfdf;background-color:#23241f;\">IPv4 Address. . . . . . . . . . . : 169.254.202.140           <\/font><\/p>\n<p><font style=\"color:#dfdfdf;background-color:#23241f;\">Subnet Mask . . . . . . . . . . . : 255.255.0.0           <\/font><\/p>\n<p><font style=\"color:#dfdfdf;background-color:#23241f;\">Default Gateway . . . . . . . . . :               <\/font><\/p>\n<p><font style=\"color:#dfdfdf;background-color:#23241f;\">C:PC1&gt;                           <\/font><\/p>\n<p><font style=\"color:#58585b;background-color:#ffffff;\">\u5728\u56fe\u4e2d\uff0c\u8bf7\u6ce8\u610f\u8fd9\u4e2a\u63a5\u53e3\u6ca1\u6709\u521b\u5efa IPv6 GUA\u3002\u8fd9\u662f\u56e0\u4e3a\u5728\u8fd9\u4e2a\u793a\u4f8b\u4e2d\uff0c\u8be5\u7f51\u6bb5\u5e76\u6ca1\u6709\u8def\u7531\u5668\u4e3a\u4e3b\u673a\u63d0\u4f9b\u7f51\u7edc\u914d\u7f6e\u7684\u5efa\u8bae\u3002<\/font><\/p>\n<p><strong><font style=\"color:#58585b;background-color:#ffffff;\">\u6ce8\u610f:<\/font><\/strong><font style=\"color:#58585b;background-color:#ffffff;\"> \u4e3b\u673a\u64cd\u4f5c\u7cfb\u7edf\u5728\u663e\u793a\u94fe\u8def\u672c\u5730\u5730\u5740\u65f6\uff0c\u6709\u65f6\u4f1a\u9644\u5e26\u201c%\u201d\u548c\u4e00\u4e2a\u6570\u5b57\u3002\u8fd9\u4e2a\u6570\u5b57\u79f0\u4e3a\u533a\u57df ID \u6216\u8303\u56f4 ID\u3002\u64cd\u4f5c\u7cfb\u7edf\u4f7f\u7528\u5b83\u628a LLA \u4e0e\u7279\u5b9a\u63a5\u53e3\u8fdb\u884c\u5173\u8054\u3002<\/font><\/p>\n<p><font style=\"color:#58585b;\"><br \/>\n<\/font><\/p>\n<p><strong><font style=\"color:#000000;background-color:#ffffff;\">IPv6 GUA\uff08\u5168\u5c40\u5355\u64ad\u5730\u5740\uff09\u5206\u914d<\/font><\/strong><\/p>\n<p><font style=\"color:#000000;background-color:#ffffff;\">IPv6\u5728\u8bbe\u8ba1\u4e0a\u7b80\u5316\u4e86\u4e3b\u673a\u83b7\u53d6IPv6\u914d\u7f6e\u7684\u65b9\u5f0f\u3002\u9ed8\u8ba4\u4e0b\uff0c\u542f\u7528\u4e86IPv6\u7684\u8def\u7531\u4f1a\u901a\u544a\u81ea\u5df1\u7684IPv6\u4fe1\u606f\u3002\u8fd9\u53ef\u4ee5\u8ba9\u4e3b\u673a\u80fd\u52a8\u6001\u521b\u5efa\u6216\u83b7\u53d6\u81ea\u5df1\u7684IPv6\u914d\u7f6e<\/font><\/p>\n<p><font style=\"color:#000000;\"><br \/>\n<\/font><\/p>\n<p><font style=\"color:#000000;background-color:#ffffff;\">IPv6 GUA \uff08\u5168\u5c40\u5355\u64ad\u5730\u5740\uff09\u53ef\u4ee5\u4f7f\u7528\u65e0\u72b6\u6001\u6216\u6709\u72b6\u6001\u7684\u670d\u52a1\u6765\u5b8c\u6210\u52a8\u6001\u5206\u914d\uff0c\u5982\u56fe\u6240\u793a<\/font><\/p>\n<p><img loading="lazy" decoding="async" decoding=\"async\"  src=\"https:\/\/www.youvii.site\/wp-content\/themes\/lolimeow-lolimeowV13.13\/assets\/images\/loading.gif\" data-src=\"https:\/\/cdn.picui.cn\/vip\/2025\/10\/22\/68f835f26460c.png\" class=\"lazy\" loading=\"lazy\" alt=\"1741671769154-76236f6d-26a4-45e8-a3f5-05cb811cfa5f.png\" \/><\/p>\n<p><font style=\"color:#000000;background-color:#ffffff;\">\u672c\u6a21\u5757\u4e2d\u7684\u6240\u6709\u65e0\u72b6\u6001\u548c\u6709\u72b6\u6001\u7684\u65b9\u6cd5\u90fd\u4f7f\u7528 ICMPv6 RA \u6d88\u606f\u5411\u4e3b\u673a\u5efa\u8bae\u5982\u4f55\u521b\u5efa\u6216\u83b7\u53d6\u5176 IPv6 \u914d\u7f6e\u3002\u867d\u7136\u4e3b\u673a\u64cd\u4f5c\u7cfb\u7edf\u9075\u5faa\u4e86 RA \u7684\u5efa\u8bae\uff0c\u4f46\u5b9e\u9645\u51b3\u5b9a\u6700\u7ec8\u53d6\u51b3\u4e8e\u4e3b\u673a\u3002<\/font><\/p>\n<p><font style=\"color:#000000;\"><br \/>\n<\/font><\/p>\n<p><strong><font style=\"color:#000000;background-color:#ffffff;\">\u4e09\u4e2aRA\u6d88\u606f\u6807\u8bb0<\/font><\/strong><\/p>\n<p><font style=\"color:#000000;background-color:#ffffff;\">\u5ba2\u6237\u7aef\u5982\u4f55\u83b7\u53d6IPv6\u5168\u5c40\u5355\u64ad\u5730\u5740\u53d6\u51b3\u4e8eRA\u6d88\u606f\u4e2d\u7684\u8bbe\u7f6e\u3002<\/font><\/p>\n<p><font style=\"color:#000000;\"><br \/>\n<\/font><\/p>\n<p><font style=\"color:#000000;background-color:#ffffff;\">ICMPv6 RA\u6d88\u606f\u5305\u542b\u4e0b\u5217\u4e09\u4e2a\u6807\u8bb0\uff0c\u4ed6\u4eec\u7684\u4f5c\u7528\u662f\u8868\u793a\u51fa\u4e3b\u673a\u53ef\u7528\u7684\u52a8\u6001\u53ef\u9009\u9879\uff1a<\/font><\/p>\n<p><font style=\"color:#000000;\"><br \/>\n<\/font><\/p>\n<p><strong><font style=\"color:#000000;background-color:#ffffff;\">A\u6807\u8bb0<\/font><\/strong><font style=\"color:#000000;background-color:#ffffff;\">-\u5730\u5740\u81ea\u52a8\u914d\u7f6e\u6807\u8bb0\uff08Address Autoconfiguration\uff09\u3002\u4f7f\u7528\u65e0\u72b6\u6001\u5730\u5740\u81ea\u52a8\u914d\u7f6e\uff08SLAAC\uff09\u6765\u521b\u5efaIPv6<\/font><\/p>\n<p><font style=\"color:#000000;\"><br \/>\n<\/font><\/p>\n<p><strong><font style=\"color:#000000;background-color:#ffffff;\">O\u6807\u8bb0<\/font><\/strong><font style=\"color:#000000;background-color:#ffffff;\">-\u8fd9\u662f\u5176\u4ed6\u914d\u7f6e\u6807\u8bb0\uff08Other Configuration\uff09\u5176\u4ed6\u4fe1\u606f\u53ef\u4ee5\u4ece\u65e0\u72b6\u6001\u7684DHCPv6\u670d\u52a1\u5668\u90a3\u91cc\u83b7\u53d6\u3002<\/font><\/p>\n<p><font style=\"color:#000000;\"><br \/>\n<\/font><\/p>\n<p><strong><font style=\"color:#000000;background-color:#ffffff;\">M\u6807\u8bb0<\/font><\/strong><font style=\"color:#000000;background-color:#ffffff;\">-\u8fd9\u662f\u88ab\u7ba1\u7406\u5730\u5740\u914d\u7f6e\uff08Managed Address Configuration\uff09\u4f7f\u7528\u6709\u72b6\u6001\u7684DHCPv6\u670d\u52a1\u5668\u6765\u83b7\u53d6IPv6\u5168\u5c40\u5355\u64ad\u5730\u5740\u3002<\/font><\/p>\n<p><font style=\"color:#000000;\"><br \/>\n<\/font><\/p>\n<p><font style=\"color:#000000;background-color:#ffffff;\">RA\u6d88\u606f\u53ef\u4ee5\u4f7f\u7528A\u3001O\u3001M\u6807\u8bb0\u7684\u4e0d\u540c\u7ec4\u5408\uff0c\u6765\u901a\u77e5\u4e3b\u673a\u53ef\u7528\u7684\u52a8\u6001\u53ef\u9009\u9879\uff1a<\/font><\/p>\n<p><img loading="lazy" decoding="async" decoding=\"async\"  src=\"https:\/\/www.youvii.site\/wp-content\/themes\/lolimeow-lolimeowV13.13\/assets\/images\/loading.gif\" data-src=\"https:\/\/cdn.picui.cn\/vip\/2025\/10\/22\/68f835f4c1ad8.png\" class=\"lazy\" loading=\"lazy\" alt=\"1741671769125-2d51ea3c-71d7-4b1f-8575-46d6e11c9322.png\" \/><\/p>\n<blockquote>\n<p>\u66f4\u65b0: 2025-03-11 13:42:50<br \/>\n\u539f\u6587: <a href=\"https:\/\/www.yuque.com\/yuhui.net\/network\/tan2w39h3bhxk66c\">https:\/\/www.yuque.com\/yuhui.net\/network\/tan2w39h3bhxk66c<\/a><\/p>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>8.SLAAC\u548cDHCPv6 IPv6\u5730\u5740\uff1a 16\u8fdb\u5236\u6570\uff1a 0000-0 0001-1 1001-9 0010-2 1010-A 0011-3 1011-B 0100-4 1100-C 0101-5 1101-D 0110-6 1110-E 0111-7 1111-F 1000-8 16\u8fdb\u5236\u6570\u8868\u793a\uff0c128\u4f4d\u7684\u4e8c\u8fdb\u5236\uff0c\u524d64\u4f4d\u7f51\u7edc\u90e8\u5206\uff0c\u540e64\u4f4d\u4e3b\u673a\u90e8\u5206\uff08ID\uff09 IPv6\u5730\u5740\u5206\u7c7b\uff1a \u5355\u64ad\u5730\u5740\uff08GUA\uff09 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[61,3],"tags":[79,85],"class_list":["post-481","post","type-post","status-publish","format-standard","hentry","category-ciscoluyouyujiaohuan","category-interface","tag-shiyan","tag-cisco"],"_links":{"self":[{"href":"https:\/\/www.youvii.site\/index.php\/wp-json\/wp\/v2\/posts\/481","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.youvii.site\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.youvii.site\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.youvii.site\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.youvii.site\/index.php\/wp-json\/wp\/v2\/comments?post=481"}],"version-history":[{"count":0,"href":"https:\/\/www.youvii.site\/index.php\/wp-json\/wp\/v2\/posts\/481\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.youvii.site\/index.php\/wp-json\/wp\/v2\/media?parent=481"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.youvii.site\/index.php\/wp-json\/wp\/v2\/categories?post=481"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.youvii.site\/index.php\/wp-json\/wp\/v2\/tags?post=481"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}