OSPF router ID significance

Unanswered Question
Jan 12th, 2009

Hi all,

Do the router-id in OSPF has anything to do with routing decision..? Or its just an identifier..? I have an ASA enabled for OSPF and 10.100.25.x n/w is advertised via ospf (which is ofcourse we needed) but the ID advertising as (management IP). Just curious to know what is exact significance of the router ID. I also have another location with another ASA picking up as router id.

Also, the Domain id ( is same as process ID here..?

Below are some of the o/p:



ASA1# sh ospf

Routing Process "ospf 100" with ID and Domain ID


ASA1# sh runn | beg router ospf

router ospf 100

network area 0



Core SW adjecent to ASA:

S1#sh ip ospf neighbor (truncated)

(ASA is last entry)

Neighbor ID Pri Address 1 1 1

Thank you


I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 3 (1 ratings)
chris.grammer Mon, 01/12/2009 - 08:46

Without getting to wordy, the router-id in ospf is used as a tie breaker to a route if all other metrics are the same between 2 routers to a destination.

It is always best to set the router-id with the command:

router osfp 100


If the router id is not set, there is the possibility that it could change if another IP is added to the router configuration and a reboot or reset of the OSPF process occurs. For instance, the router-id is used to configure virtual tunnels and if that ID changes, the virtual tunnels will stop working.

The domain or area is not the same as the ID.

The process ID is not the same as the router ID. The process ID in ospf is locally significant and there can be multiple OSPF processes per router.

The "router ID" is how a router identifies itself in an ospf process to another router.


This Discussion