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

5G vs. WiFi 6: Tips for choosing the best wireless network option

There has been much to prove about 5G’s theoretic...

my country's network infrastructure already fully supports IPv6

At the 2020-2021 Global IPv6 Development and Outl...

6 considerations for new IT leaders in digital transformation

[[397841]] The journey of digital transformation ...

5G network speed has shrunk? Q3 saw a year-on-year decline of up to 39%

Recently, Ookla, a network connection speed testi...

Game changers for the branch office: Wi-Fi 6, 4G, 5G and SD-WAN

Today, the use of cloud computing services contin...

...

How to avoid the pitfalls of integrated wiring?

There is a lot of knowledge involved in integrate...

HTTPS 7-way handshake and 9 times delay

HTTP (Hypertext Transfer Protocol) has become the...