64、IPv6配置实验之Overlay Tunnel
2015-12-22 10:07
435 查看
1、Overlay Tunnel解析
2、实验拓扑
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、实验测试
此时方法的不足之处在于,当有多个IPv6网络需要互访是,我们需要两两之间都建立Tunnel,工作量将非常大。
本文出自 “开源殿堂” 博客,请务必保留此出处http://kaiyuandiantang.blog.51cto.com/10699754/1727061
2、实验拓扑
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、实验测试
此时方法的不足之处在于,当有多个IPv6网络需要互访是,我们需要两两之间都建立Tunnel,工作量将非常大。
本文出自 “开源殿堂” 博客,请务必保留此出处http://kaiyuandiantang.blog.51cto.com/10699754/1727061
相关文章推荐
- Arduino IDE for ESP8266
- JAVA读取Excel中sheet页内容
- repo sync 遇到问题
- LeetCode Merge Two Sorted Lists
- 自动化脚本执行失败原因分析
- 素材资源
- 手机安全修改IMEI的方法
- 排序算法复习(2)-- 选择排序
- order是mysql的关键字,不能用order作为表名
- JUnit框架学习----基于webdriver自动化测试脚本的完成
- android开发经验笔记总计
- IntelliJ Idea 常用快捷键列表
- 使用Github
- JQuery 添加和删除class
- 10个Android开源个性化View控件
- 学习小记
- zepto 基础知识(2)
- 12.22 repeater 添加
- 在一定范围内,检测可用端口号,并将端口号返回
- Asio驱动开发学习笔记(3)