当前位置:网站首页>交换机和路由器技术-29-OSPF虚链路
交换机和路由器技术-29-OSPF虚链路
2022-08-11 04:44:00 【w辣条小王子】
目录
一、OSPF虚链路
1.1 概念
在两台区域间路由建立一台虚拟链路,穿越一个非骨干区,和骨干区域建立直连逻辑通道
1.2 目的:
指一条通过一个非骨干区域连接到骨干区域的链路
1.3 虚链路的两种常用场景
场景2:通过一个非骨干区域,连接一个分段的骨干区域
1.4 穿越区域的要求
虚链路必须配置在两台ABR之间
传送区域不能是末梢区域
虚链路的稳定性取决于当前区域的稳定性
虚链路还可以提供链路冗余
1.5 实例配置
如图,完成上述拓扑搭建,划分网段,配置ip,宣告网段,在不配置虚链路的情况下,R3所在的骨干区域area0 将无法学习到area 2的路由信息
这是因为area2没有和骨干区域area0直接相连造成的
解决办法就是在R1和R2之间即,area2的区域间路由和area0的区域间路由做虚链路
建立虚链路步骤
获取两个区域间路由的Router-ID
可以从邻居的方法来获取。可以说,路由器ID就是接口的ID
这里是R1和R2建立虚链路
在R1上配置Area 1 (穿越的区域) virtual-link router-id(R2)
在R0上查询它的邻居,就可以获取R2的router-id
show ip ospf neighbor
由此得到R2的router-id为40.0.0.1
R2上配置
Router(config-router)#area 1 virtual-link 20.0.0.1
Router(config-router)#
00:26:31: %OSPF-5-ADJCHG: Process 1, Nbr 20.0.0.1 on OSPF_VL0 from LOADING to FULL, Loading Done
R1上配置
Router(config-router)#area 1 virtual-link 40.0.0.1
Router(config-router)#
00:26:34: %OSPF-5-ADJCHG: Process 1, Nbr 40.0.0.1 on OSPF_VL0 from LOADING to FULL, Loading Done
查询虚链路配置信息
Router#show ip ospf virtual-links
查看R3路由表
物理链路断掉,会导致虚链路不存在,虚链路依托于物理链路
边栏推荐
- 0 Basic software test for career change, self-study for 3 months, 12k*13 salary offer
- AVH 动手实践 (二) | 在 Arm 虚拟硬件上部署 PP-OCR 模型
- Use jackson to parse json data in detail
- 【FPGA教程案例50】控制案例2——基于FPGA的PD控制器verilog实现
- Object Creation and Display Transformation
- The principle, architecture, implementation, practice of "transfer" and "search", no need to be afraid of interviews
- "239 Sliding Window Maximum Value" on the 16th day of LeetCode brushing
- .NET 服务注册
- JVM 垃圾回收的概述与机制
- 破解事务性工作瓶颈,君子签电子合同释放HR“源动力”!
猜你喜欢
洛谷P2150 寿司晚宴
(转)JVM中那些区域会发生OOM?
干货:服务器网卡组技术原理与实践
[Likou] 22. Bracket generation
Jetson Orin platform 4-16 channel GMSL2/GSML1 camera acquisition kit recommended
Self-research capability was recognized again, and Tencent Cloud Database was included in the Forrester Translytical report
ALSA音频架构 -- snd_pcm_open函数分析
What is machine learning?Explain machine learning concepts in detail
"98 BST and Its Verification" of the 13th day of leetcode brushing series of binary tree series
Do you understand how the Selenium automated testing framework works?
随机推荐
【FPGA教程案例50】控制案例2——基于FPGA的PD控制器verilog实现
How to add icons to web pages?
校园兼职平台项目反思
Common layout effect realization scheme
send_sig: kernel execution flow
ALSA音频架构 -- aplay播放流程分析
对象的创建以及显示转换
如何进行AI业务诊断,快速识别降本提效增长点?
Word2021 中的图片保存后就变模糊了
自研能力再获认可,腾讯云数据库入选 Forrester Translytical 报告
.NET Custom Middleware
Which one to choose for mobile map development?
[Note] Is the value of BatchSize the bigger the better?
WPF DataGrid 使用数据模板(2)
【ImageNet】数据集1000个类的名称
洛谷P4324 扭动的回文串
源代码加密技术浅析
使用百度EasyDL实现森林火灾预警识别
华南师范宋宇老师课堂对话论文翻译
洛谷P6586 蒟蒻火锅的盛宴