121872474 发表于 2011-12-17 10:20:16

关于IPV6的6to4 Tunnel实验

本帖最后由 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
!
!
endR2#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
!
!
endR3#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



http://bbs.hh010.com/xwb/images/bgimg/icon_logo.png 该贴已经同步到 121872474的微博

弱水无尘 发表于 2011-12-17 10:44:08

楼主好犀利
{:6_290:}{:6_290:}{:6_290:}

121872474 发表于 2011-12-17 10:58:36

哎呀~~这块实在是不知道问题出在哪里了,之前做了一个普通的IPV6 tunnel都没有问题因为它可以运行IPV6 的路由协议,但这个不是不需要IPV6的动态路由协议嘛!

121872474 发表于 2011-12-19 10:28:41

sdwchow 发表于 2011-12-17 12:13 static/image/common/back.gif
你的PC设置网关了吗?
PC可以PING通R2的F0/0吗?
你的PC用IPV6使用哪种设定?statefull DHCP?


PC 设置网关了用的是 IPV6 ROUTE ::/0 F0/0
PC4可以Ping通R2的F0/0
PC的IPV6用的是自己手动设的

121872474 发表于 2011-12-21 20:39:42

sdwchow 发表于 2011-12-19 10:51 static/image/common/back.gif
把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

zxpwnx 发表于 2011-12-22 08:36:19

tunnel ip地址配上

121872474 发表于 2011-12-22 21:00:06

zxpwnx 发表于 2011-12-22 08:36 static/image/common/back.gif
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

121872474 发表于 2011-12-22 21:08:54

sdwchow 发表于 2011-12-21 21:58 static/image/common/back.gif
你试一试
R2



是在R2 和 R3 上面做???
不是在P4 和 P5 上面做吗?
我在P4 P5 上面这样做也不行!

121872474 发表于 2011-12-23 17:17:54

sdwchow 发表于 2011-12-22 21:21 static/image/common/back.gif
P4 P5是模拟PC,只要有IPv6地址和GW就可以了。
你的P4 P5的GW最好直接指定IP,不要用端口

改成IP了理论上应该没有问题的但是还是不行啊~~呵呵纠结

sailing025 发表于 2012-2-24 15:58:43

{:6_267:}

20_30jxy 发表于 2012-9-21 23:58:18

{:soso_e162:}

20_30jxy 发表于 2012-9-21 23:58:27

{:soso_e190:}

20_30jxy 发表于 2012-9-21 23:58:42

{:soso_e200:}

20_30jxy 发表于 2012-9-21 23:58:56

{:soso_e192:}

shenxian 发表于 2012-11-20 16:01:10

这个还真不懂。
页: [1] 2
查看完整版本: 关于IPV6的6to4 Tunnel实验