Friday, August 20, 2010

OSPF Mock Lab - Another Challenge To Solve

So here I am with Another Challenge today. This time...on OSPF.

Last Week I was trying to test my OSPF skills, so I created a scenario myself and tried to put as much restriction I possibly can to make it tough for myself. So today I am sharing it with you in the form of another challenge and another chance to WIN some great CCIE notes from a Major CCIE vendor.

Here is the quick Diagram you need to focus on. Personally...it took me over an hour to fix it in my way...not so fast ofcourse , but from this I learned about one of gap in my preparation...lack of speed to configure complex scenarios. But on the other hand it's good to be little obnoxious some times :-)

Diagram:- Click on it for better view...just in case

***Requirements***


+ All OSPF routers should be able to reach each others loop-back addresses. For example R3 should be able to reach R6's loopback address.


***Restrictions***

List of things not allowed to use - 

1. No GRE tunnel
2. No Redistribution
3. No Virtual Link
4. No PBR
5. No New Routing Protocol (e.g. RIP, EIGRP, OSPF, BGP)
6. No IPv6 Addressing


List of things allowed to use -


1. You are allowed to create a Single Static Route 
     Entry on one router among all.


Example - If you use one static route on R6, you cannot 
                  use static route on any of other 5 routers.


***Loopback Interface Details***


R1:-> Lo0 - 11.11.11.11/24 (AREA 0)


R2:-> Lo0 - 22.22.22.22/24 (AREA 0)


R3:-> Lo0 - 33.33.33.33/24 (AREA 0)


R4:-> Lo0 - 44.44.44.44/24 (RIPv2)

             Lo1 - 144.144.144.144/24
(AREA 1)

R5:-> Lo0 - 55.55.55.55/24 (AREA 2)

             Lo1 - 155.155.155.155/24 (RIPv2)


R6:-> Lo0 - 66.66.66.66/24 (AREA 2)




OSPF RID on each Router should be : x.x.x.x -> x= Router Number

Note:-> You are allowed to create and use additional 
                 Virtual/Logical interfaces if Required.

Here are the initial configs - Just have the rack ready for you :-)

R1

en
!
conf t
!
ho R1
!
int s0/0
ip add 123.123.123.1 255.255.255.0
en f
no frame inv
no arp fr
frame map ip 123.123.123.2 102 b
frame map ip 123.123.123.3 103 b

frame map ip 123.123.123.1 102
ip ospf net point-to-m
no sh
exit
!
int f0/0
ip add 14.14.14.1 255.255.255.0
no sh
exit
!
router ospf 1
router-id 1.1.1.1
net 123.123.123.1 0.0.0.0 a 0
net 14.14.14.1 0.0.0.0 a 1
exit
!
int lo0
ip add 11.11.11.11 255.255.255.0
ip ospf net point-to-p
ip ospf 1 a 0
exit
!
------------------------------------

R2

en
!
conf t
!
ho R2
!
int s0/0
ip add 123.123.123.2 255.255.255.0
en f
no frame inv
no arp fr
frame map ip 123.123.123.1 201 b

frame map ip 123.123.123.2 201
ip ospf net point-to-m
no sh
exit
!
int lo0
ip add 22.22.22.22 255.255.255.0
ip ospf net point-to-p
ip ospf 1 a 0
exit
!
router ospf 1
router-id 2.2.2.2
net 123.123.123.2 0.0.0.0 a 0
exit
!
-------------------------------------

R3

en
!
conf t
!
ho R3
!
int s0/0
ip add 123.123.123.3 255.255.255.0
en f
no frame inv
no arp fr
frame map ip 123.123.123.1 301 b

frame map ip 123.123.123.3 301
ip ospf net point-to-m
no sh
exit
!
int lo0
ip add 33.33.33.33 255.255.255.0
ip ospf net point-to-p
ip ospf 1 a 0
exit
!
router ospf 1
router-id 3.3.3.3
net 123.123.123.3 0.0.0.0 a 0
exit
!
--------------------------------------


R4

en
!
conf t
!
ho R4
!
int f0/0
ip add 14.14.14.4 255.255.255.0
no sh
exit
!
int f0/1
ip add 45.45.45.4 255.255.255.0
no sh
exit
!
router ospf 1
router-id 4.4.4.4
net 14.14.14.4 0.0.0.0 a 1
exit
!
int lo0
ip add 44.44.44.44 255.255.255.0
exit
!
int lo1
ip add 144.144.144.144 255.255.255.0
ip ospf 1 a 1
exit
!
router rip
v 2
no au
net 44.0.0.0
net 45.0.0.0
exit
!
-----------------------------------------

R5


en
!
conf t
!
ho R5
!
int f0/0
ip add 45.45.45.5 255.255.255.0
no sh
exit
!
int lo0
ip add 55.55.55.55 255.255.255.0
ip ospf net point-to-p
ip ospf 1 a 2
exit
!
int lo1
ip add 155.155.155.155 255.255.255.0
exit
!
int f0/1
ip add 56.56.56.5 255.255.255.0
no sh
!
router ospf 1
router-id 5.5.5.5
net 56.56.56.5 0.0.0.0 a 2
exit
!
router rip
net 45.0.0.0
net 155.155.0.0
v 2
no au
exit
!
--------------------------------------------


R6

en
!
conf t
!
ho R6
!
int f0/0
ip add 56.56.56.6 255.255.255.0
no sh
exit
!
int lo0
ip add 66.66.66.66 255.255.255.0
ip ospf 1 a 2
ip ospf net point-to-p
exit
!
router ospf 1
router-id 6.6.6.6
net 56.56.56.6 0.0.0.0 a 2
exit
!
----------------------------------------------

No comments: