Monday, August 3, 2009

Virtual Links



Yesterday I was thinking of writing something related to OSPF so something crossed my mind and on that very moment I start to write about it, so here we go that is “VIRTUAL LINKS”.
Suppose we have a complicated network and we use OSPF as our IGP and we configure different areas in it, I assume that the reader of virtual link must know how to configure multiple area OSPF and what is the concept behind it, I will talk directly about the virtual link, what is it, how it works, and what is the purpose of virtual links.

When an area is not directly connected to area 0 (backbone area) so it can’t communicate, a concept is used for it and that is called Virtual Links make able the area to communicate. See figure a, we have two routers namely R1 and R2, The fastethernet of R1 is configured under area 0, link between R2 and R1 is configured under area 1 and R2 fastethernet is configured under area2, now the LAN of R2 will not be able to communicated to R1 as it is not directly connected to R1 so we have to configure Virtual Link between R1 and R2 so what it will do is that the area 0 will be expand logically to R2 covering area 1 with it, now from R2 point of view there will two areas area 0 and area 2.

1: In the figure, Area 2 is not directly connected to Area 0 so we have to create a transit link on Area 1 to make able the communication between Area 2 and Area 0.
2: Here the Area 0 expand logically
3: After Virtual the R2 becomes Area Boarder Router (ABR).

NOTE: If a router connects two areas but none of the area is Area 0 so the router will never be ABR.

Conditions for Virtual Links

1: Link between two routers when made so one of the router must be part of back-bone area (Area 0).
R1-------R2-------> Link can be configured
If we another router R3 connected to router R2
R2------R3------> Can’t configure link as non of the router is directly connected to area 0.
2: When link is made between two routers, so one area must be common between them like
R1-----R2 (Area 1 is common)
R1-----R3 (Nothing is common)

NOTE: For Virtual Link both he condition must be satisfied.

OSPF Configuration

A(config) # router ospf 1
A(config) # network 2.0.0.0 0.255.255.255 area 2
A(config) # network 200.100.100.0 0.0.0.255 area 2

B(config) # router ospf 1
B(config) # network 2.0.0.0 0.255.255.255 area 2
B(config) # network 3.0.0.0 0.255.255.255 area 1
B(config) # network 200.100.150.0 0.0.0.255 area 1

C(config) # router ospf 1
C(config) # network 3.0.0.0 0.255.255.255 area 1
C(config) # network 200.100.200.0 0.0.0.255 area 0


Virtual Link Configuration

B(config) # router ospf 1
B(config) # area 1 virtual-link 200.100.200.100

C(config) # router ospf 1
C(config) # area 1 virtual-link 200.100.150.100


Now check your Router-A routing table , the Router-C route will be there by using following command.

A # show ip route

5 comments:

Anonymous said...

replica watches, ugg boots, ralph lauren pas cher, oakley sunglasses, louis vuitton, nike roshe run, chanel handbags, burberry, kate spade outlet, louis vuitton outlet, nike outlet, longchamp, louboutin shoes, gucci outlet, ray ban sunglasses, air jordan pas cher, nike free, jordan shoes, sac longchamp, uggs on sale, louboutin, nike free, cheap oakley sunglasses, nike air max, prada outlet, air max, christian louboutin outlet, tory burch outlet, longchamp pas cher, polo ralph lauren outlet, ugg boots, polo ralph lauren outlet, louis vuitton, replica watches, nike air max, louboutin pas cher, oakley sunglasses, tiffany jewelry, oakley sunglasses, ray ban sunglasses, louis vuitton, prada handbags, michael kors, ray ban sunglasses, louis vuitton outlet, louboutin outlet, longchamp outlet, oakley sunglasses, longchamp outlet, tiffany and co

Anonymous said...

vans shoes, beats by dre, ghd, lancel, herve leger, new balance, ray ban, ralph lauren, abercrombie and fitch, celine handbags, north face outlet, birkin bag, louboutin, chi flat iron, soccer jerseys, nike air max, ferragamo shoes, mont blanc, insanity workout, hollister, jimmy choo shoes, nfl jerseys, soccer shoes, nike huarache, nike air max, nike roshe, wedding dresses, instyler, iphone cases, p90x workout, timberland boots, reebok shoes, mcm handbags, gucci, oakley, hollister, asics running shoes, valentino shoes, longchamp, converse, vans, converse outlet, baseball bats, hollister, north face outlet, bottega veneta, lululemon, babyliss, mac cosmetics, nike trainers

yanmaneee said...

coach handbags
fila
yeezy boost
christian louboutin shoes
michael kors handbags
fila sneakers
longchamp handbags
supreme clothing
nike air max 2019
nike air max 97

yanmaneee said...

yeezys
kyrie 7
off white shoes
cheap jordans
kevin durant
supreme clothing
jordan retro
kyrie 4
nike sb
kd shoes

noughr said...

check my blogclick to read click sitefind out imp sourceFull Article