64、IPv6配置实验之Overlay Tunnel

本文介绍了一种IPv6 Overlay Tunnel的配置方法,并通过实验验证了其有效性。配置包括基础IPv6路由设置及Tunnel的创建过程。然而,该方案在面对多个IPv6网络互访时存在局限性。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

1、Overlay Tunnel解析

wKiom1Z4ry-RjeU3AAHhKUNALpM068.png

2、实验拓扑

wKioL1Z4r1KQDY_hAABAZvWMXpM310.png


3、基础配置

R1配置

ipv6 unicast-routing

interface Loopback0

 ipv6 address 1::1/64

interface FastEthernet1/0

 ipv6 address 2000:12::1/64


R2配置

ipv6 unicast-routing

interface Loopback0

 ip address 2.2.2.2 255.255.255.0 

interface FastEthernet2/0

 ip address 23.1.1.2 255.255.255.0

ip route 3.3.3.0 255.255.255.0 23.1.1.3


R3配置

ipv6 unicast-routing

interface Loopback0

 ip address 3.3.3.3 255.255.255.0

interface FastEthernet2/0

 ip address 23.1.1.3 255.255.255.0

ip route 2.2.2.0 255.255.255.0 23.1.1.2


R4配置

ipv6 unicast-routing

interface Loopback0

 ipv6 address 4::4/64

interface FastEthernet1/0

 ipv6 address 2000:34::4/64


4、配置Overlay Tunnel

R1配置

interface Loopback0

 ipv6 ospf 110 area 0

interface FastEthernet1/0

 ipv6 ospf 110 area 0

ipv6 router ospf 110

 router-id 1.1.1.1


R2配置

interface Tunnel2

 ipv6 enable

 ipv6 ospf 110 area 0

 tunnel source 2.2.2.2

 tunnel destination 3.3.3.3

 tunnel mode ipv6ip

interface FastEthernet1/0

 ipv6 ospf 110 area 0

ipv6 router ospf 110

 router-id 2.2.2.2


R3配置

interface Tunnel3

 ipv6 enable

 ipv6 ospf 110 area 0

 tunnel source 3.3.3.3

 tunnel destination 2.2.2.2

 tunnel mode ipv6ip

interface FastEthernet1/0

 ipv6 ospf 110 area 0

ipv6 router ospf 110

 router-id 3.3.3.3


R4配置

interface Loopback0

 ipv6 ospf 110 area 0

interface FastEthernet1/0

 ipv6 ospf 110 area 0

ipv6 router ospf 110

 router-id 4.4.4.4


5、实验测试

wKioL1Z4sA-STNMMAABKdIQAJaQ632.png

wKiom1Z4r_-RhoGXAABKkfd7yWs599.png

此时方法的不足之处在于,当有多个IPv6网络需要互访是,我们需要两两之间都建立Tunnel,工作量将非常大。




      本文转自开源殿堂 51CTO博客,原文链接:http://blog.51cto.com/kaiyuandiantang/1727061,如需转载请自行联系原作者





评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值