Got it

The OSPF neighbor relationship is not established

Latest reply: Feb 20, 2020 12:05:54 75 3 3 0

Hello everyone,

Today, I will share a situation where OSPF neighbor relationships are not established and the solution.

Problem Description and Networking

On the live network, active and standby static routes are used to connect to the BSC/RNC of another vendor. After the cutover, the OSPF neighbor relationship is not established.

The following figure shows the simplified networking.

175120z19qt67tct1li17a.jpg

(1) The sub-interfaces between the RSGs are configured with a private network IGP and use the OSPF protocol.

(2) Configure static routes from the master and slave RSGs to the logical interfaces of the RNC (deploy BFD between the RSGs and RNC and configure the routes to track the BFD) and import the routes to OSPF. The master and slave RSGs import static routes and IGP routes to BGP.

Problem Identification Method

Run the display ospf error command every 10s to check the number of OSPF errors. The command output shows that there are OSPF router ID conflicts.

175120vndm8d9mg1l8355l.png

Run the debugging ospf eventcommand. The following conflict information is displayed:

175120gde2boddbee6ibym.png

Run the display ospf peer command to check the router ID.

175120ppxlmsrse9720ref.png

Check the configuration.

175121ynntbqong9n1o1pp.png

Configure a loopback interface on the RSG for the private network to associate with the default route to prevent blackhole routes.

175121hfgsp1n460ppr36s.png

The ospf router-id is not manually specified.

175121to18b0p8p8jsu85s.png

Root Cause

When OSPF is configured, the router ID is not manually specified. As a result, RSG1 and RSG2 select Loopback10 as their OSPF router IDs. HoVPN default routes are associated to prevent route blackholes. The loopback10 addresses configured on the master and slave RSGs are the same. As a result, OSPF router IDs conflict and OSPF neighbor relationships fail to be established.

Solution

Manually specify the router ID of the OSPF process. Note that the modification of the OSPF process takes effect only after the OSPF process is restarted.

ospf 102 router-id X.X.X.X(loopback0 ip) vpn-instance NCELL_2G

reset ospf 102 process

Experience summary

(1) By default, a router automatically selects an IP address of the current interface as the router ID. When manually configuring router IDs, ensure that any two routers in an AS have different router IDs. Generally, the router ID is the same as the IP address of an interface on the device.

(2) When configuring OSPF on the live network, you are advised to manually specify a router ID.

This is what I want to share with you, thank you!

 


  • x
  • convention:

Admin Created Feb 7, 2020 06:10:52 Helpful(0) Helpful(0)

this is great, thanks for the sharing. :D
View more
  • x
  • convention:

Created Feb 19, 2020 01:57:12 Helpful(0) Helpful(0)

Thanks for sharing :D
View more
  • x
  • convention:

ViktorG
Created Feb 20, 2020 12:05:54 Helpful(0) Helpful(0)

Thanks for sharing !

I am sure we should remember to put default routes that are associated to prevent route blackhole towards Interface NULL0 :)

Take care, guys!
View more
  • x
  • convention:

Take%20care%20and%20have%20a%20great%20day!%3Cbr%2F%3E%3Cbr%2F%3EViktor

Comment

Comment
You need to log in to comment to the post Login | Register

Notice Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " Privacy."
If the attachment button is not available, update the Adobe Flash Player to the latest version!

My Followers

Login and enjoy all the member benefits

Login

Huawei Enterprise Support Community
Huawei Enterprise Support Community
Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.