OSPD综合实验(上)
要求:
1.配置主机名和地址
2.配置OSPF
3.手动配置RID
4.要求R1为DR,R2为BDR
5.R3和R4之间启用MD5认证
6.验证R1到4.4.4.4的开销
7.R8模拟运营商网络
8.全网通
拓扑图:
![0](https://img2020.cnblogs.com/blog/1356910/202107/1356910-20210719213336231-838466533.jpg)
1.先配置R1 R2 R3 R6 R4 R8主机名、地址、ospf、router-id
R1:
![0](https://img2020.cnblogs.com/blog/1356910/202107/1356910-20210719213336232-1695097829.jpg)
R2:
![0](https://img2020.cnblogs.com/blog/1356910/202107/1356910-20210719213336187-170057910.jpg)
R6:
![0](https://img2020.cnblogs.com/blog/1356910/202107/1356910-20210719213336270-1700375367.jpg)
R3:
![0](https://img2020.cnblogs.com/blog/1356910/202107/1356910-20210719213336030-4852800.jpg)
![0](https://img2020.cnblogs.com/blog/1356910/202107/1356910-20210719213336145-1259311686.jpg)
配置完成后查看R1邻居状态是否更新:
![0](https://img2020.cnblogs.com/blog/1356910/202107/1356910-20210719213336269-153031251.jpg)
再查看接口:
![0](https://img2020.cnblogs.com/blog/1356910/202107/1356910-20210719213336157-1954335193.jpg)
实验要求:R1是DR R2是BDR (配置R1 R2ospf 优先级)
R1:
![0](https://img2020.cnblogs.com/blog/1356910/202107/1356910-20210719213336188-1575720401.jpg)
R2:
![0](https://img2020.cnblogs.com/blog/1356910/202107/1356910-20210719213336097-1366764768.jpg)
R1 R2 R3 R6 ospf服务同时重启生效:
![0](https://img2020.cnblogs.com/blog/1356910/202107/1356910-20210719213336029-268922523.jpg)
4台路由器服务重启后等待大概30s:
R1查看邻居状态:
![0](https://img2020.cnblogs.com/blog/1356910/202107/1356910-20210719213336142-1164240385.jpg)
再查看接口:
![0](https://img2020.cnblogs.com/blog/1356910/202107/1356910-20210719213336156-364006216.jpg)
配置R3 ------- R4:
R3:
![0](https://img2020.cnblogs.com/blog/1356910/202107/1356910-20210719213336264-395204573.jpg)
R4:
![0](https://img2020.cnblogs.com/blog/1356910/202107/1356910-20210719213336189-1968550879.jpg)
![0](https://img2020.cnblogs.com/blog/1356910/202107/1356910-20210719213336195-1766419107.jpg)
R4:查看邻居
![0](https://img2020.cnblogs.com/blog/1356910/202107/1356910-20210719213336110-1872791540.jpg)
验证连通性:
R1:
![0](https://img2020.cnblogs.com/blog/1356910/202107/1356910-20210719213336221-405727111.jpg)
R4:
![0](https://img2020.cnblogs.com/blog/1356910/202107/1356910-20210719213336197-1168613873.jpg)