Scenario 4 Answer: Multi Areas OSPF.

This is the Routers configuration from Scenarion 4:

Router 1

hostname R1
!
interface Serial0
 no ip address
 encapsulation frame-relay
 frame-relay lmi-type cisco
!
interface Serial0.1 point-to-point
 ip address 10.10.10.1 255.255.255.252
 ip ospf network point-to-point
 frame-relay interface-dlci 222
!
router ospf 1
 router-id 20.20.20.1
 log-adjacency-changes
 network 10.10.10.0 0.0.0.3 area 0
!
end

Router 2

hostname R2
!
interface Serial0
 no ip address
 encapsulation frame-relay
 no fair-queue
!
interface Serial0.1 point-to-point
 ip address 10.10.10.2 255.255.255.252
 ip ospf network point-to-point
 frame-relay interface-dlci 111
!
interface Serial0.2 point-to-point
 ip address 10.10.10.5 255.255.255.252
 ip ospf network point-to-point
 frame-relay interface-dlci 333
!
router ospf 2
 router-id 20.20.20.2
 log-adjacency-changes
 area 1 virtual-link 20.20.20.3
 network 10.10.10.0 0.0.0.3 area 0
 network 10.10.10.4 0.0.0.3 area 1
!
end

Router 3

hostname R3
!
interface Serial0
 no ip address
 encapsulation frame-relay
 frame-relay lmi-type cisco
!
interface Serial0.1 point-to-point
 ip address 10.10.10.6 255.255.255.252
 ip ospf network point-to-point
 frame-relay interface-dlci 222
!
interface Serial0.2 point-to-point
 ip address 10.10.10.9 255.255.255.252
 ip ospf network point-to-point
 frame-relay interface-dlci 444
!
interface Serial1
 ip address 10.10.10.13 255.255.255.252
 ip ospf network point-to-point
!
router ospf 3
 router-id 20.20.20.3
 log-adjacency-changes
 area 1 virtual-link 20.20.20.2
 area 2 stub no-summary
 area 2 default-cost 30
 area 3 stub no-summary
 area 3 default-cost 10
 network 10.10.10.4 0.0.0.3 area 1
 network 10.10.10.8 0.0.0.3 area 2
 network 10.10.10.12 0.0.0.3 area 3
!
end

Router 4

hostname R4
!
interface Serial0
 no ip address
 encapsulation frame-relay
 frame-relay lmi-type cisco
!
interface Serial0.1 point-to-point
 ip address 10.10.10.10 255.255.255.252
 ip ospf network point-to-point
 frame-relay interface-dlci 333
!
interface Serial1
 ip address 10.10.10.14 255.255.255.252
 ip ospf network point-to-point
 clockrate 56000
!
router ospf 4
 log-adjacency-changes
 area 2 stub no-summary
 area 3 stub no-summary
 network 10.10.10.8 0.0.0.3 area 2
 network 10.10.10.12 0.0.0.3 area 3
!
end

R4#sh ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route

Gateway of last resort is 10.10.10.13 to network 0.0.0.0

     10.0.0.0/30 is subnetted, 2 subnets
C       10.10.10.8 is directly connected, Serial0.1
C       10.10.10.12 is directly connected, Serial1
O*IA 0.0.0.0/0 [110/74] via 10.10.10.13, 00:17:51, Serial1

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>