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/
这次就不到处转载了,言归正传,关于一些基本问题,可以从前面那篇文章中找到,这里只谈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/
相关文章推荐
- 普通NAT用户接入ipv6的方法,体验IPv6
- 用户端NAT远程拨号接入
- 3.秒杀项目架构-展示层架构、用户登记层、数据接入层、
- NAT的双线接入
- SSH综合项目实战(快递) -- day13 角色数据管理、用户数据管理
- 最强转码技术揭秘:窄带高清原理解析+用户接入指南
- mentohust联网报错“系统提示:用户使用了不允许的接入方式!(有线网络请选择“有线1x上网”服务)”
- 亿级用户个性化品类推荐实战
- Linux实战:用户远程登录文件分享服务器的搭建
- 企业中vsftp虚拟用户高级配置实战
- 20161109L04-07老男孩linux运维实战培训-Linux系统的用户和用户组管理-05
- Android实战简易教程-第二十四枪(基于Baas的用户表查询功能实现!)
- 高可用Hadoop平台-实战(电商网站的用户行为分析)
- Radware负载均衡项目配置实战解析之三业务部署和NAT配置
- ASP.NET用户注册实战(第11节)
- 实战智能推荐系统(6)-- 用户行为分析
- 实战智能推荐系统(6)-- 用户行为分析
- linux实战考试题:批量创建用户和密码
- 实战智能推荐系统(6)-- 用户行为分析
- 实战智能推荐系统(7)-- 基于用户的协同过滤算法