Hot Downloads



The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1


OSPF router ID 9 years 1 month ago #33291

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

Re: OSPF router ID 9 years 1 month ago #33306

  • S0lo
  • S0lo's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1577
  • Karma: 3
  • Thank you received: 7
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
  • Page:
  • 1
Time to create page: 0.119 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