06-07-2018 02:02 AM - edited 03-05-2019 10:33 AM
06-07-2018 04:19 AM
Hello,
it won't work, even without VRFs. Each OSPF process needs a unique router ID.
06-07-2018 09:10 AM - edited 06-07-2018 09:11 AM
Hello
humm. Vrfs are suppose to be separate routing instances as such you can use the same ip addressing and I would have guessed this would have applied to ospf rids also !
However to make sure how are you creating the vrf for ospf - usually you would do this by:
router ospf 1 vrf xxx
res
Paul
06-07-2018 10:52 AM
06-07-2018 12:01 PM - edited 06-07-2018 01:28 PM
Hello
Hum can you try and create 3 loopbacks same IP address but in 3 vrfs - then try again?
EDITED - Just managed to lab this and indeed you CANNOT apply the same RID to each vrf process even when these ip address overlap but are in separate routing instances, I would have thought it would be applicable, but I guess thinking about it any leaking between vrfs instances would probably cause issues!
Apologies for mis-leading you - but it was something I really thought was applicable thing to do
res
paul
06-09-2018 03:05 PM
I realize that the original poster had planned to use the same IP address as OSPF RID in all three processes. Now that we know that this will not work, is there a problem with creating a separate RID for OSPF 2 and 3? Note that they do not have to be interface IPs. They just need to be unique IP addresses.
HTH
Rick
08-20-2020 06:03 AM - edited 08-20-2020 06:05 AM
Hello,
Maybe old threat...
I did not try to use a loopback interface as Router-id (without the command router-id), but if you manually configure it (in my case, it is like one SVI IP for one of those vrfs) you have no issues on using the same router-id for different OSPF process in different VRFs, as far as I know.
router ospf 1100 vrf A router-id 192.168.203.2 passive-interface default no passive-interface Vlan1192 network 172.23.107.1 0.0.0.0 area 0 network 192.168.225.26 0.0.0.0 area 0 router ospf 299 vrf B router-id 192.168.203.2 passive-interface default no passive-interface Vlan1815 network 192.168.5.2 0.0.0.0 area 0 network 192.168.212.33 0.0.0.0 area 0 router ospf 1 vrf C router-id 192.168.203.2 redistribute static passive-interface default no passive-interface Vlan1763 network 192.168.251.241 0.0.0.0 area 0 network 192.168.251.250 0.0.0.0 area 0
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: