05-12-2012 10:38 PM - edited 03-07-2019 06:40 AM
Hi all,
I have the Lab setup like below
R1 area 0
R2 is ABR area 0 and 20
R3 is connected to R2 and R4 in Area 20 only.
R3 is an ASBR *****************************************************************************************************
R4 is connected to R3 and R5 Area 20 and area 12 only.
R5 is Area 12 only connected to R4.
R5 is an ASBR *******************************************************************************************************
I have created Virtual link between R2 and R4 but link on both ends shows down.
Thanks
Message was edited by: mahesh parmar
Solved! Go to Solution.
05-15-2012 06:55 AM
Hi Mahesh,
The purpose of defining a virtual link is to "connect" an area to Area 0. If I understand correctly from your post, you have Area 12 which is not directly connected to Area 0. In this case, you have to make a virtual link between one of the ABRs of Area 0 to one of the ABRs of Area 12.
In the above case, you have to make a virtual link between R2 and R3 and it will look like that:
R2:
router ospf 1
router-id 2.2.2.2
log-adjacency-changes
area 20 virtual-link 3.3.3.3
network 10.10.12.2 0.0.0.0 area 0
network 10.10.23.2 0.0.0.0 area 20
R2#sh ip os int b
Interface PID Area IP Address/Mask Cost State Nbrs F/C
VL0 1 0 10.10.23.2/24 10 P2P 1/1
Fa0/0 1 0 10.10.12.2/24 10 DR 1/1
Fa0/1 1 20 10.10.23.2/24 10 BDR 1/1
R3:
router ospf 1
router-id 3.3.3.3
log-adjacency-changes
area 20 virtual-link 2.2.2.2
network 10.10.23.3 0.0.0.0 area 20
network 10.10.34.3 0.0.0.0 area 12
R3#sh ip os int b
Interface PID Area IP Address/Mask Cost State Nbrs F/C
VL0 1 0 10.10.23.3/24 10 P2P 1/1
Fa0/0 1 12 10.10.34.3/24 10 BDR 1/1
Fa0/1 1 20 10.10.23.3/24 10 DR 1/1
Now, R3 virtually has an interface in Area 0, even though it is not connected to Area 0.
Hope this helps.
05-15-2012 10:38 AM
Hi,
Thanks for reply.
Right now R3 has both interfaces in area 20.
Should i change 1 interface of R3 from Area 20 to Area 12?
R4 has 1 interface in area 20 and it has connection to R5 which is area 12.
Thanks
MAhesh
05-15-2012 12:01 PM
Hey Mahesh18,
Based on the information you've provided above...below I've drawn your OSPF design (dashed line is the virtual link).
If my drawing is accurate then the following steps will connect area 12 to area 0 and get you on your way. Note: This assumes all interfaces are up and reachable.
1. On R4 - under the OSPF process configure the following
- area 20 virtual-link [R2 router-id]
2. On R2 - uncer the OSPF process configure the following
- area 20 virtual-link [R4 router-id]
That's all there is... Hope this helps!
05-15-2012 12:30 PM
Hi Everyone,
Issue is fixed Virtual link is up now between R2 and R4,
Issue was nei relationship between r2 and r3 were 2way/Drother.
I removed ip ospf priority 0 from both r2 and r3 interfaces and virtual link came up.
Many thanks to everyone for there help.
Regards
MAhesh
05-16-2012 01:04 AM
Hello Mahesh,
>> I removed ip ospf priority 0 from both r2 and r3 interfaces and virtual link came up.
You have been kind to provide valuable feedback on this thread. This is another happy end
Best Regards
Giuseppe
05-16-2012 11:43 AM
Hi Giuseppe,
This forum is great place to learn.
Its always good to share the knowledge here and provide feedbacks of issues which get resolved.
Still i am learning a lot from you guys.
Thanks
MAhesh
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