Teredoã«ããIPv6æ¥ç¶ãã¹ã
æè¿ä»äºã§ãIPv6ã使ããã¨ãåºã¦ããã®ã§ã家ã®Networkããã§ãIPv6ã¸æ¥ç¶ã§ããããã«ãã¨ããããªãã¨æã£ã¦ãã§ãã調ã¹ã¦ã¿ã¾ããã
Teredo(IPv4ãªã³ãªã¼ã®ç°å¢ã§IPv6ç¨ã®VPNãå¼µã£ã¦IPv6ãã¹ãã¸ã¢ã¯ã»ã¹ã§ããããã«ãªãä»çµã¿)ã使ãã°å®ä¾¡ã«IPv6ãããã¯ã¼ã¯ã«ã¢ã¯ã»ã¹ã§ãããããã®ã§ãLinuxã§ã®Teredoå®è£
miredoã使ã£ã¦ã¿ã¾ãããå®é¨æ©ã¯ãã¤ãéãLS-XHL(debian-lenny)ã
ã¤ã³ã¹ãã¼ã«
$ sudo apt-get install miredo
æ®éDebianã§ãµã¼ãã¹ç³»ã®ããã±ã¼ã¸ãã¤ã³ã¹ãã¼ã«ããã¨ããã®ç¬éãããµã¼ãã¹ãæå¹åããã¯ãã ãã©èµ·åããªããèµ·åããªãã£ãçç±ã¯tun-tapãã©ã¤ãããã¼ãããã¦ç¡ãã£ãããã§ããã
ä»åã¯ipv6ã®ãã©ã¤ããå¿
è¦ã§ãã¡ãã¡modprobeããã®ãé¢åã ã£ãã®ã§ã/etc/modulesã«è¨è¿°ãã¦ããã¦ãèµ·åæã«èªã¿è¾¼ãããã«ããã
$ sudo cat /etc/modules bridge ipv6 tun
è¨å®
$ sudo cat /etc/miredo.conf InterfaceName teredo ServerAddress teredo.ipv6.microsoft.com
ãããªæãã§ãä»®æ³IFåãã¨ãæ¥ç¶ããTeredoãµã¼ãããæå®ãã¦ããããç§ã®å ´åã¯microsoftã®ãµã¼ãã¸æ¥ç¶ããããã«ä¿®æ£ãã¾ããã
åèµ·å
sudo /etc/init.d/miredo restart
IPv6確èª
$ ifconfig eth1 ç¥ lo ç¥ teredo Link encap:ä¸æãªããã ãã¼ãã¦ã§ã¢ã¢ãã¬ã¹ 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 inet6ã¢ãã¬ã¹: fe80::ffff:ffff:ffff/64 ç¯å²:ãªã³ã¯ inet6ã¢ãã¬ã¹: 2001:0:cf2e:3096:184b:7f83:823a:7852/32 ç¯å²:ã°ãã¼ãã« UP POINTOPOINT RUNNING NOARP MTU:1280 ã¡ããªãã¯:1 RXãã±ãã:0 ã¨ã©ã¼:0 æ失:0 ãªã¼ãã©ã³:0 ãã¬ã¼ã :0 TXãã±ãã:1 ã¨ã©ã¼:0 æ失:0 ãªã¼ãã©ã³:0 ãã£ãªã¢:0 è¡çª(Collisions):0 TXãã¥ã¼é·:500 RXãã¤ã:0 (0.0 B) TXãã¤ã:48 (48.0 B)
LS-XHLä¸ã®firefoxããhttp://www.kame.net/ãhttp://ipv6.2ch.net/ã«ã¢ã¯ã»ã¹ãã¦ã¿ãããã®2ã¤ã®ãµã¤ãã¯IPv6ã§æ¥ç¶ãã§ãã¦ããã¨ç»åãã¢ãã¡åãããã®ã§IPv6æ¥ç¶ãç°¡åã«ç¢ºèªã§ãã¾ãã
ã»ãã¥ãªãã£
IPv6ãããã¯ã¼ã¯ãã丸è¦ãã«ãªã(NATãFWãç¡ãç¶æ ï¼åã£ã¦ãï¼)ãã»ãã¥ãªãã£å¯¾çãä¸å ¨ã§ãªããªã常ææ¥ç¶ã¯æ§ãã¦ãããæ¹ãããããã§ãã
ææ³
ç¾ç¶ã ã¨ãµã¼ãã«IPv6é ããã¦ãããäºãç¡ããªãã(ãªã®ã§ãã¹ã¯ãããLinuxã§IPv6ã使ãã¨ãã®åèã«ãã¦ãã ãã)ãTeredoã¿ãããªãã³ãã«ãµã¼ãã¹ã§ãªãã/32ã¨ãã®ãããã¯ãè²°ã£ã¦RAã§ã¢ãã¬ã¹ãé ãããã«ã§ããã°æ¥½ã«ipv6.2ch.netã¨ãã«æ¥ç¶ã§ãããããªæ°ããããã©ãªãã1ã¤ããç¡ãç¶æ³ã§fec0::ã§natã£ã½ãããã®ãå¾®å¦ã ãããã