Router ID and Virtual-link

Unanswered Question
Dec 10th, 2007
User Badges:

Hi All,


1)under router ospf 1 process

router-id 1.1.1.1 (Is it mandatory that this IP address should exist for any of the interface in the router ?


2) When establishing the virtual link between 2 ABR routers , is it mandatory that Router-ID should be reachable between the routers

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (2 ratings)
Loading.
Danilo Dy Mon, 12/10/2007 - 04:43
User Badges:
  • Blue, 1500 points or more

Hi,


The router ID is the component of every OSPF exchange, including HELLO packets and link-state advertisements (LSAs). It is desirable to have a router ID that does not change. Therefore, configure loopback IP address and use it in "router-id" command after "router ospf process_number".


The answer for both question is yes. In the second question, to configure virtual-link, the command is "area area_id virtual-link router_id ", therefore the router ID should be reachable with each other to exchange messages.


Regards,

Dandy

mohammedmahmoud Mon, 12/10/2007 - 05:03
User Badges:
  • Green, 3000 points or more

Hi,


As Dandy pointed out, configuring a RID is not mandatory but recommended especially when having virtual-links, but for the second question, no, the RID need not be reachable its just an ID even when having virtual-links, the RID still doesn't need to be reachable, its just an ID for the router.


HTH,

Mohammed Mahmoud.

Danilo Dy Mon, 12/10/2007 - 05:07
User Badges:
  • Blue, 1500 points or more

Hi Mohammed,


Thanks for pointing that out :)


Welcome back and congrats to your number!


Regards,

Dandy

vidyaprakash Mon, 12/10/2007 - 05:15
User Badges:

Hi ,


Pls correct me my understanding with your comments.


1) I need to use Router ID under OSPF process.(Router-ID IP should be in use for any Physical or logical IP address in the router)


2) When i use Router-ID IP address , it is not require to advertise RID IP network statement in the ospf process .


Regards

PRakash

Richard Burts Mon, 12/10/2007 - 05:26
User Badges:
  • Super Silver, 17500 points or more
  • Hall of Fame,

    Founding Member

  • Cisco Designated VIP,

    2017 LAN, WAN

Prakash


As to your first statement: you may specify routerID under the OSPF process and it is generally considered best practice to specify the routerID. But it is not required. If you do specify the routerID then it is best practice to use the IP address of an interface on the router as the routerID, but that is not required.


As to your second statement: yes when you specify the routerID it is not necessary to advertise that address by a network statement in the OSPF process.


HTH


Rick

mohammedmahmoud Mon, 12/10/2007 - 05:31
User Badges:
  • Green, 3000 points or more

Hi Dandy,


Thank you very much, i am really glade to be back, and of course with my number :)



PRakash,


1) It is recommended to configure your RID manually under your process, the RID is in the IPv4 format, but it is not required to be an IP address configured under any physical or logical interface on this router (as a best practice we always use a loopback interface IP).


2) The RID is not required to be reachable in the routing context, its just an ID.



HTH,

Mohammed Mahmoud.




Actions

This Discussion