![图片[1]-4.3 配置接口的网络类型-大赛人网](https://www.dsrw.com/wp-content/uploads/2023/03/图片8-21.png)
1.查看R1路由表,R2、R3环回口路由为32位主机路由
[R1]display ip routing-table protocol ospf
2.2.2.2/32 OSPF 10 1 D 12.1.1.2 GigabitEthernet0/0/0
3.3.3.3/32 OSPF 10 2 D 12.1.1.2 GigabitEthernet0/0/0
23.0.0.0/8 OSPF 10 2 D 12.1.1.2 GigabitEthernet0/0/0
2.查看R2环回口网络类型,OSPF类型为P2P,都是32位主机路由
<R2>display ospf interface LoopBack 0
OSPF Process 1 with Router ID 2.2.2.2
Interfaces
Interface: 2.2.2.2 (LoopBack0)
Cost: 0 State: P-2-P Type: P2P MTU: 1500
Timers: Hello 10 , Dead 40 , Poll 120 , Retransmit 5 , Transmit Delay 1
3.R2修改环回接口网络类型
[R2]interface LoopBack 0
[R2-LoopBack0]ospf network-type broadcast
4.查看R1路由表,R2环回口路由变为24位主机路由
[R1]display ip routing-table protocol ospf
2.2.2.0/24 OSPF 10 1 D 12.1.1.2 GigabitEthernet0/0/0
3.3.3.3/32 OSPF 10 2 D 12.1.1.2 GigabitEthernet0/0/0
5.查看R2环回口网络类型为 Broadcast
[R2]display ospf interface LoopBack 0
Interface: 2.2.2.2 (LoopBack0)
Cost: 0 State: DR Type: Broadcast MTU: 1500
© 版权声明
文章版权归作者所有,未经允许请勿转载。
THE END
请登录后查看评论内容