IPv6和IPv4互通实验 手工隧道

Topology:

Platform:dynamips

R1:
int lo 0
ipv6 add 2001::1/128
ipv6 ospf 100 area 0

int f0/0
ip add 12.1.1.1 255.255.255.0
no sh

ipv6 unicast

int tunnel 0
ipv6 unnumber lo 0 -------------截取环回口作为tunnel地址
tunnel source 12.1.1.1 ---------tunnel源地址
tunnel destination 12.1.1.2-----tunnel目的地址
tunnel mode ipv6ip -------------定义manual tunnel模型支持ipv6 
ipv6 ospf 100 area 0

router eigrp 100
no au    
net 12.1.1.0 0.0.0.255

ipv6 router ospf 100
router-id 1.1.1.1


R2:====================================
int lo 0
ipv6 add 2002::1/128
ipv6 ospf 100 area 0

int f0/0
ip add 12.1.1.2 255.255.255.0
no sh

ipv6 unicast

int tunnel 0
ipv6 unnumber lo 0 -------------截取环回口作为tunnel地址
tunnel source 12.1.1.2 ---------tunnel源地址
tunnel destination 12.1.1.1-----tunnel目的地址
tunnel mode ipv6ip -------------定义manual tunnel模型支持ipv6
ipv6 ospf 100 area 0

router eigrp 100
no au    
net 12.1.1.0 0.0.0.255

ipv6 router ospf 100
router-id 2.2.2.2


 

posted @ 2020-04-23 08:29  cyrusxx  阅读(348)  评论(0编辑  收藏  举报