1. Configure OSPF area 0 on the subnets 111.111.123.0/24, 111.111.1.0/24, 111.111.2.0/24, and 111.111.3.0/24.
Configure OSPF area 4 on the subnets 111.111.14.0/24. Do not use any interface level command on R1.
R1 should be elected Designated Router.
2. Configure RIPv2 according to the network diagram. RIP updates should be sent out of necessary interfaces.
3. Redistribute between RIP and OSPF on R4.
4. Configure area 4 as a stub area.
5. Create a loopback interface on R1 with IP address 1.1.1.1/24. The loopback should be seen in the OSPF domain with a mask of /24. R4 should not be able to ping R1’s loopback interface. The loopback interface should not belong to any OSPF area.
6. Configure R1 to advertise an default route into area 4 with a cost of 10 and type-1 metric-type.
7. R1 should place 0.0.0.0 as the forwarding address in the Type-5 LSAs.

NB: Click here to download the .net file and the initial configuration files.
Task 1:
R1:
router ospf 1
network 111.111.1.1 0.0.0.0 area 0
network 111.111.14.1 0.0.0.0 area 4
network 111.111.123.1 0.0.0.0 area 0
R2:
interface Serial1/0
ip ospf network broadcast
ip ospf hello-interval 30
ip ospf priority 0
router ospf 1
log-adjacency-changes
network 0.0.0.0 255.255.255.255 area 0
R3:
interface Serial1/0
ip ospf network broadcast
ip ospf hello-interval 30
ip ospf priority 0
router ospf 1
log-adjacency-changes
network 0.0.0.0 255.255.255.255 area 0
R4:
router ospf 1
log-adjacency-changes
network 111.111.14.4 0.0.0.0 area 4
Verification:
R1#show ip ospf neighbor
Neighbor ID Pri State Dead Time Address Interface
111.111.123.2 0 FULL/DROTHER 00:01:45 111.111.123.2 Serial1/0.13
111.111.123.3 0 FULL/DROTHER 00:01:55 111.111.123.3 Serial1/0.13
111.111.4.4 1 FULL/BDR 00:00:34 111.111.14.4 FastEthernet0/0
R1#show ip route ospf
111.0.0.0/24 is subnetted, 5 subnets
O 111.111.2.0 [110/65] via 111.111.123.2, 00:08:53, Serial1/0.13
O 111.111.3.0 [110/65] via 111.111.123.3, 00:08:53, Serial1/0.13
R2#show ip ospf neighbor
Neighbor ID Pri State Dead Time Address Interface
111.111.123.1 1 FULL/DR 00:01:32 111.111.123.1 Serial1/0
R2#show ip route ospf
111.0.0.0/24 is subnetted, 5 subnets
O 111.111.1.0 [110/65] via 111.111.123.1, 00:09:54, Serial1/0
O 111.111.3.0 [110/65] via 111.111.123.3, 00:09:54, Serial1/0
O IA 111.111.14.0 [110/65] via 111.111.123.1, 00:07:08, Serial1/0
R3#show ip ospf neighbor
Neighbor ID Pri State Dead Time Address Interface
111.111.123.1 1 FULL/DR 00:01:30 111.111.123.1 Serial1/0
R3#show ip route ospf
111.0.0.0/24 is subnetted, 5 subnets
O 111.111.1.0 [110/65] via 111.111.123.1, 00:10:54, Serial1/0
O 111.111.2.0 [110/65] via 111.111.123.2, 00:10:54, Serial1/0
O IA 111.111.14.0 [110/65] via 111.111.123.1, 00:08:08, Serial1/0
R4#show ip ospf neighbor
Neighbor ID Pri State Dead Time Address Interface
111.111.123.1 1 FULL/DR 00:00:38 111.111.14.1 FastEthernet0/0
R4#show ip route ospf
111.0.0.0/24 is subnetted, 7 subnets
O IA 111.111.1.0 [110/2] via 111.111.14.1, 00:08:45, FastEthernet0/0
O IA 111.111.2.0 [110/66] via 111.111.14.1, 00:08:45, FastEthernet0/0
O IA 111.111.3.0 [110/66] via 111.111.14.1, 00:08:45, FastEthernet0/0
O IA 111.111.123.0 [110/65] via 111.111.14.1, 00:08:45, FastEthernet0/0
Task 2:
R4:
router rip
version 2
passive-interface default
no passive-interface FastEthernet0/1
network 111.0.0.0
no auto-summary
R5:
router rip
version 2
passive-interface FastEthernet0/1
network 111.0.0.0
no auto-summary
Verification:
R4#show ip route rip
111.0.0.0/24 is subnetted, 8 subnets
R 111.111.5.0 [120/1] via 111.111.25.5, 00:00:27, FastEthernet0/1
R5#show ip route rip
111.0.0.0/24 is subnetted, 4 subnets
R 111.111.4.0 [120/1] via 111.111.25.4, 00:00:26, FastEthernet0/0
R 111.111.14.0 [120/1] via 111.111.25.4, 00:00:26, FastEthernet0/0
Task 3:
R4:
router ospf 1
redistribute rip subnets
!
router rip
redistribute ospf 1 metric 1
Verification:
R1#show ip route | include E2
E1 – OSPF external type 1, E2 – OSPF external type 2
O E2 111.111.4.0 [110/20] via 111.111.14.4, 00:06:42, FastEthernet0/0
O E2 111.111.5.0 [110/20] via 111.111.14.4, 00:06:42, FastEthernet0/0
O E2 111.111.25.0 [110/20] via 111.111.14.4, 00:06:42, FastEthernet0/0
R5#show ip route rip
111.0.0.0/24 is subnetted, 8 subnets
R 111.111.1.0 [120/5] via 111.111.25.4, 00:00:01, FastEthernet0/0
R 111.111.2.0 [120/5] via 111.111.25.4, 00:00:01, FastEthernet0/0
R 111.111.3.0 [120/5] via 111.111.25.4, 00:00:01, FastEthernet0/0
R 111.111.4.0 [120/1] via 111.111.25.4, 00:00:07, FastEthernet0/0
R 111.111.14.0 [120/1] via 111.111.25.4, 00:00:07, FastEthernet0/0
R 111.111.123.0 [120/5] via 111.111.25.4, 00:00:01, FastEthernet0/0
Task 4:
R1 & R4:
router ospf 1
area 4 nssa
Verification:
R1#show ip ospf 1
… omitted output
Area 4
Number of interfaces in this area is 1
It is a NSSA area
Perform type-7/type-5 LSA translation
… omitted output
R4#sh ip ospf 1
… omitted output
Area 4
Number of interfaces in this area is 1
It is a NSSA area
… omitted output
Task 5:
R1:
interface Loopback0
ip address 1.1.1.1 255.255.255.0
route-map Connected permit 10
match interface Loopback0
router ospf 1
area 4 nssa no-redistribution
redistribute connected subnets route-map Connected
Verification:
R2#show ip route ospf
1.0.0.0/24 is subnetted, 1 subnets
O E2 1.1.1.0 [110/20] via 111.111.123.1, 00:06:08, Serial1/0
… omitted output
R3#show ip route ospf
1.0.0.0/24 is subnetted, 1 subnets
O E2 1.1.1.0 [110/20] via 111.111.123.1, 00:06:08, Serial1/0
… omitted output
// Output before entering area 4 nssa no-redistribution statement on R1
R4#sh ip route ospf 1
1.0.0.0/24 is subnetted, 1 subnets
O N2 1.1.1.0 [110/20] via 111.111.14.1, 00:00:28, FastEthernet0/0
111.0.0.0/24 is subnetted, 8 subnets
O IA 111.111.1.0 [110/2] via 111.111.14.1, 01:28:35, FastEthernet0/0
O IA 111.111.2.0 [110/66] via 111.111.14.1, 01:28:35, FastEthernet0/0
O IA 111.111.3.0 [110/66] via 111.111.14.1, 01:28:35, FastEthernet0/0
O IA 111.111.123.0 [110/65] via 111.111.14.1, 01:28:35, FastEthernet0/0
// Output after entering area 4 nssa no-redistribution statement on R1
R4#sh ip route ospf 1
111.0.0.0/24 is subnetted, 8 subnets
O IA 111.111.1.0 [110/2] via 111.111.14.1, 01:31:21, FastEthernet0/0
O IA 111.111.2.0 [110/66] via 111.111.14.1, 01:31:21, FastEthernet0/0
O IA 111.111.3.0 [110/66] via 111.111.14.1, 01:31:21, FastEthernet0/0
O IA 111.111.123.0 [110/65] via 111.111.14.1, 01:31:21, FastEthernet0/0
Task 6:
R1:
router ospf 1
area 4 nssa default-information-originate metric 10 metric-type 1
Verification:
R4#sh ip route ospf 1
111.0.0.0/24 is subnetted, 8 subnets
O IA 111.111.1.0 [110/2] via 111.111.14.1, 01:41:20, FastEthernet0/0
O IA 111.111.2.0 [110/66] via 111.111.14.1, 01:41:20, FastEthernet0/0
O IA 111.111.3.0 [110/66] via 111.111.14.1, 01:41:20, FastEthernet0/0
O IA 111.111.123.0 [110/65] via 111.111.14.1, 01:41:20, FastEthernet0/0
O*N1 0.0.0.0/0 [110/11] via 111.111.14.1, 00:00:06, FastEthernet0/0[
Task 7:
R1:
router ospf 1
area 4 nssa translate type7 suppress-fa
Verification:
R1#sh ip ospf 1
… omitted output
Area 4
Number of interfaces in this area is 1
It is a NSSA area, no redistribution into this area
Perform type-7/type-5 LSA translation, suppress forwarding address
… omitted output