×

Warning message

  • Cisco Support Forums is in Read Only mode while the site is being migrated.
  • Cisco Support Forums is in Read Only mode while the site is being migrated.

OSPF loopback router ID

Unanswered Question
bfeeny Fri, 10/26/2001 - 11:40
User Badges:

This is correct. When the OSPF process is turned on, it selects the best router id. It will try the loopbacks first, and then it will select the highest ip address (non loopback) next.


If you should change something on the router AFTER OSPF is started, such as creating a loopback that wasn't there before, or even just numbering an interfaces with a higher IP address than what was found to be the highest when OSPF was enabled, it will not preempt the previous router id.


This can REALLY mess you up, becuase when the router reboots, at that time, the newly added address WILL be recognized by OSPF and will become the new router id. Some things depend on the router id, such as OSPF virtual-links, and these can all break a the time the router is reloaded! So the best practice is to hard code your OSPF router id's using the "router-id" command under the OSPF process.


brian


Actions

This Discussion