Fedora11下NAT用户接入IPv6实战

admin 发表于 Linux, 网络技术 分类,标签: , ,
1

xixi1

上个月写了一篇关于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/

xixi

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


一篇评论 关于 “Fedora11下NAT用户接入IPv6实战”

发表我的评论

icon_wink.gif icon_neutral.gif icon_mad.gif icon_twisted.gif icon_smile.gif icon_eek.gif icon_sad.gif icon_rolleyes.gif icon_razz.gif icon_redface.gif icon_surprised.gif icon_mrgreen.gif icon_lol.gif icon_idea.gif icon_biggrin.gif icon_evil.gif icon_cry.gif icon_cool.gif icon_arrow.gif icon_confused.gif icon_question.gif icon_exclaim.gif 

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word