{"id":97033,"date":"2020-05-02T03:42:36","date_gmt":"2020-05-01T19:42:36","guid":{"rendered":"http:\/\/4563.org\/?p=97033"},"modified":"2020-05-02T03:42:36","modified_gmt":"2020-05-01T19:42:36","slug":"%e5%88%86%e4%ba%ab%e8%80%81%e6%af%9b%e5%ad%90-padvan-%e5%bc%80%e5%90%af-ipv6-%e6%b3%95","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=97033","title":{"rendered":"\u5206\u4eab\u8001\u6bdb\u5b50 padvan \u5f00\u542f ipv6 \u6cd5"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u5206\u4eab\u8001\u6bdb\u5b50 padvan \u5f00\u542f ipv6 \u6cd5               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : ps1aniuge <\/span>  <span><i><\/i> 153<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\">                        1 \u9ad8\u7ea7&#8212;\u300b\u5916\u90e8\u7f51\u7edc wan&#8212;\u300b ipv6 \u4e2d\uff1a<br \/>IPv6 \u8fde\u63a5\u7c7b\u578b:=====native dhcp6<br \/>\u83b7\u53d6 IPv6 \u5916\u7f51\u5730\u5740:========stateless ra<br \/>\u542f\u7528\u9690\u79c1\u6269\u5c55 (RFC 4941)======\u5426<br \/>\u81ea\u52a8\u83b7\u53d6 IPv6 DNS:=====\u5f00<br \/>\u901a\u8fc7 DHCPv6 \u83b7\u53d6\u5185\u7f51 IPv6 \u5730\u5740:======\u5f00 <br \/>\u542f\u7528 LAN \u8def\u7531\u5668\u901a\u544a=====\u5f00<br \/>\u542f\u7528 LAN DHCPv6 \u670d\u52a1\u5668:======stateless<\/p>\n<p>2 \u5185\u90e8\u7f51\u7edc&#8212;\u300b dhcp&#8212;\u300b dhcp \u8be6\u7ec6\u4fe1\u606f===dhcp4<br \/>\u91cd\u542f\uff0c\u6b64\u65f6\uff0c\u7f51\u7edc\u5730\u56fe&#8212;\u300b\u5916\u90e8\u7f51\u7edc\u72b6\u6001&#8212;\u300b\u5916\u7f51 ipv6 \u6709 ip\uff0c\u5185\u7f51 ipv6\uff0c\u65e0 ip\u3002<\/p>\n<p>3 \u6269\u5c55\u529f\u80fd&#8212;\u300b\u914d\u7f6e\u6269\u5c55\u73af\u5883&#8212;\u300b opt \u73af\u5883&#8212;\u300b<br \/>\u542f\u7528 opt \u81ea\u52a8\u66f4\u65b0====\u5f00<br \/>\u542f\u7528 \u6269\u5c55\u811a\u672c \u81ea\u52a8\u66f4\u65b0=====\u5f00 <br \/>opt \u5f3a\u5236\u5b89\u88c5======\u5f00<\/p>\n<p>4ssh \u8fde\u63a5\u5230\u8def\u7531\u5668\u540e\uff0c\u8fd0\u884c\uff1a<br \/>opkg update<br \/>opkg install 6relayd<\/p>\n<p>5\u201c\u9ad8\u7ea7\u8bbe\u7f6e\u201d&#8212;\u300b\u201c\u81ea\u5b9a\u4e49\u8bbe\u7f6e\u201d&#8212;\u300b\u201c\u811a\u672c\u201d&#8212;\u300b\u201c\u5728\u8def\u7531\u5668\u542f\u52a8\u4e4b\u540e\u6267\u884c\u201d<br \/>\/opt\/sbin\/6relayd -d -A eth3 br0<br \/>#\u8fd9\u91cc\u4e0d\u4e00\u5b9a\u662f eth3\uff0c\u7528 ifconfig \u67e5\u770b\u5185\u7f51\u7f51\u5361<\/p>\n<p>6 \u9ad8\u7ea7&#8212;\u300b\u7cfb\u7edf\u7ba1\u7406&#8212;\u300b\u670d\u52a1&#8212;\u300b\u4efb\u52a1\u8ba1\u5212\uff1a<br \/>*\/2 * * * * \/bin\/ping -6 -c 2 ipv6.baidu.com<\/p>\n<p>\u91cd\u542f\uff0c\u7b49 2&#8212;&#8212;3 \u5206\u949f\u540e\uff0c\u6b64\u65f6\uff0c\u7f51\u7edc\u5730\u56fe&#8212;\u300b\u5916\u90e8\u7f51\u7edc\u72b6\u6001&#8212;\u300b\u5916\u7f51 ipv6 \u6709 ip\uff0c\u5185\u7f51 ipv6 \u6709 ip<\/p>\n<p>7 \u6d4b\u8bd5\uff1a<br \/>ping ipv6.baidu.com      <\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>0<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u5206\u4eab\u8001\u6bdb\u5b50 padvan \u5f00\u542f i&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/97033"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=97033"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/97033\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=97033"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=97033"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=97033"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}