Hot Downloads

Welcome, Guest
Username: Password: Remember me


OSPF router ID 6 years 9 months ago #33291

  • kchong_14
  • kchong_14's Avatar
  • Offline
  • Frequent Member
  • Posts: 20
  • Karma: 0
Hey guys,

I am wondering what is the best way to define the router ID for OSPF.
I have read in CISCO books that the preffered way to control router ID is using loopback interface, but isn't it better to hardcode the router ID using the router-id command?

Which one should be a better choice?
What are the disadvantages of using the router-id command?


Kenneth Chong
The administrator has disabled public write access.

Re: OSPF router ID 6 years 9 months ago #33306

  • S0lo
  • S0lo's Avatar
  • Offline
  • Moderator
  • Posts: 1577
  • Thank you received: 7
  • Karma: 3
I have always read the same too. It seams to be a documentation history leftover back when the router-id command was not present (first introduced in IOS 12.2). At those times (and until now) Cisco routers took the ID as the highest loopback address, if none available it would take the highest physical address. The problem with physical addresses as you know is that the they may go down, but a loopback never goes down (if set so) since it's virtual.

Currently, as far as I know, you can use the router-id, just make sure all IDs you give are Unique. You could stick with loopbacks too. This might give more insight:
Studying CCNP...

Ammar Muqaddas
Forum Moderator
The administrator has disabled public write access.
Time to create page: 0.076 seconds


Cisco Routers

  • SSL WebVPN
  • Securing Routers
  • Policy Based Routing
  • Router on-a-Stick

VPN Security

  • Understand DMVPN
  • GRE/IPSec Configuration
  • Site-to-Site IPSec VPN
  • IPSec Modes

Cisco Help

  • VPN Client Windows 8
  • VPN Client Windows 7
  • CCP Display Problem
  • Cisco Support App.

Windows 2012

  • New Features
  • Licensing
  • Hyper-V / VDI
  • Install Hyper-V


  • File Permissions
  • Webmin
  • Groups - Users
  • Samba Setup