OSPF router-id not from loopback

From: Sadiq Yakasai (sadiqtanko@gmail.com)
Date: Wed Jun 06 2007 - 15:42:48 ART


Guys,

So I am configurring OSPF but I have not been in the habit of putting
my router-id as my loopback interface. I am running into abit of a
confusion here:

For e.g:
R1: router-id 1.1.1.1
R2: router-id 2.2.2.2
...... and so on....

SW2(config)#do sh ip ospf datab

            OSPF Router with ID (8.8.8.8) (Process ID 1)

                Router Link States (Area 1)
Link ID ADV Router Age Seq# Checksum Link count
5.5.5.5 5.5.5.5 275 0x80000029 0x00BD69 1
8.8.8.8 8.8.8.8 358 0x8000002C 0x001F32 2

                Summary ASB Link States (Area 1)
Link ID ADV Router Age Seq# Checksum
6.6.6.6 5.5.5.5 89 0x80000001 0x006667

So why I am seeing 5.5.5.5, 8.8.8.8, 6.6.6.6 as link IDs? I would have
thot that shud actually be the network ID (routes) and the ADV Router
shud have the router-id of the advertizing router.

What are the caveats of using router-id naming conventions of this
sort please? It is safest to just use the loopback addresses as
opposed to using an arbitrary value?

Thanks

Sadiq



This archive was generated by hypermail 2.1.4 : Sun Jul 01 2007 - 17:24:47 ART