您的位置:首页 > Web前端

Fedora11下NAT用户接入IPv6实战

2009-10-24 10:29 489 查看
上个月写了一篇关于ipv6接入的文章,《普通NAT用户接入ipv6的方法,体验IPv6》 效果不错,但无奈Google排名却看不见,歧视呀。。。
这次就不到处转载了,言归正传,关于一些基本问题,可以从前面那篇文章中找到,这里只谈fedora11下的安装和使用:
1.去下载rpm包,你想用源码也可以。
下载地址:点我进入(下载不了的,请留言!)
2.安装rpm包
[root@localhost 桌面]# rpm -ivh freenet6-6.0-3.fc11.i586.rpm
没出错就OK了。
3.配置
[root@localhost 桌面]# vi /etc/freenet6/gw6c.conf
只需修改两个地方
server=tb.ipv6.apol.com.tw
#server=authenticated.freenet6.net
# Tunnel Encapsulation Mode:
# v6v4: IPv6-in-IPv4 tunnel.
# v6udpv4: IPv6-in-UDP-in-IPv4 tunnel (for clients behind a NAT).
# v6anyv4: Lets the broker choose the best mode for IPv6 tunnel.
# v4v6: IPv4-in-IPv6 tunnel.
#
# Recommended value: v6anyv4
#
tunnel_mode=v6udpv4
别滴不要动了,vi下的查找好像是:/word
保存!
4.启动服务
[root@localhost freenet6]# /etc/init.d/freenet6 start
正在启动 gw6c: [确定]
5.查看IP地址(只显示部分)
[root@localhost freenet6]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:16:EC:59:A7:88
inet addr:10.1.10.157 Bcast:10.1.10.255 Mask:255.255.255.0
inet6 addr: fe80::216:ecff:fe59:a788/64 Scope:Link
(output omitted…)
tun Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet6 addr: 2001:f10:5001:d907::2/128 Scope:Global
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1280 Metric:1
RX packets:5 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:344 (344.0 b) TX bytes:0 (0.0 b)
很明显了:2001:f10:5001:d907::2/128
6.开个网页看看
http://www.ipv6.org/

[图片省略了!]

参考资料:
http://www.linuxjournal.com/article/5988
http://www.ghiapet.net

原文:http://www.ipcpu.com/2009/10/fedora-nat-ipv6/
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  职场 ipv6 休闲