Wednesday, February 22, 2012

OSPF AREA Challenge - A Little Tricky Stuff

I am back again with some more obnoxious stuff for you guys, specially for potential CCIE Routing & Switching Lab candidates. But it's all part of entertainment.


So let me bring the new challenge. Down below is the topology(Physical/Logical)  to get start with:









So next obvious questions coming in your mind are:


> Where is Area 0 (Backbone Area) in the topology
                               &
> What's the challenge


So here is the challenge:


Each router in topology is having a loopback with IP Address -  X.X.X.X/24, Where X = Router Number. E.g. - On R1 it will be - 1.1.1.1/24


Now challenge is to configure Loopback0 of each router in Area 0 and ensure that each router sees routes to other Router's loopbacks as INTRA AREA Routes in routing table.


Something Like:





 


BTW... R6 in physical topology is acting as Frame-Relay Switch.


Below are the quick initials to begin with:


R1
===


!
en
!
conf t
!
int lo0
 ip add 1.1.1.1 255.255.255.0
 ip ospf net point-to-p
 exit
!
int f0/0
 ip add 15.15.15.1 255.255.255.0
 no sh
 exit
!
int s0/0
 en frame
 no frame inv
 no sh
 exit
!
int s0/0.12 point-to-p
 ip add 21.21.21.1 255.255.255.0
 frame interface-dlci 102
 exit
!
router ospf 1
 net 15.15.15.1 0.0.0.0 a 51
 net 21.21.21.1 0.0.0.0 a 123
 end
!
wr
!

##########


R2
===

!
en
!
conf t
!
int lo0
 ip add 2.2.2.2 255.255.255.0
 ip ospf net point-to-p
 exit
!
int s0/0
 en frame
 no frame inv
 no sh
 exit
!
int s0/0.21 point-to-p
 ip add 21.21.21.2 255.255.255.0
 frame interface-dlci 201
 exit
!
int s0/0.23 point-to-p
 ip add 23.23.23.2 255.255.255.0
 frame interface-dlci 203
 exit
!
router ospf 1
 net 21.21.21.2 0.0.0.0 a 123
 net 23.23.23.2 0.0.0.0 a 123
 end
!
wr
!

############


R3
===

!
en
!
conf t
!
int lo0
 ip add 3.3.3.3 255.255.255.0
 ip ospf net point-to-p
 exit
!
int s0/0
 en frame
 no frame inv
 no sh
 exit
!
int s0/0.32 point-to-p
 ip add 23.23.23.3 255.255.255.0
 frame interface-dlci 302
 exit
!
int s0/1
 en frame
 no frame inv
 no sh
 exit
!
int s0/1.34 point-to-p
 ip add 34.34.34.3 255.255.255.0
 frame interface-dlci 304
 exit
!
router ospf 1
 net 23.23.23.3 0.0.0.0 a 123
 net 34.34.34.3 0.0.0.0 a 34
 area 34 stub no-summary
 end
!
wr
!

############


R4
===


!
en
!
conf t
!
int lo0
 ip add 4.4.4.4 255.255.255.0
 ip ospf net point-to-p
 exit
!
int s0/0
 en frame
 no frame inv
 no sh
 exit
!
int s0/0.43 point-to-p
 ip add 34.34.34.4 255.255.255.0
 frame interface-dlci 403
 exit
!
router ospf 1
 net 34.34.34.4 0.0.0.0 a 34
 area 34 stub
 end
!
wr
!

############


R5
===

!
en
!
conf t
!
int lo0
 ip add 5.5.5.5 255.255.255.0
 ip ospf net point-to-p
 exit
!
int f0/0
 ip add 15.15.15.5 255.255.255.0
 no sh
 exit
!
router ospf 1
 net 15.15.15.5 0.0.0.0 a 51
 end
!
wr
!

############


R6
===

!
en
!
conf t
!
ho FR-SW
!
frame-relay switching
!
int s0/1
 en frame
 frame intf-type dce
 frame route 102 int s0/0 201
 no sh
 exit
!
int s0/2
 en frame
 frame intf-type dce
 frame route 302 int s0/0 203
 no sh
 exit
!
int s0/0
 en frame
 frame intf-type dce
 frame route 201 int s0/1 102
 frame route 203 int s0/2 302
 no sh
!
int s0/3
 en frame
 frame intf-type dce
 frame route 304 int s0/4 403
 no sh
 exit
!
int s0/4
 en frame
 frame intf-type dce
 frame route 403 int s0/3 304
 no sh
 exit
!
end
!
wr
!
********************************



HTH...
DEEPAK ARORA
EVIL CCIE

4 comments:

Praveen said...

Deepak thanks so much ......and m happy that u come with bang we always follow u so keep posting and also i request u to add ur topology NEt file so we work on it............

Praveen said...

Deepak thanks for ur valuable posts. can u start blogging cool and knowledgeable stuff related to BGP in depth with labs and TSHOOT only on BGP series on your blog its just a request to but all thinks r on u

BYE tc

Anonymous said...

As far as I know, it should be either Virtual Link OR GRE Tunnel solution and not both at the same time.

If you configure GRE tunnel and advertise it under ARE 0 Then there should be no need for Virtual Link.

Unless I am missing something here..

Deepak Arora said...

Here is solution:

http://deepakarora1984.blogspot.in/2012/04/solution-ospf-area-challenge-little.html