We help IT Professionals succeed at work.
Get Started

OSPF Router ID

Last Modified: 2012-05-09
I installed and configured a L3 switch with OSPF but the router id was not what I expected.

I have 4 ip addresses on the switch.
GigabitEthernet1/0/25  192.xxx.xxx.62
GigabitEthernet1/0/26  192.xxx.xxx.66
Loopback0              192.xxx.xxx.30
Vlan213                192.xxx.xxx.1

I expected the loopback interface to become the OSPF router id but it was 192.xxx.xxx.1

Looked at the config and noticed the the loopback 0 had a mask of and changed that to and did a "clear ip ospf process" but could not get the router id to change.

Reloaded the switch and now the router id is 192.xxx.xxx.30 which is the loopback address.

Why did loopback 0 not become the router id?

Could I have got the router id to change without reloading the switch?
Watch Question
Network Architect
This problem has been solved!
Unlock 2 Answers and 15 Comments.
See Answers
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE