IPv6和IPv4互通实验 手工隧道

Topology:

IPv6和IPv4互通实验 手工隧道_第1张图片

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


 

你可能感兴趣的:(IPv6)