cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1728
Views
0
Helpful
8
Replies

OSPF Router ID

networkinggeek
Level 1
Level 1

Hi Folks,

 

I am doing a test lab for learning, I created a router process without defining the router ID, so it took the highest IP as its RID. 

 

Now I shutdown and cleared that interface which it took its RID, but it still keeps that interface IP though I have cleared IP process on both sides. How to clear it so it takes the new RID? 

 

Q2: 

Neighbor ID Pri State Dead Time Address Interface
10.10.10.1 1 FULL/DR 00:00:34 10.10.10.1 GigabitEthernet3

 

What is the address part in this command? Isnt it supposed to be its own interface IP address? Its own interface IP is 10.10.10.2. Where does .1 comes from. 

 

Thanks

8 Replies 8

Hello

 

 

 

 


@networkinggeek wrote:

Hi Folks,

 

I am doing a test lab for learning, I created a router process without defining the router ID, so it took the highest IP as its RID. 

 

Now I shutdown and cleared that interface which it took its RID, but it still keeps that interface IP though I have cleared IP process on both sides. How to clear it so it takes the new RID? 

 

Q2: 

Neighbor ID Pri State Dead Time Address Interface
10.10.10.1 1 FULL/DR 00:00:34 10.10.10.1 GigabitEthernet3

 

What is the address part in this command? Isnt it supposed to be its own interface IP address? Its own interface IP is 10.10.10.2. Where does .1 comes from. 

 

Thanks


The RID will take as you have stated the highest ip address on the rtr if no loopback interface if configured or you haven't specified the RID manually.

 

can do a Clear ip ospf process both sides and then it will take the next highest ip on the rtr.

 

As for the neigbour id that the rid of the neigbour rtr

res
Paul


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

I did clear the ospf process on both sides but it still keeps the old interface IP as RID even though that interface is already defaulted.

Hi,
Could you post your configuration? Also, please post the output of "sh ip ospf database".

HTH,
Meheretab
HTH,
Meheretab

Hello

If clearing the ospf process doesn't work then removing the opsf process entirely then recreating it would - or specify it manually as a RID in the opsf process

 

res
Paul


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

Paul, you are right. Clearing ospf process did not change/update RID even if the interface is purged.

 

It only updates if I change RID itself in config mode.

 

I was wondering it will update itself if the interface configs or IP is changed.

 

Sal

 

Hello

If you change the ip addresses of the interface OPSF has selected initially as its RID then NO it wont, But if you clear the opsf process also it will update its RID to that new ip.

 

res
Paul


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

I will rerun the scenario in my GNS lab, and get back with configurations.

Hello

Good stuff , ill look forward to what you discover?

 

res
Paul


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul