IPv6 ã§ã¢ãã¬ã¹ã®æåè¨å®ã¯ã¤ã¤
IPv6 ã§ã¯ãã«ã¼ã¿ãéä¿¡ãã RAï¼Router Advirtisementï¼ã«ã¼ã¿åºåï¼ã®æ å ±ã«å«ã¾ãããã¬ãã£ãã¯ã¹ãããèªåçã«ã¢ãã¬ã¹ã決å®ããããã¨ãã話ã¯æåã§ããå®éãå人åã IPv6 ã§ãã家åºç¨ããã¼ãã³ãã«ã¼ã¿ã使ã£ãæã«ã端æ«å´ã«æ¯ããã IPv6 ã¢ãã¬ã¹ã¯ãã¾ãã«ãã®ä»çµã¿ã«ãããã®ã§ãã
ååãããã¡ãµã¼ãã«ã¯ãIPv4 ã®ãã©ã¤ãã¼ãã¢ãã¬ã¹ã«è©²å½ãã ULA ãæåã§ãã°ãã¼ãã«ãªã¢ãã¬ã¹ã«é¢ãã¦ã¯ RA ãåä¿¡ããä¸ã§èªåæ§æãããã¨ãã¾ããã
åãäºã¯ãã¯ã©ã¤ã¢ã³ãå´ã«ãå½ã¦ã¯ã¾ãã¾ãã
ã°ãã¼ãã«ãªã¢ãã¬ã¹ã¯ãã«ã¼ã¿ãåºåãã RA ã«ãã£ã¦èªåæ§æã¢ãã¬ã¹ãä»ä¸ããã¾ãããµã¼ãã¨åæ§ã« ULA ãæåã§è¨å®ãããã¨ããäºãå¯è½ã§ãããã¯ã£ããè¨ã£ã¦ã128 bit ã®ã¢ãã¬ã¹ãæå ¥åããã®ã¯æ·åã§ããã¾ããä¸åº¦è¨å®ããã°å¤ããäºã¯ãªãããããã¾ããããä¾ãã°ãã¼ã PC ã®ããã«ãèªå® å¤ã®ãããã¯ã¼ã¯ã«ã¤ãªãäºãèããæãèªåã§ã¢ãã¬ã¹ãå²ãå½ã¦ãããããã«ãã¦ããæ¹ããã¿ã¼ã§ã*1ã
IPv4 ã§èªåçã«ã¢ãã¬ã¹ãå²ãå½ã¦ãã®ã¯ DHCP ã®å½¹ç®ã§ãããIPv6 ã§ã¯åºæ¬çã« RA ã®å½¹ç®ã§ããã¨ããããRA ã IPv4 ã§ã® DHCP ã®å½¹å²ãç½®ãæããäºãã§ãããã¨ããã¨ã
- ããã¾ã§ããRA ãéç¥ãã¦ããã®ã¯ããããã¯ã¼ã¯ã¢ãã¬ã¹ã¯ããã§ãããã¨ãããã©ã«ãã²ã¼ãã¦ã§ã¤ã¯ããã§ãããã ãã
- æ ã« DNS ãµã¼ãããã¡ã¤ã³åã¯ç¯å²å¤ã
- ç¹å®ã®ãã¹ãã«ãæ¯åº¦ãåãã¢ãã¬ã¹ãä»ä¸ãããããªã¾ãã¯ã§ããªãã
ã¨ãã£ãå ·åã«ãå®å ¨ã«åä¸è¶³ã§ããDNS ã«é¢ãã¦è¨ãã°ãIPv4 ã® DHCP ã§ä»ä¸ããã°ãããã§ã OK ã§ãããIPv6 ã®è©±ããã¦ããæã«ãDNS 㯠IPv4 ã§ãã¨ããã®ãã¡ãã£ã¨ã©ãããªããã¨ãIPv4 ãå ¨ã使ãããªããã¨ããæ代ã¯é¥ãå *2ãªã®ã§ãå®ç¨ä¸ã¯ããã§ã OK ãªã®ã§ããããããªã¨ããã§å¦¥åããããããªããULA ãä»ãã¦ã¾ã§ãããã¡ãããã¯ã¼ã¯ã IPv6 åããæå³ããªãï¼
ã¨ãããã¨ã§ãDHCPv6 ã®ç»å ´ã§ãã
DHCPv6 ã¯åç¬ã§ã¯çããããªã
æ£ç´ãIPv4 ã® DHCP ã®ããã«ãDHCP ãµã¼ããæ£ããè¨å®ãã¦ããã° OKãã¨ããæ¹ã楽ã§ãããããªãããDHCPv6 ã¯ãåç¬ã§ã¯æå³ãæãã¾ãããDHCPv6 ã¯ããã¾ã§ RA ãè£ä½ããå½¹å²ã§ãã£ã¦ãRA ããã§ã«åºåããã¦ããäºã大åæã§ãã
ã¨ããäºã¯ãULA 㧠IPv4 ã§ã® DHCP ã®ãããªç°å¢ãä½ããã¨ããããã¾ãã¯ãULA ã®ãã¬ãã£ãã¯ã¹ã RA ã§åºåããå¿ è¦ãããã¾ãã
å®ã¯ãIPv6 ã®ã¤ã³ã¿ã¼ãããæ¥ç¶ç°å¢ããã£ã¦ããåã«ãããã¡ãµã¼ã㧠RA 㨠DHCPv6 ããããã¦ãã¾ããããã£ã¨ããããã¡ãããã¯ã¼ã¯ã®å¤ã« IPv6 ã®çµè·¯ãç¡ãã®ã«åºåãã¦ãããã¨ããã¤ãªã¼ã¬ã«ãªç¶æ ã§ããããDHCPv6 ã§ã®ã¢ãã¬ã¹é ä¿¡ã¯ã§ãã¦ãã¾ããã
IPv6 ã®ã¤ã³ã¿ã¼ãããæ¥ç¶ç°å¢ããã£ã¦ãããã¨ãããã¨ã¯ãRA ãéåºããã®ã¯ã«ã¼ã¿ã®å½¹ç®ã§ãªã®ã§ãã¾ãã¯ãã«ã¼ã¿ã« ULA ã®ã¢ãã¬ã¹ãèªèããã¦ãRA ã§åºåãããã¬ãã£ãã¯ã¹ã« ULA ã®ãã¬ãã£ãã¯ã¹ã追å ãããã¨ããå¿ è¦ãããã¾ãã
RA ã« ULA ãã¬ãã£ãã¯ã¹ã追å
å ·ä½çãªæé ã¯ãã«ã¼ã¿ã«ãã£ã¦æ§ã ã ã¨æãã¾ããå®éã¯åããã¾ããããLAN å´ã«ã«ã¼ã¿ã® IPv6 ã¢ãã¬ã¹ãæåã§è¿½å ããã¨ããã®ãã¬ãã£ãã¯ã¹ãèªåçã«åºåãã¦ãããããããã¾ããã
æã家ã®ã«ã¼ã¿ã¯ Yamaha ã® NVR500 ã§ãããWeb ã¤ã³ã¿ãã§ã¼ã¹ããã®è¨å®æ¹æ³ãåããããçµå±ãããã¹ããã¼ã¹ã§ config ãæå ¥ãããã¨ã«ãªãã¾ããã
ipv6 prefix 1 dhcp-prefix@lan2::/64 ipv6 prefix 2 fdfe:dcba:9876:5432::/64 ipv6 lan1 address dhcp-prefix@lan2::1/64 ipv6 lan1 address fdfe:dcba:9876:5432::1/64 ipv6 lan1 rtadv send 1 2
ï¼è¡ç®ãï¼è¡ç®ã¯ãlan2ãããªãã¡ãWAN å´ããä¸ããããã¢ãã¬ã¹ã«é¢ãããã®ã§ããã¬ããå ãã¯ã¹ãã§ã²ããé»è©±ã使ãã¤ã¤ãIPoE 㧠IPv6 ã使ããããã«è¨å®ããã°å ¥ã£ã¦ããè¨å®ã§ã*3ã
ï¼è¡ç®ã§ ULA ã®ãã¬ãã£ãã¯ã¹ãå®ç¾©ããï¼è¡ç®ã§ã«ã¼ã¿èªèº«ã® LAN å´ã® IPv6 ã¢ãã¬ã¹ã«ãULA ã®ã¢ãã¬ã¹ãæåè¨å®ï¼ULA ã®ãã¬ãã£ãã¯ã¹ã§ãæ«å°¾ã 1 ã®ã¢ãã¬ã¹ï¼ãã¦ãã¾ãã
5è¡ç®ããRA ãéä¿¡ããããã®è¨å®ã§ãULA ã追å ããåã¯ãipv6 lan1 rtadv send 1ãã¨ãªãã¨ããã«ãï¼è¡ç®ã§è¿½å ãããã¬ãã£ãã¯ã¹ãéä¿¡ããããã«è¨å®ãã¦ãã¾ãã
ã²ã¨ã¾ããããã¾ã§ããã°ãRA ã«ããèªåæ§æã¢ãã¬ã¹ãã¯ã©ã¤ã¢ã³ãã«ä»ä¸ãããæ ¼å¥½ã«ãªãã¾ãã
å®ã¯ãããã¾ã§ã§ããã£ããæºè¶³ãã¦ã¾ãããã¨ãããããULA ã®ã¢ãã¬ã¹ãèªåçã«ä»ä¸ãããããã«ãªã£ãããããã§ãDNS ãé¤ãã°ãããã¡ã®ãããã¯ã¼ã¯ IPv6 ã ããã¨ã
ã¨ããããããã¡ã ããã£ã±ã DHCPv6 ãå¿ è¦ã ï¼ãã¨ããäºãçºè¦ãã¾ãã
ãã£ããã¯ãããã¡ãµã¼ãã§éç¨ãã¦ãã Kerberos ã®èªè¨¼ã§ä¸å ·åãçºçãããã¨ã§ããã
èªåã§æ¸ãã¦ããã¦ããã£ããå¿ãã¦ããã®ã§ãããMIT ã® Kfw ã使ããã«ãWindows ã®ãã¤ãã£ãã®æ©è½ã§é Active Directory ã® Kerberos ã«å¯¾å¿ããããã¨ããã¨ãWindows ãã¯ã©ã¤ã¢ã³ãã®ãã¹ãããªã³ã·ãã«ãè¦æ±ããé¢ä¿ã§ãäºå®ä¸ãDynamic DNS å¿ é ã«ãªãã¾ãã
RA 㧠ULA ãé ä¿¡ããããã«ãªãã¨ãULA ã®ãã¬ãã£ãã¯ã¹ãæ㤠IPv6 ã¢ãã¬ã¹ãï¼ã¤ä½ããã¾ããä¸ã¤ã¯ MAC ã¢ãã¬ã¹ããçæããã EUI-64 ã使ã£ãã¢ãã¬ã¹ãããä¸ã¤ã¯ãä¸æã¢ãã¬ã¹ï¼ãããã¯ãå¿åã¢ãã¬ã¹ããã©ã¤ãã·ã¼ã¢ãã¬ã¹ï¼ã¨å¼ã°ãããé½åº¦ãå¤åããã¢ãã¬ã¹ã§ãã
IPv6 ã®ä¸æã¢ãã¬ã¹
ãã¨ãã¨ãIPv6 ã§ãDHCP ãµã¼ããç¨æããªãã¦ããèªåçã« IP ã¢ãã¬ã¹ãè¨å®ããã¾ãããã¨ããã®ã¯ãRA ã®ãã¬ãã£ãã¯ã¹æ å ±ã¨ EUI-64 ã®çµã¿åããã§çæãããã¨ãããã®ã§ããã
EUI-64【イーユーアイ・ロクジュウヨン】 | 日経 xTECH(クロステック)
EUI-64 ãã©ãããç©ãã¯ä¸è¨ãã¼ã¸ã«è©³ããæ¸ããã¦ãã¾ããããã¤ã³ãã¯ãMAC ã¢ãã¬ã¹ããçæãããç¹ã§ãMAC ã¢ãã¬ã¹ããçæãããã¨ãããã¨ã¯ãIPv6 ã¢ãã¬ã¹ã®ä¸ä½ 64 bit ãè¦ãã°ãåã PC ããæ¥ç¶ããã¦ããäºãåãã*4ãã¨ã«ãªãã¾ããèªå® ããç¹ããããããã«ããç¹ããããå ¬å ±ã®ãããã¯ã¼ã¯ããç¹ããããIPv6 ã¢ãã¬ã¹ã®ä¸ä½ 64 bit ãåããªãã°ãåã PC ããç¹ãã§ãã¨èãããã¾ãã
ã§ãããã¯ãã©ã¤ãã·ã¼ä¸åé¡ã ãã¨ãããã¨ã§ãä¸æã¢ãã¬ã¹ã¨å¼ã°ããã¢ãã¬ã¹ãä½ããã¾ãããã£ã¡ã¯ã©ã³ãã ã«å²ãå½ã¦ãããã®ã§ãã©ãã¸è¡ã£ã¦ãä¸ä½ 64 bit ãåããã¨ããäºã¯ããã¾ããã
ã§ããã®ä¸æã¢ãã¬ã¹ã¯ãDynamic DNS ã«ãã DNS ãµã¼ãã¸ã®ç»é²ããé¤å¤ããã¾ãã
Windows ツールを使用して IPv6 構成情報を取得する
é常ãä¸æç IPv6 ã¢ãã¬ã¹ã¯ãWeb ãã©ã¦ã¶ãªã©ã®éä¿¡ãéå§ããã¨ãã«ã¯ã©ã¤ã¢ã³ã ã¢ããªã±ã¼ã·ã§ã³ã«ãã£ã¦ä½¿ç¨ãããDNS ã«ç»é²ããã¾ããã
ã¨ãããã¨ã¯ãã¯ã©ã¤ã¢ã³ãå´ãä¸æã¢ãã¬ã¹ãéä¿¡å ã®ã¢ãã¬ã¹ã¨ãã¦é¸æãã¦ãµã¼ãã¸æ¥ç¶ããã¨ããã® IPv6 ã¢ãã¬ã¹ã¯ DNS ä¸ãåå¨ããªããã¨ã«ãªããåè¿°ã® Kerberos ã®åé¡ãçºçãã¾ãã
ãããããã¡ãããã¯ã¼ã¯ã§åé¡ãçºçããã®ã¯ç§ã®ã¨ãããããããããã¾ããããæ®éã«ä¼æ¥å ãããã¯ã¼ã¯ã IPv6 ã§ä½ã£ãæã«ãä¸æã¢ãã¬ã¹ãéä¿¡å ã§ã¯é½åãæªããã¨ããäºã¯çµæ§ãããããã§ãã
ä¸æã¢ãã¬ã¹ãä¸å使ããªããã¨ããæ段ã¯ããããã§ãããç®æãã¨ããã¯ã
- ã°ãã¼ãã«ãªã¢ãã¬ã¹ã¯ä¸æã¢ãã¬ã¹ã使ãã
- ULA ã¯ä¸æã¢ãã¬ã¹ã使ããªãã
ã§ããã§ãæåã§ã¢ãã¬ã¹ãè¨å®ããã°ããã®æ¡ä»¶ãæºãããã®ã¯åããã®ã§ãããIPv6 ã§æåè¨å®ã¯ãåºã ãã«ãæ¸ãã¾ããããæ·åãã§ãã
ã¨ãããã¨ã§ãããã¡ãããã¯ã¼ã¯ã§ IPv6 ã¢ãã¬ã¹ãèªåã§å²ãå½ã¦ããã£ãããåã« ULA ã RA ã«ä¹ããã ãã§ã¯äºã足ããªãäºãåããã¾ããã
ã§ãå®éã«ã©ããããã¯ã次åã¸*5ã
*1:ã¨ãã£ã¦ããULA ã®ã¢ãã¬ã¹å²ãå½ã¦ãèªåã«ããæ確ãªã¡ãªããã¯ãããããããã¢ãã¬ã¹å ¥åã®ééããç¡ãããããããã§ããã
*2:å°ãªãã¨ããç§ãçãã¦ããéã«ã¯ããããªæ代ã¯æ¥ãªãããªãã¨ã
*3:http://jp.yamaha.com/products/network/solution/flets/next/flets-next-ipv6_ipoe-nvr500/
*4:å³å¯ã«ã¯ãåã NIC ããæ¥ç¶ããã¦ãããã¨ãåããããªã®ã§ãä¾ãã°ãåã PC ããã§ãæç·ã¨ç¡ç·ã§ã¯éãã
*5:éä¸ããã¨ãããã¨ã§ãDHCPv6 ã®ç»å ´ã§ãããã¨æ¸ãã¦ããã¦ãRA ã®è©±ã§çµãã£ã¦ãã¾ã£ã...