03-28-2008 11:54 AM - edited 03-03-2019 09:19 PM
As they say " its possible to use same ip address for loopback interfaces in different VRFs"
but even if ospf process running in different VRF they cannot use same router-id
but my question is "why this kind of behaviour?"
is this ospf which is not allowing this or cisco vrf implentation is the culprit ?
rgds
rajat
03-31-2008 11:42 AM
Rajat,
You are correct. Each ospf process (vrf or not) need to have a unique RID. This is indeed an implementation restriction.
Regards,
04-01-2008 04:24 AM
Thanks Harrold, I agree with you on this.
I got one more input regarding this case which is based on observation and would like to share and discuss with you - correct me if i am wrong
This is how cisco implements :-
VRF (e.g. vrf lite)is basically virtual instance of routing table, so if we run ospf in an VRF its basically a differnt instance of OSPF.
so this is an implementation restriction because OSPF needs distuinguished router-id for all the instance running on a same router.
Now take the case of Redback Networks SE800, this is how they implement the Virtual routing concept:-
we can define differnt contexts (Virtual Router contexts) and OSPF process running in the context have nothig to do with OSPF process of other context so they can have same router-id.
Based on this observation can we say that OSPF has defined guidelines about the router-d and cisco is implementing its VRF concept as Virtual routing instance rather complete virtual router so have to be different router-id for each instance ..
rgds
rajat
04-01-2008 01:49 PM
Rajat,
This is simply an implementation decision to avoid having issues if LSAs from one VRF were inadvertently leaked between separate VRFs.
Regards,
04-04-2008 03:43 AM
Sorry for the late reply.
My doubts are now pretty much cleared
Thanks Harrold and Sam for this discussion.
rgds
03-31-2008 01:25 PM
There has been new developments in BGP where by each address family may have its own RID.
hopefully OSPF will follow.
Sam
04-01-2008 11:16 AM
Sam,
ospf also allows you to configure the RID within the VRF context. But an implementation choice has been made not to allow the same RID to exist in different VRFs, just to avoid any issues if LSA are inadvertently being leaked from one VRF to the other.
Regards,
04-01-2008 11:24 AM
to clarify this, I read OSPF will only support a different ID under each VRF. which has not been the case for BGP until recently.
Is this right ?
Many thanks !
Sam
04-01-2008 01:46 PM
Sam,
Correct. BGP is a different story as you can have many VRF instances under the same BGP process. For ospf each process represents a separate VRF.
Regards,
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