侧边栏壁纸
博主头像
落叶人生博主等级

走进秋风,寻找秋天的落叶

  • 累计撰写 130562 篇文章
  • 累计创建 28 个标签
  • 累计收到 9 条评论
标签搜索

目 录CONTENT

文章目录

OPSF虚链路配置

2023-01-21 星期六 / 0 评论 / 0 点赞 / 75 阅读 / 1476 字

虚链路是指一条通过一个非骨干区域连接到骨干区域的链路.R1(config)#router ospf 1R1(config-router)#routR1(config-router)#router-id

.


虚链路是指一条通过一个非骨干区域连接到骨干区域的链路
.
R1(config)#router ospf 1
R1(config-router)#rout
R1(config-router)#router-id 1.1.1.1
R1(config-router)#net 1.1.1.1 0.0.0.0 area 0
R1(config-router)#net 12.0.0.0 0.0.0.255 area 0
R1(config-router)#net 192.168.1.0 0.0.0.255 area 0
.
R2(config)#router ospf 1
R2(config-router)#router-id 2.2.2.2
R2(config-router)#net 2.2.2.2 0.0.0.0 area 0
R2(config-router)#net 12.0.0.0 0.0.0.255 area 0
R2(config-router)#net 13.0.0.0 0.0.0.255 area 1
R2(config-router)#net 192.168.2.0 0.0.0.255 area 0
.
R3(config)#router ospf 1
R3(config-router)#router-id 3.3.3.3
R3(config-router)#net 3.3.3.3 0.0.0.0 area 1
R3(config-router)#net 13.0.0.0 0.0.0.255 area 1
R3(config-router)#net 14.0.0.0 0.0.0.255 area 2
R3(config-router)#net 192.168.3.0 0.0.0.255 area 1
.
R4(config)#router ospf 1
R4(config-router)#router-id 4.4.4.4
R4(config-router)#net 4.4.4.4 0.0.0.0 area 2
R4(config-router)#net 14.0.0.0 0.0.0.255 area 2
R4(config-router)#net 192.168.4.0 0.0.0.255 area 2
.
没配置虚链路之前area0和area2之间是无法通信得
.
配置虚链路
R2(config-router)#area 1 virtual-link 3.3.3.3
.
R3(config-router)#area 1 virtual-link 2.2.2.2
.
现在可以通信了

.

广告 广告

评论区