{"id":6390,"date":"2016-08-16T12:55:52","date_gmt":"2016-08-16T03:55:52","guid":{"rendered":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/?p=6390"},"modified":"2016-08-16T12:55:52","modified_gmt":"2016-08-16T03:55:52","slug":"%e3%81%aa%e3%82%93%e3%81%a8%e3%82%82%e4%b8%8d%e5%8f%af%e8%a7%a3%e3%81%aaipv6","status":"publish","type":"post","link":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/?p=6390","title":{"rendered":"\u306a\u3093\u3068\u3082\u4e0d\u53ef\u89e3\u306aIPv6"},"content":{"rendered":"<h2>&#12394;&#12435;&#12392;&#12418;&#19981;&#21487;&#35299;<\/h2>\n<p>IPv6&#12398;&#12523;&#12540;&#12486;&#12451;&#12531;&#12464;&#12395;&#12388;&#12356;&#12390;&#12399;&#65292;&#12394;&#12435;&#12392;&#12418;&#19981;&#21487;&#35299;&#12391;&#12354;&#12427;&#65294;&#20197;&#19979;&#12398;&#35441;&#12399;&#65292;&#21442;&#32771;&#12522;&#12531;&#12463;&#12395;&#25369;&#12370;&#12383;&#65292;Andy&#12373;&#12435;&#12398;&#65292;On Going Struggle&#12398;&#35352;&#20107;&#12395;&#12424;&#12427;&#65288;&#19968;&#37096;&#33258;&#20998;&#12391;&#30906;&#35469;&#12375;&#12390;&#24773;&#22577;&#12434;&#36861;&#21152;&#65289;&#65294;<\/p>\n<h2>Stateless Address Auto-Configuration (SLAAC)<\/h2>\n<p>Linux Kernel&#12364;&#65292;&#12523;&#12540;&#12479;&#12540;&#12514;&#12540;&#12489;&#12391;&#12394;&#12356;&#12392;&#21028;&#26029;&#12375;&#12383;&#12425;&#65292;SLAAC&#12364;&#21177;&#12356;&#12390;&#65292;IP&#12450;&#12489;&#12524;&#12473;&#65288;IPv6&#12398;&#12450;&#12489;&#12524;&#12473;&#65294;&#20197;&#24460;&#12418;&#26029;&#12426;&#12394;&#12369;&#12428;&#12400;IPv6&#38480;&#23450;&#12398;&#35441;&#65289;&#12398;&#21462;&#24471;&#12392;&#12523;&#12540;&#12486;&#12451;&#12531;&#12464;&#12434;&#34892;&#12358;&#12364;&#65292;&#12523;&#12540;&#12479;&#12540;&#12514;&#12540;&#12489;&#12395;&#12394;&#12427;&#12392;&#65292;SLAAC&#12399;&#28961;&#21177;&#12395;&#12394;&#12387;&#12390;&#65292;&#21508;&#12452;&#12531;&#12479;&#12540;&#12501;&#12455;&#12540;&#12473;&#12398;IP&#12450;&#12489;&#12524;&#12473;&#12392;&#12523;&#12540;&#12488;&#12434;&#25163;&#21205;&#12391;&#35373;&#23450;&#12375;&#12394;&#12362;&#12377;&#24517;&#35201;&#12364;&#20986;&#12390;&#12367;&#12427;&#65294;<\/p>\n<p>&#12391;&#12399;&#65292;&#12393;&#12398;&#12424;&#12358;&#12395;&#12523;&#12540;&#12479;&#12540;&#12514;&#12540;&#12489;&#12391;&#12354;&#12427;&#12363;&#21028;&#26029;&#12377;&#12427;&#12363;&#12392;&#12356;&#12358;&#12392;&#65292;<strong>\/proc\/sys\/net\/ipv6\/conf\/all\/forwarding<\/strong>&#12364;1&#12398;&#26178;&#65292;&#12388;&#12414;&#12426;&#65292;<\/p>\n<pre>echo 1 &gt; \/proc\/sys\/net\/ipv6\/conf\/all\/forwarding<\/pre>\n<p>&#12364;&#23455;&#34892;&#12373;&#12428;&#12427;&#12392;&#12523;&#12540;&#12479;&#12540;&#12514;&#12540;&#12489;&#12395;&#12394;&#12427;&#65294;&#12371;&#12398;&#12467;&#12510;&#12531;&#12489;&#12434;&#23455;&#34892;&#12375;&#12383;&#12425;&#65292;&#21508;&#12452;&#12531;&#12479;&#12540;&#12501;&#12455;&#12540;&#12473;&#12398;IP&#12450;&#12489;&#12524;&#12473;&#12392;&#12523;&#12540;&#12488;&#12434;&#25163;&#21205;&#12391;&#35373;&#23450;&#12375;&#12394;&#12369;&#12428;&#12400;&#12394;&#12425;&#12394;&#12356;&#65294;<\/p>\n<h2>&#12523;&#12540;&#12479;&#12540;&#12391;&#12418;SLAAC<\/h2>\n<p>&#12383;&#12384;&#12375;&#65292;Linux Kernel 2.6.37&#20197;&#38477;&#12391;&#12399;&#65292;&#12523;&#12540;&#12479;&#12540;&#12514;&#12540;&#12489;&#12391;&#12418;SLAAC&#12434;&#27963;&#12363;&#12377;&#12371;&#12392;&#12364;&#12391;&#12365;&#12427;&#12392;&#12356;&#12358;&#12371;&#12392;&#12391;&#12354;&#12427;&#65294;&#12381;&#12398;&#12383;&#12417;&#12395;&#12399;&#65292;<\/p>\n<pre>echo 2 &gt; \/proc\/sys\/net\/ipv6\/conf\/&lt;IF name&gt;\/accept_ra<\/pre>\n<p>&#12392;&#12377;&#12427;&#12392;&#12356;&#12358;&#12371;&#12392;&#12391;&#12354;&#12427;&#65294;&#26412;&#26469;&#12399;&#12496;&#12452;&#12490;&#12522;&#12540;&#12394;&#12398;&#12395;&rdquo;2&Prime;&#12434;&#26360;&#12365;&#36796;&#12416;&#65294;<\/p>\n<p><strong>&lt;IF name&gt;<\/strong>&#12399;&rdquo;all&rdquo;&#12391;&#12399;&#21177;&#26524;&#12364;&#12394;&#12367;&#65292;&#12381;&#12428;&#12382;&#12428;&#12398;&#12452;&#12531;&#12479;&#12540;&#12501;&#12455;&#12540;&#12473;&#12372;&#12392;&#12395;&#34892;&#12358;&#24517;&#35201;&#12364;&#12354;&#12427;&#12424;&#12358;&#12384;&#65294;<\/p>\n<h2>&#21442;&#32771;&#12506;&#12540;&#12472;<\/h2>\n<p>Andy&#12373;&#12435;&#12398;&#65292;&rdquo;The Ongoing Struggle&rdquo;&#12363;&#12425;&#65292;<\/p>\n<ul>\n<li><a href=\"http:\/\/strugglers.net\/~andy\/blog\/2011\/09\/04\/linux-ipv6-router-advertisements-and-forwarding\/\">http:\/\/strugglers.net\/~andy\/blog\/2011\/09\/04\/linux-ipv6-router-advertisements-and-forwarding\/<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u306a\u3093\u3068\u3082\u4e0d\u53ef\u89e3 IPv6\u306e\u30eb\u30fc\u30c6\u30a3\u30f3\u30b0\u306b\u3064\u3044\u3066\u306f\uff0c\u306a\u3093\u3068\u3082\u4e0d\u53ef\u89e3\u3067\u3042\u308b\uff0e\u4ee5\u4e0b\u306e\u8a71\u306f\uff0c\u53c2\u8003\u30ea\u30f3\u30af\u306b\u6319\u3052\u305f\uff0cAndy\u3055\u3093\u306e\uff0cOn Going Struggle\u306e\u8a18\u4e8b\u306b\u3088\u308b\uff08\u4e00\u90e8\u81ea\u5206\u3067\u78ba\u8a8d\u3057\u3066\u60c5\u5831\u3092\u8ffd\u52a0\uff09\uff0e Stateless Address Auto-Configuration (SLAAC) Linux Kernel\u304c\uff0c\u30eb\u30fc\u30bf\u30fc\u30e2\u30fc\u30c9\u3067\u306a\u3044\u3068\u5224\u65ad\u3057\u305f\u3089\uff0cSLAAC\u304c\u52b9\u3044\u3066\uff0cIP\u30a2\u30c9\u30ec\u30b9\uff08IPv6\u306e\u30a2\u30c9\u30ec\u30b9\uff0e\u4ee5\u5f8c\u3082\u65ad\u308a\u306a\u3051\u308c\u3070IPv6\u9650\u5b9a\u306e\u8a71\uff09\u306e\u53d6\u5f97\u3068\u30eb\u30fc\u30c6\u30a3\u30f3\u30b0\u3092\u884c\u3046\u304c\uff0c\u30eb\u30fc\u30bf\u30fc\u30e2\u30fc\u30c9\u306b\u306a\u308b\u3068\uff0cSLAAC\u306f\u7121\u52b9\u306b\u306a\u3063\u3066\uff0c\u5404\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u306eIP\u30a2\u30c9\u30ec\u30b9\u3068\u30eb\u30fc\u30c8\u3092\u624b\u52d5\u3067\u8a2d\u5b9a\u3057\u306a\u304a\u3059\u5fc5\u8981\u304c\u51fa\u3066\u304f\u308b\uff0e \u3067\u306f\uff0c\u3069\u306e\u3088\u3046\u306b\u30eb\u30fc\u30bf\u30fc\u30e2\u30fc\u30c9\u3067\u3042\u308b\u304b\u5224\u65ad\u3059\u308b\u304b\u3068\u3044\u3046\u3068\uff0c\/proc\/sys\/net\/ipv6\/conf\/all\/forwarding\u304c1\u306e\u6642\uff0c\u3064\u307e\u308a\uff0c echo 1 &gt; \/proc\/sys\/net\/ipv6\/conf\/all\/forwarding \u304c\u5b9f\u884c\u3055\u308c\u308b\u3068\u30eb\u30fc\u30bf\u30fc\u30e2\u30fc\u30c9\u306b\u306a\u308b\uff0e\u3053\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u305f\u3089\uff0c\u5404\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u306eIP\u30a2\u30c9\u30ec\u30b9\u3068\u30eb\u30fc\u30c8\u3092\u624b\u52d5\u3067\u8a2d\u5b9a\u3057\u306a\u3051\u308c\u3070\u306a\u3089\u306a\u3044\uff0e \u30eb\u30fc\u30bf\u30fc\u3067\u3082SLAAC \u305f\u3060\u3057\uff0cLinux Kernel 2.6.37\u4ee5\u964d\u3067\u306f\uff0c\u30eb\u30fc\u30bf\u30fc\u30e2\u30fc\u30c9\u3067\u3082SLAAC\u3092\u6d3b\u304b\u3059\u3053\u3068\u304c\u3067\u304d\u308b\u3068\u3044\u3046\u3053\u3068\u3067\u3042\u308b\uff0e\u305d\u306e\u305f\u3081\u306b\u306f\uff0c echo 2 &gt; \/proc\/sys\/net\/ipv6\/conf\/&lt;IF name&gt;\/accept_ra \u3068\u3059\u308b\u3068\u3044\u3046\u3053\u3068\u3067\u3042\u308b\uff0e\u672c\u6765\u306f\u30d0\u30a4\u30ca\u30ea\u30fc\u306a\u306e\u306b&#8221;2&#8243;\u3092\u66f8\u304d\u8fbc\u3080\uff0e &lt;IF name&gt;\u306f&#8221;all&#8221;\u3067\u306f\u52b9\u679c\u304c\u306a\u304f\uff0c\u305d\u308c\u305e\u308c\u306e\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u3054\u3068\u306b\u884c\u3046\u5fc5\u8981\u304c\u3042\u308b\u3088\u3046\u3060\uff0e \u53c2\u8003\u30da\u30fc\u30b8 Andy\u3055\u3093\u306e\uff0c&#8221;The Ongoing Struggle&#8221;\u304b\u3089\uff0c http:\/\/strugglers.net\/~andy\/blog\/2011\/09\/04\/linux-ipv6-router-advertisements-and-forwarding\/<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_daextam_enable_autolinks":"","footnotes":""},"categories":[21,8],"tags":[240,260,400],"class_list":["post-6390","post","type-post","status-publish","format-standard","hentry","category-kvm","category-linux","tag-ipv6","tag-kernel","tag-slaac"],"publishpress_future_action":{"enabled":false,"date":"2026-06-02 07:17:21","action":"change-status","newStatus":"draft","terms":[],"taxonomy":"category","extraData":[]},"publishpress_future_workflow_manual_trigger":{"enabledWorkflows":[]},"_links":{"self":[{"href":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/index.php?rest_route=\/wp\/v2\/posts\/6390","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6390"}],"version-history":[{"count":0,"href":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/index.php?rest_route=\/wp\/v2\/posts\/6390\/revisions"}],"wp:attachment":[{"href":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6390"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6390"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6390"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}