背景:关于OSPF宣告的路由与对端学习到的路由掩码不一致的问题探究
探究原因
关于OSPF宣告的路由与对端学习到的路由掩码不一致的问题记录
R1:
#
ospf 1
area 0.0.0.0
network 192.168.1.0 0.0.0.255
network 1.1.1.1 0.0.0.0
<H3C>dis ospf pee
OSPF Process 1 with Router ID 1.1.1.1
Neighbor Brief Information
Area: 0.0.0.0
Router ID Address Pri Dead-Time State Interface
2.2.2.2 192.168.1.2 1 39 Full/BDR GE0/0
<H3C>
R2:
#
ospf 1
area 0.0.0.0
network 172.16.1.0 0.0.0.255
network 192.168.1.0 0.0.0.255
network 2.2.2.2 0.0.0.0
[H3C]DIS OSPF PEE
OSPF Process 1 with Router ID 2.2.2.2
Neighbor Brief Information
Area: 0.0.0.0
Router ID Address Pri Dead-Time State Interface
1.1.1.1 192.168.1.1 1 33 Full/DR GE0/0
3.3.3.3 172.16.1.2 1 38 Full/BDR GE0/1
[H3C]
R3:
#
ospf 1
area 0.0.0.0
network 172.16.1.0 0.0.0.255
network 3.3.3.3 0.0.0.0
<H3C>DIS OSPF PEE
OSPF Process 1 with Router ID 3.3.3.3
Neighbor Brief Information
Area: 0.0.0.0
Router ID Addres