{"id":50,"date":"2009-10-07T23:52:08","date_gmt":"2009-10-07T15:52:08","guid":{"rendered":"http:\/\/ipcpu.sa.cy.com\/?p=50"},"modified":"2009-10-07T23:52:08","modified_gmt":"2009-10-07T15:52:08","slug":"fedora11%e4%b8%8bnat%e7%94%a8%e6%88%b7%e6%8e%a5%e5%85%a5ipv6%e5%ae%9e%e6%88%98","status":"publish","type":"post","link":"https:\/\/c.ipcpu.com\/2009\/10\/fedora11%e4%b8%8bnat%e7%94%a8%e6%88%b7%e6%8e%a5%e5%85%a5ipv6%e5%ae%9e%e6%88%98\/","title":{"rendered":"Fedora11\u4e0bNAT\u7528\u6237\u63a5\u5165IPv6\u5b9e\u6218"},"content":{"rendered":"

\"fc-ipv6\"<\/a><\/p>\n

\u4e0a\u4e2a\u6708\u5199\u4e86\u4e00\u7bc7\u5173\u4e8eipv6\u63a5\u5165\u7684\u6587\u7ae0\uff0c\u300a\u666e\u901aNAT\u7528\u6237\u63a5\u5165ipv6\u7684\u65b9\u6cd5\uff0c\u4f53\u9a8cIPv6\u300b \u6548\u679c\u4e0d\u9519\uff0c\u4f46\u65e0\u5948Google\u6392\u540d\u5374\u770b\u4e0d\u89c1\uff0c\u6b67\u89c6\u5440\u3002\u3002\u3002<\/p>\n

\u8fd9\u6b21\u5c31\u4e0d\u5230\u5904\u8f6c\u8f7d\u4e86\uff0c\u8a00\u5f52\u6b63\u4f20\uff0c\u5173\u4e8e\u4e00\u4e9b\u57fa\u672c\u95ee\u9898\uff0c\u53ef\u4ee5\u4ece\u524d\u9762\u90a3\u7bc7\u6587\u7ae0\u4e2d\u627e\u5230\uff0c\u8fd9\u91cc\u53ea\u8c08fedora11\u4e0b\u7684\u5b89\u88c5\u548c\u4f7f\u7528\uff1a<\/p>\n

1.\u53bb\u4e0b\u8f7drpm\u5305\uff0c\u4f60\u60f3\u7528\u6e90\u7801\u4e5f\u53ef\u4ee5\u3002<\/p>\n

\u4e0b\u8f7d\u5730\u5740\uff1a\u70b9\u6211\u8fdb\u5165\uff08\u4e0b\u8f7d\u4e0d\u4e86\u7684\uff0c\u8bf7\u7559\u8a00\uff01\uff09<\/p>\n

2.\u5b89\u88c5rpm\u5305<\/p>\n

[root@localhost \u684c\u9762]# rpm -ivh freenet6-6.0-3.fc11.i586.rpm<\/p>\n

\u6ca1\u51fa\u9519\u5c31OK\u4e86\u3002<\/p>\n

3.\u914d\u7f6e<\/p>\n

[root@localhost \u684c\u9762]# vi \/etc\/freenet6\/gw6c.conf<\/p>\n

\u53ea\u9700\u4fee\u6539\u4e24\u4e2a\u5730\u65b9<\/p>\n

server=tb.ipv6.apol.com.tw
\n#server=authenticated.freenet6.net<\/p>\n

# Tunnel Encapsulation Mode:
\n#\u00a0\u00a0 v6v4:\u00a0\u00a0\u00a0 IPv6-in-IPv4 tunnel.
\n#\u00a0\u00a0 v6udpv4: IPv6-in-UDP-in-IPv4 tunnel (for clients behind a NAT).
\n#\u00a0\u00a0 v6anyv4: Lets the broker choose the best mode for IPv6 tunnel.
\n#\u00a0\u00a0 v4v6:\u00a0\u00a0\u00a0 IPv4-in-IPv6 tunnel.
\n#
\n#\u00a0\u00a0 Recommended value: v6anyv4
\n#
\ntunnel_mode=v6udpv4<\/p>\n

\u522b\u6ef4\u4e0d\u8981\u52a8\u4e86\uff0cvi\u4e0b\u7684\u67e5\u627e\u597d\u50cf\u662f:\/word<\/p>\n

\u4fdd\u5b58\uff01<\/p>\n

4.\u542f\u52a8\u670d\u52a1<\/p>\n

[root@localhost freenet6]# \/etc\/init.d\/freenet6 start
\n\u6b63\u5728\u542f\u52a8 gw6c\uff1a\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 [\u786e\u5b9a]<\/p>\n

5.\u67e5\u770bIP\u5730\u5740\uff08\u53ea\u663e\u793a\u90e8\u5206\uff09<\/p>\n

[root@localhost freenet6]# ifconfig
\neth0\u00a0\u00a0\u00a0\u00a0\u00a0 Link encap:Ethernet\u00a0 HWaddr 00:16:EC:59:A7:88
\ninet addr:10.1.10.157\u00a0 Bcast:10.1.10.255\u00a0 Mask:255.255.255.0
\ninet6 addr: fe80::216:ecff:fe59:a788\/64 Scope:Link
\n(output omitted\u2026)
\ntun\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Link encap:UNSPEC\u00a0 HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
\ninet6 addr: 2001:f10:5001:d907::2\/128 Scope:Global
\nUP POINTOPOINT RUNNING NOARP MULTICAST\u00a0 MTU:1280\u00a0 Metric:1
\nRX packets:5 errors:0 dropped:0 overruns:0 frame:0
\nTX packets:0 errors:0 dropped:0 overruns:0 carrier:0
\ncollisions:0 txqueuelen:500
\nRX bytes:344 (344.0 b)\u00a0 TX bytes:0 (0.0 b)<\/p>\n

\u5f88\u660e\u663e\u4e86\uff1a2001:f10:5001:d907::2\/128<\/p>\n

6.\u5f00\u4e2a\u7f51\u9875\u770b\u770b<\/p>\n

http:\/\/www.ipv6.org\/<\/p>\n

\"fc-2\"<\/a>
\nxixi<\/p>\n

\u53c2\u8003\u8d44\u6599\uff1a
\nhttp:\/\/www.linuxjournal.com\/article\/5988
\nhttp:\/\/www.ghiapet.net<\/p>\n

\u8f6c\u8f7d\u8bf7\u6ce8\u660e\uff1aIPCPU-\u7f51\u7edc\u4e4b\u8def<\/a> » Fedora11\u4e0bNAT\u7528\u6237\u63a5\u5165IPv6\u5b9e\u6218<\/a><\/p>","protected":false},"excerpt":{"rendered":"

\u4e0a\u4e2a\u6708\u5199\u4e86\u4e00\u7bc7\u5173\u4e8eipv6\u63a5\u5165\u7684\u6587\u7ae0\uff0c\u300a\u666e\u901aNAT\u7528\u6237\u63a5\u5165ipv6\u7684\u65b9\u6cd5\uff0c\u4f53\u9a8cIPv6\u300b \u6548\u679c\u4e0d\u9519\uff0c\u4f46\u65e0\u5948Google\u6392\u540d\u5374\u770b\u4e0d\u89c1\uff0c\u6b67\u89c6\u5440\u3002\u3002\u3002 \u8fd9\u6b21\u5c31\u4e0d\u5230\u5904\u8f6c\u8f7d\u4e86\uff0c\u8a00\u5f52\u6b63\u4f20\uff0c\u5173\u4e8e\u4e00\u4e9b\u57fa\u672c\u95ee\u9898\uff0c\u53ef\u4ee5\u4ece\u524d\u9762\u90a3\u7bc7\u6587\u7ae0\u4e2d\u627e\u5230\uff0c\u8fd9\u91cc\u53ea\u8c08fedora11\u4e0b\u7684\u5b89\u88c5\u548c\u4f7f\u7528\uff1a 1.\u53bb\u4e0b\u8f7drpm\u5305\uff0c\u4f60\u60f3\u7528\u6e90\u7801\u4e5f\u53ef\u4ee5\u3002 \u4e0b\u8f7d\u5730\u5740\uff1a\u70b9\u6211\u8fdb\u5165\uff08\u4e0b\u8f7d\u4e0d\u4e86\u7684\uff0c\u8bf7\u7559\u8a00\uff01\uff09 2.\u5b89\u88c5rpm\u5305 [root@localhost \u684c\u9762]# rpm -ivh freenet6-6.0-3.fc11.i586.rpm \u6ca1\u51fa\u9519\u5c31OK\u4e86\u3002 3.\u914d\u7f6e [root@localhost \u684c\u9762]# vi \/etc\/freenet6\/gw6c.conf \u53ea\u9700\u4fee\u6539\u4e24\u4e2a\u5730\u65b9 server=tb.ipv6.apol.com.tw #server=authenticated.freenet6.net # Tunnel Encapsulation Mode: #\u00a0\u00a0 v6v4:\u00a0\u00a0\u00a0 IPv6-in-IPv4 tunnel. #\u00a0\u00a0 v6udpv4: IPv6-in-UDP-in-IPv4 tunnel (for clients behind a NAT). #\u00a0\u00a0 v6anyv4: Lets the broker choose the best mode for IPv6 tunnel. #\u00a0\u00a0 v4v6:\u00a0\u00a0\u00a0 IPv4-in-IPv6 tunnel. # #\u00a0\u00a0 […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[147,148],"_links":{"self":[{"href":"https:\/\/c.ipcpu.com\/wp-json\/wp\/v2\/posts\/50"}],"collection":[{"href":"https:\/\/c.ipcpu.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/c.ipcpu.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/c.ipcpu.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/c.ipcpu.com\/wp-json\/wp\/v2\/comments?post=50"}],"version-history":[{"count":0,"href":"https:\/\/c.ipcpu.com\/wp-json\/wp\/v2\/posts\/50\/revisions"}],"wp:attachment":[{"href":"https:\/\/c.ipcpu.com\/wp-json\/wp\/v2\/media?parent=50"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/c.ipcpu.com\/wp-json\/wp\/v2\/categories?post=50"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/c.ipcpu.com\/wp-json\/wp\/v2\/tags?post=50"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}