04-12-2014 06:00 AM - edited 03-04-2019 10:47 PM
Is it required that OSPF router-id must reachable in IGP cloud?
Solved! Go to Solution.
04-12-2014 08:52 AM
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
04-12-2014 08:34 AM
No it isn't.
Jon
04-12-2014 08:38 AM
Hello Jan
Can you provide me a detailed explanation? Why it doesn't required?
04-12-2014 08:52 AM
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
04-12-2014 09:00 AM
Thank you Jon
04-14-2014 06:08 AM
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.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide