设为首页收藏本站language 语言切换
查看: 6451|回复: 20
收起左侧

[已解决] 关于IPV6的6to4 Tunnel实验

  [复制链接]
发表于 2011-12-17 10:20:16 | 显示全部楼层 |阅读模式
本帖最后由 121872474 于 2011-12-17 10:22 编辑

最近做了一遍李桃梅老师CCNP视频教程中的一个实验,关于IPV6的6to4 Tunnel的实验。遇到了点问题,求指点。
实验如图:

实验拓扑图

实验拓扑图


R2 和 R3已经建立起了Tunnel通道  
现在 R2的f0/0能ping通R3的f0/0 (f0/0都是IPV6地址),但是P4连不上P5
P4、P5是使用 ipv6 route ::/0 f0/0来指定网关的。
P4地址:2002:202:202::4/64
P5地址:2002:303:303::5/64
配置如下:
R1#sh run
Building configuration...Current configuration : 1152 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R1
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
memory-size iomem 5
!
!
ip cef
no ip domain lookup
!
!
!
!         
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Loopback0
ip address 1.1.1.1 255.255.255.0
!
interface FastEthernet0/0
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface Serial1/0
ip address 12.0.0.1 255.255.255.0
serial restart-delay 0
!
interface Serial1/1
ip address 13.0.0.1 255.255.255.0
serial restart-delay 0
!
interface Serial1/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/3
no ip address
shutdown
serial restart-delay 0
!
!
router ospf 110
router-id 1.1.1.1
log-adjacency-changes
network 1.1.1.0 0.0.0.255 area 0
network 12.0.0.0 0.0.0.255 area 0
network 13.0.0.0 0.0.0.255 area 0
!
no ip http server
no ip http secure-server
!
!
!
!
!
!
!         
control-plane
!
!
!
!
!
!
!
!
!
line con 0
exec-timeout 0 0
logging synchronous
line aux 0
line vty 0 4
login
!
!
end
R2#sh run
Building configuration...Current configuration : 1292 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R2
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
memory-size iomem 5
!
!
ip cef
no ip domain lookup
!
!
!
!         
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Loopback0
ip address 2.2.2.2 255.255.255.0
!
interface Tunnel2
no ip address
no ip redirects
ipv6 unnumbered FastEthernet0/0
tunnel source 2.2.2.2
tunnel mode ipv6ip 6to4
!
interface FastEthernet0/0
no ip address
duplex auto
speed auto
ipv6 address 2002:202:202::2/64
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface Serial1/0
ip address 12.0.0.2 255.255.255.0
serial restart-delay 0
!
interface Serial1/1
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/3
no ip address
shutdown
serial restart-delay 0
!
!
router ospf 110
router-id 2.2.2.2
log-adjacency-changes
network 2.2.2.0 0.0.0.255 area 0
network 12.0.0.0 0.0.0.255 area 0
!
no ip http server
no ip http secure-server
!
!
!
ipv6 route 2002::/16 Tunnel2
!
!
!
!
control-plane
!
!
!
!
!
!
!
!
!
line con 0
exec-timeout 0 0
logging synchronous
line aux 0
line vty 0 4
login
!
!
end
R3#sh run
Building configuration...Current configuration : 1292 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R3
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
memory-size iomem 5
!
!
ip cef
no ip domain lookup
!
!
!
!         
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Loopback0
ip address 3.3.3.3 255.255.255.0
!
interface Tunnel3
no ip address
no ip redirects
ipv6 unnumbered FastEthernet0/0
tunnel source 3.3.3.3
tunnel mode ipv6ip 6to4
!
interface FastEthernet0/0
no ip address
duplex auto
speed auto
ipv6 address 2002:303:303::3/64
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface Serial1/0
no ip address
shutdown
serial restart-delay 0
!         
interface Serial1/1
ip address 13.0.0.3 255.255.255.0
serial restart-delay 0
!
interface Serial1/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/3
no ip address
shutdown
serial restart-delay 0
!
!
router ospf 110
router-id 3.3.3.3
log-adjacency-changes
network 3.3.3.0 0.0.0.255 area 0
network 13.0.0.0 0.0.0.255 area 0
!
no ip http server
no ip http secure-server
!
!
!
ipv6 route 2002::/16 Tunnel3
!
!
!
!
control-plane
!
!
!
!
!
!
!
!
!
line con 0
exec-timeout 0 0
logging synchronous
line aux 0
line vty 0 4
login
!
!
end




                               
登录/注册后可看大图
该贴已经同步到 121872474的微博
发表于 2011-12-17 10:44:08 | 显示全部楼层
楼主好犀利

沙发 2011-12-17 10:44:08 回复 收起回复
回复 支持 反对

使用道具 举报

 楼主| 发表于 2011-12-17 10:58:36 | 显示全部楼层
哎呀~~这块实在是不知道问题出在哪里了,之前做了一个普通的IPV6 tunnel都没有问题  因为它可以运行IPV6 的路由协议,但这个不是不需要IPV6的动态路由协议嘛!
板凳 2011-12-17 10:58:36 回复 收起回复
回复 支持 反对

使用道具 举报

 楼主| 发表于 2011-12-19 10:28:41 | 显示全部楼层
sdwchow 发表于 2011-12-17 12:13
你的PC设置网关了吗?
PC可以PING通R2的F0/0吗?
你的PC用IPV6使用哪种设定?statefull DHCP?

PC 设置网关了  用的是 IPV6 ROUTE ::/0 F0/0
PC4可以Ping通R2的F0/0
PC的IPV6用的是自己手动设的
地板 2011-12-19 10:28:41 回复 收起回复
回复 支持 反对

使用道具 举报

 楼主| 发表于 2011-12-21 20:39:42 | 显示全部楼层
sdwchow 发表于 2011-12-19 10:51
把pc的ipconfig贴上来吧

PC的配置如下:  

P4和P5的配置


P4#sh run
Building configuration...

Current configuration : 688 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname P4
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
memory-size iomem 5
!
!
ip cef
no ip domain lookup
!
!
!
!         
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface FastEthernet0/0
no ip address
duplex auto
speed auto
ipv6 address 2002:202:202::4/64
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
!
no ip http server
no ip http secure-server
!
!
!
ipv6 route 2002::/16 FastEthernet0/0
!
!
!
!
control-plane
!
!
!         
!
!
!
!
!
!
line con 0
exec-timeout 0 0
logging synchronous
line aux 0
line vty 0 4
login
!
!
end



P5#sh run
Building configuration...

Current configuration : 683 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname P5
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
memory-size iomem 5
!
!
ip cef
no ip domain lookup
!
!
!
!         
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface FastEthernet0/0
no ip address
duplex auto
speed auto
ipv6 address 2002:303:303::5/64
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
!
no ip http server
no ip http secure-server
!
!
!
ipv6 route ::/0 FastEthernet0/0
!
!
!
!
control-plane
!
!
!         
!
!
!
!
!
!
line con 0
exec-timeout 0 0
logging synchronous
line aux 0
line vty 0 4
login
!
!
end
5# 2011-12-21 20:39:42 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2011-12-22 08:36:19 来自手机 | 显示全部楼层
tunnel ip地址配上
6# 2011-12-22 08:36:19 回复 收起回复
回复 支持 反对

使用道具 举报

 楼主| 发表于 2011-12-22 21:00:06 | 显示全部楼层
zxpwnx 发表于 2011-12-22 08:36
tunnel ip地址配上

TUNNEL IP上面写了的啊
interface Tunnel2
no ip address
no ip redirects
ipv6 unnumbered FastEthernet0/0
tunnel source 2.2.2.2
tunnel mode ipv6ip 6to4

interface Tunnel3
no ip address
no ip redirects
ipv6 unnumbered FastEthernet0/0
tunnel source 3.3.3.3
tunnel mode ipv6ip 6to4
7# 2011-12-22 21:00:06 回复 收起回复
回复 支持 反对

使用道具 举报

 楼主| 发表于 2011-12-22 21:08:54 | 显示全部楼层

是在R2 和 R3 上面做???
不是在P4 和 P5 上面做吗?
我在P4 P5 上面这样做  也不行!
8# 2011-12-22 21:08:54 回复 收起回复
回复 支持 反对

使用道具 举报

 楼主| 发表于 2011-12-23 17:17:54 | 显示全部楼层
sdwchow 发表于 2011-12-22 21:21
P4 P5是模拟PC,只要有IPv6地址和GW就可以了。
你的P4 P5的GW最好直接指定IP,不要用端口

改成IP了  理论上应该没有问题的  但是还是不行啊~~呵呵  纠结
9# 2011-12-23 17:17:54 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2012-2-24 15:58:43 | 显示全部楼层
10# 2012-2-24 15:58:43 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2012-9-21 23:58:18 | 显示全部楼层
{:soso_e162:}
11# 2012-9-21 23:58:18 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2012-9-21 23:58:27 | 显示全部楼层
{:soso_e190:}
12# 2012-9-21 23:58:27 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2012-9-21 23:58:42 | 显示全部楼层
{:soso_e200:}
13# 2012-9-21 23:58:42 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2012-9-21 23:58:56 | 显示全部楼层
{:soso_e192:}
14# 2012-9-21 23:58:56 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2012-11-20 16:01:10 | 显示全部楼层
这个还真不懂。
15# 2012-11-20 16:01:10 回复 收起回复
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 论坛注册

本版积分规则

QQ|Archiver|手机版|小黑屋|sitemap|鸿鹄论坛 ( 京ICP备14027439号 )  

GMT+8, 2025-2-4 13:53 , Processed in 0.078634 second(s), 13 queries , Redis On.  

  Powered by Discuz!

  © 2001-2025 HH010.COM

快速回复 返回顶部 返回列表