Hot Downloads

Welcome, Guest
Username: Password: Remember me

TOPIC: OSPF router-id

OSPF router-id 8 years 5 months ago #25643

  • RA1313IT
  • RA1313IT's Avatar
  • Offline
  • New Member
  • Posts: 19
  • Karma: 0
Hello,

I need help answering the following question... I am running OSPF on my router's, and I want to use Cisco's router-id command to set the router-id of my OSPF process manually. Most documentation says to set this to a loopback address (or it will automatically use the highest loopback).

My question is if I use the actual IP of the interface as my router-id, and that interface goes down, does OSPF restart and does a DR election reoccur (this is a broadcast network)? Or does the router-id command allow for OSPF to remain stable even if the specified IP configured on an interface goes down?

-RA1313IT
The administrator has disabled public write access.

Re: OSPF router-id 8 years 5 months ago #25649

  • jstretch
  • jstretch's Avatar
  • Offline
  • New Member
  • Posts: 15
  • Karma: 0
If an OSPF process is using a physical interface address as its router ID, and that interface goes down, that address is no longer reachable. OSPF keeps running, but may lose connectivity to its neighbors until the interface comes back up.

Using a loopback address solves this problem, as it should always be up and reachable from all physical interfaces.
The administrator has disabled public write access.

Re: OSPF router-id 8 years 5 months ago #25654

  • S0lo
  • S0lo's Avatar
  • Offline
  • Moderator
  • Posts: 1577
  • Thank you received: 7
  • Karma: 3
From ciscopedia:

"To use a fixed router ID, use the router-id command in router configuration mode. To force OSPF to use the previous OSPF router ID behavior, use the no form of this command.

You can configure an arbitrary value in the IP address format for each router. However, each router ID must be unique.

If this command is used on an OSPF router process which is already active (has neighbors), the new router-ID is used at the next reload or at a manual OSPF process restart. To manually restart the OSPF process, use the clear ip ospf command."


However, as jstretch pointed out, we usually define a loop back interface and assign it an IP. The router will be forced to always use this IP as it's ID for OSPF no matter what physical interfaces are up or down.
Studying CCNP...

Ammar Muqaddas
Forum Moderator
www.firewall.cx
The administrator has disabled public write access.
Time to create page: 0.077 seconds

CCENT/CCNA

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

Linux

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