Factors that affect OSPF neighbor relationships, OSPF neighbor issues: network and subnet mask

Factors that affect OSPF neighbor relationships, OSPF neighbor issues: network and subnet mask

1. OSPF troubleshooting: Multi-point access networks require consistent masks. Inconsistency causes OSPF neighbors to fail to establish

Ethernet also has multi-point access. Here we take SW1 and R3 as examples for demonstration:

  1. [SW1]display current-configuration interface Vlanif 30
  2.  
  3. IP address 10.1.30.10 255.255.255.0
  4.  
  5. ospf enable 1 area 0.0.0.34
  6.  
  7. [R3]display current-configuration interface g 0/0/0
  8.  
  9. ip address 10.1.35.3 255.255.255.0
  10.  
  11. ospf enable 1 area 0.0.0.35

R3 and SW1 establish OSPF neighbor relationship normally

At this time, we change the mask of VLAN30 interface of SW1 to 30

  1. [SW1]interface Vlanif 30
  2.  
  3. [SW1-Vlanif30]ip address 10.1.30.10 28

At this time, the direct connection between SW1 and R3 interfaces can still be pinged normally, but the OSPF neighbor establishment fails.

By looking at the ospf error you can see that the network masks do not match:

At this point we can restore the mask of SW1 to 24 to establish the OSPF neighbor relationship normally.

  1. [SW1]interface Vlanif 30
  2.  
  3. [SW1-Vlanif30]ip address 10.1.30.10 24

2. Inconsistency of point-to-point network masks does not affect the establishment of OSPF neighbor relationships

Next, we configure different masks for the PPP link between R3 and R4.

The mask is 24, and R3 and R4 establish an OSPF neighbor relationship normally.

At this time, we configure the mask of R3's S2/0/0 interface to 28

  1. [R3]interface Serial 2/0/0
  2.  
  3. [R3-Serial2/0/0]ip address 10.1.34.3 28

At this time, R3 and R4 can still establish OSPF neighbor relationship normally

<<:  Let's talk about 11 main neural network structures

>>:  Σco Time | The "new" foundation of digital economy, Huawei and Xinghai IoT create a sustainable growth smart park

Recommend

Linux will support new network technology based on Li-Fi

According to phoronix, Li-Fi technology supplier ...

5G! Your future is unimaginable

Nowadays, 5G seems to be like the swallows flying...

VirMach: $7.5/year KVM-384MB/10GB/500GB/multiple data centers

The tribe has not shared information about VirMac...

Juniper Networks MIST AI network solution gives network engineers "superpowers"!

[51CTO.com original article] Under the night, the...

Research shows: 5G will drive the development of the digital economy

How does 5G fit into this? As remote work, video ...

Omdia Viewpoint: CNF is key for telecom operators to realize the promise of 5G

Telecom operators are investing in operator softw...

Huawei releases Net5.5G full range of solutions to stimulate new growth for operators

[Barcelona, ​​Spain, February 26, 2024] During MW...

The Cybersecurity Law was promulgated: 6 highlights

On November 7, the 24th meeting of the Standing C...