实验拓扑图
实验需求
1.整个网络使用192.168.1.8/24,进行地址分配。
2.Area 0区域中,R1为 DR,R2为BDR。
3.R3与R4之间使用密文认证,密码为Admin@huawei.com
4.R1、R2、R5之间各自配置一个环回接口 ,R1和R2的环回接口可以宣告到OSPF网络。
5.设备的RID为每台设备的名称编号(AR1--1.1.1.1)。
6.全网可达。
需求分析
1.划分网段
2.启动OSPF
3.认证
4.DR BDR
5.缺省
实验搭建
1.划分网段
配IP
R1
R2
R3
R4
R5
2.启动OSPF
3.认证
4.DR和BDR
5.缺省
动态路由的缺省,只需要找到缺省源(R5)。
<r1>ping 192.168.1.129
PING 192.168.1.129: 56 data bytes, press CTRL_C to break
Reply from 192.168.1.129: bytes=56 Sequence=1 ttl=253 time=70 ms
Reply from 192.168.1.129: bytes=56 Sequence=2 ttl=253 time=70 ms
Reply from 192.168.1.129: bytes=56 Sequence=3 ttl=253 time=50 ms
Reply from 192.168.1.129: bytes=56 Sequence=4 ttl=253 time=40 ms
Reply from 192.168.1.129: bytes=56 Sequence=5 ttl=253 time=40 ms
--- 192.168.1.129 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 40/54/70 ms