cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2998
Views
0
Helpful
5
Replies

Is it required that OSPF router-id must reachable in IGP cloud?

bobbie0001
Level 1
Level 1

Is it required that OSPF router-id must reachable in IGP cloud?

1 Accepted Solution

Accepted Solutions

Not sure what to say to really.

The RFC specifies that each router in a router OSPF autonomous system must have a unique id.

On Cisco routers you can explicity set it using the "router-id <ip address>" under the OSPF configuration but if you don't then it uses the loopback with the highest IP and if there are no loopbacks then the physical interface with the highest IP.

But there is no requirement for this IP to be routable ie. it simply ensures that each router has a unique id as per the RFC.

If you wanted to be able to telnet/ssh to the router id IP then yes you would need to advertise that so you can route to the IP from a remote subnet.

Jon

View solution in original post

5 Replies 5

Jon Marshall
Hall of Fame
Hall of Fame

No it isn't.

Jon

Hello Jan

Can you provide me a detailed explanation? Why it doesn't required?

Not sure what to say to really.

The RFC specifies that each router in a router OSPF autonomous system must have a unique id.

On Cisco routers you can explicity set it using the "router-id <ip address>" under the OSPF configuration but if you don't then it uses the loopback with the highest IP and if there are no loopbacks then the physical interface with the highest IP.

But there is no requirement for this IP to be routable ie. it simply ensures that each router has a unique id as per the RFC.

If you wanted to be able to telnet/ssh to the router id IP then yes you would need to advertise that so you can route to the IP from a remote subnet.

Jon

Thank you Jon

Disclaimer

The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.

Liability Disclaimer

In no event shall Author be liable for any damages whatsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.

Posting

The router ID, is just that, a router (node) ID.  It needs to be unique within the topology, but it doesn't have to have anything to do with the actual topology IP addressing.  Although router IDs default to interface IPs, and we often use loopback interface IPs (including making them routable), you can also set the router ID within the OSPF process to be whatever you want it to be.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card