OSPF综合实验
2021/7/15 6:08:12
本文主要是介绍OSPF综合实验,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!
一、题目要求
二、搭建拓扑图,子网划分
区域0–area 0
骨干区域
172.16.1.0 24
172.16.2.0 24
172.16.3.0 24
172.16.4.0 24
172.16.5.0 24–R4环回
172.16.6.0 24–R5环回
172.16.7.0 24–R6环回
172.16.8.0 24–R7环回
172.16.9.0 24–tunnel
区域1–area 1
骨干区域
172.16.10.0 24
172.16.11.0 24–R1环回
172.16.12.0 24–R2环回
172.16.13.0 24–R3环回
区域2–area 2
骨干区域
172.16.14.0 24
172.16.15.0 24
172.16.16.0 24–R11环回
区域3–area 3
骨干区域
172.16.17.0 24
172.16.18.0 24
172.16.19.0 24–R8环回
区域4–area 4
骨干区域
172.16.20.0 24
172.16.21.0 24–R9环回
172.16.22.0 24–R10环回
运行rip的区域
10.1.1.1 24
10.1.1.2 24
三、 配置MGRE环境,R3为中心站点
interface Tunnel0/0/0 ip address 10.1.1.1 255.255.255.0 tunnel-protocol gre p2mp source 15.1.1.1 nhrp entry multicast dynamic nhrp network-id 100 nhrp entry 10.1.1.1 15.1.1.1 register
四、给路由器配置缺省路由及下一跳
ip route-static 0.0.0.0 0 下一跳地址(做的路由器的下一跳) R5: ip route-static 0.0.0.0 0 172.16.48.1 R3: ip route-static 0.0.0.0 0 172.16.32.2 R6: ip route-static 0.0.0.0 0 172.16.64.1 R7: ip route-static 0.0.0.0 0 172.16.80.2
五、开启OSPF并宣告
interface Tunnel 0/0/0 ospf network-type broadcast undo network 172.16.112.1 0.0.0.0 ospf 1 import-route ospf 2 q ospf 2 import-route ospf 1 ospf 1 area 1 authentication-mode md5 1 cipher 123456
六、检验连通性
[R6]ping 1.1.1.1 PING 1.1.1.1: 56 data bytes, press CTRL_C to break Reply from 1.1.1.1: bytes=56 Sequence=1 ttl=255 time=30 ms Reply from 1.1.1.1: bytes=56 Sequence=2 ttl=255 time=30 ms Reply from 1.1.1.1: bytes=56 Sequence=3 ttl=255 time=20 ms Reply from 1.1.1.1: bytes=56 Sequence=4 ttl=255 time=30 ms Reply from 1.1.1.1: bytes=56 Sequence=5 ttl=255 time=40 ms
这篇关于OSPF综合实验的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!
- 2024-07-02springboot项目无法注册到nacos-icode9专业技术文章分享
- 2024-06-26结对编程到底难不难?答案在这里
- 2024-06-19《2023版Java工程师》课程升级公告
- 2024-06-15matplotlib作图不显示3D图,怎么办?
- 2024-06-1503-Loki 日志监控
- 2024-06-1504-让LLM理解知识 -Prompt
- 2024-06-05做软件测试需要懂代码吗?
- 2024-06-0514-ShardingSphere的分布式主键实现
- 2024-06-03为什么以及如何要进行架构设计权衡?
- 2024-05-31全网首发第二弹!软考2024年5月《软件设计师》真题+解析+答案!(11-20题)