cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3549
Views
5
Helpful
20
Replies

OSPF Virtual link design issue

mahesh18
Level 6
Level 6

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

4 Accepted Solutions

Accepted Solutions

So, here it is. try a link between r5 and r2.  You virtual link would transit through area 20

View solution in original post

bogdan.radu
Level 1
Level 1

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.

View solution in original post

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!

View solution in original post

20 Replies 20

Mahesh,

umm where you setting up the virtual link seems to be ok. umm cant tell unless we see some more information. hows the ip addressing and all . Are the devices able to see each other. I mean R2 and R3.

Maybe this link will give some information on virtual links

http://www.cisco.com/en/US/tech/tk365/technologies_configuration_example09186a00801ec9ee.shtml

can you please post a diagram so that its more clear how its all connected.

Regards, Kishore

Hi Kishore,

Unfortunately i have no diagram yet.

R2 can only see R3s interface which are directly connected.

R2 is unable to see the interface IP of R3 which connects to R4.

Thanks

MAhesh

Hi Mahesh,

Is this your setup?

If yes, you need a virtual link between r5 and r2

Hi Reza,

My setup is like this

R1 is in Area 0 and has physical connection to R2.

R2 has 1 interface in area 0 and 1 interface in area 20.

R3 has 2 physical interfaces and they are connected to R2 and R4.

R3 is in area 20 only.

R4 has 1 interface in area 20 and 1 interface in area 12.

R5 has physical connection to R4 .

R5 is in area 12 only.

I hope this helps

Thanks

MAhesh

Let me try  link betwwen r5 and r2

thanks

So, here it is. try a link between r5 and r2.  You virtual link would transit through area 20

Hi Reza,

Thanks for making nice diagram.

I tried between R2 and R5 using area 20 still down.

Just let you know R3 and R5 are ASBR *******************

i am not sure that will have any effect on virtual link or not?

thanks

MAhesh

Hi Reza,

I created Virtual link between R5 and R2 using area 20 still it is down down

Hi Reza,

I read the document and now tried virtual  link between R2 and R2 area 20 still down down

Thanks

MAhesh

Hi Mahesh,

Do you mean r2 and r5?

r3 and r4 are already connected to area 0, so you would need a virtual link from r5 to r2 transiting r4.

HTH

Hi Reza,

As per your 2nd diagram i tried r 2 and r5 then r2 and r4 still no luck

thanks

mahesh

daudparvez
Level 1
Level 1

Dear Mahesh,

You havent mentioned Area 2 in your topology description, whereas your " shows ip ospf" shows one of your interfaces in Area 2.

Hi Daud,

  Area BACKBONE(0) (Inactive)

        Number of interfaces in this area is 2 (1 loopback) *****************************

This tells number of interaces in this area is 2 not area number if i am correct.

Thanks

MAhesh

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