www.howtonetwork.org

CCNA & CCNP Certifcation Training

  • About
  • Contact
  • FAQ
  • Join
  • Home
  • CCNA
    • ICND1
    • ICND2
    • 101 CCNA LABS
  • CCNP
    • ROUTE
    • SWITCH
    • TSHOOT
    • 101 CCNP LABS
  • CompTIA
    • Security+
    • Network+
  • Design
    • CCDA
    • CCDP
You are here: Home / 101 CCNA LABS / IP Routing Solutions / Lab 52 Solution: Configuring Multi-Area OSPF

Lab 52 Solution: Configuring Multi-Area OSPF

Task 1:

Router#conf t

Enter configuration commands, one per line.  End with CNTL/Z.

Router(config)#hostname R1

R1(config)#end

R1#

Router#conf t

Enter configuration commands, one per line.  End with CNTL/Z.

Router(config)#hostname R2

R2(config)#end

R2#

Router#conf t

Enter configuration commands, one per line.  End with CNTL/Z.

Router(config)#hostname R3

R3(config)#end

R3#

Router#conf t

Enter configuration commands, one per line.  End with CNTL/Z.

Router(config)#hostname R4

R4(config)#end

R4#

Switch#conf t

Enter configuration commands, one per line.  End with CNTL/Z.

Router(config)#hostname Sw1

Sw1(config)#end

Sw1#

Task 2:

For reference information on verifying Frame Relay mapping, please refer to:

Lab 40 Configuration and Verification Task 4

Lab 40 Configuration and Verification Task 5

R1#show frame-relay map

Serial1/0 (up): ip 10.0.0.2 dlci 102(0x66,0x1860), static,

broadcast,

CISCO, status defined, active

Serial1/0 (up): ip 10.0.0.3 dlci 103(0x67,0x1870), static,

broadcast,

CISCO, status defined, active

R2#show frame-relay map

Serial0/0 (up): ip 10.0.0.1 dlci 201(0xC9,0x3090), static,

broadcast,

CISCO, status defined, active

Serial0/0 (up): ip 10.0.0.3 dlci 201(0xC9,0x3090), static,

broadcast,

CISCO, status defined, active

Task 3:

Switch#config t

Enter configuration commands, one per line.  End with CNTL/Z.

Sw1(config)#vlan 1

Sw1(config-vlan)#name OSPF_VLAN

Sw1(config-vlan)#exit

Sw1(config)#interface fastethernet0/1

Sw1(config-if)#switchport mode access

Sw1(config-if)#switchport access vlan 2

Sw1(config-if)#no shutdown

Sw1(config-if)#exit

Sw1(config)#interface fastethernet0/3

Sw1(config-if)#switchport mode access

Sw1(config-if)#switchport access vlan 2

Sw1(config-if)#no shutdown

Sw1(config-if)#end

Sw#

Sw1#show vlan brief

VLAN Name Status Ports
—- ——————————– ——— ——————————-
1 default active Fa0/2, Fa0/4, Fa0/5, Fa0/6
Fa0/7, Fa0/8, Fa0/9, Fa0/10
Fa0/11, Fa0/12, Fa0/13, Fa0/14
Fa0/15, Fa0/16, Fa0/17, Fa0/18
Fa0/19, Fa0/20, Fa0/21, Fa0/22
Fa0/23, Fa0/24
Gi0/1, Gi0/2
2 OSPF_VLAN active Fa0/1, Fa0/3
1002 fddi-default active
1003 token-ring-default active
1004 fddinet-default active
1005 trnet-default active

Task 4:

R1#conf t

Enter configuration commands, one per line.  End with CNTL/Z.

R1(config)#router ospf 1

R1(config-router)#network 10.0.0.0 0.0.0.31 area 0

R1(config-router)#exit

R1(config)#int s1/0

R1(config-if)#ip ospf network point-to-multipoint

R1(config-if)#end

R1#

R2#conf t

Enter configuration commands, one per line.  End with CNTL/Z.

R2(config)#router ospf 2

R2(config-router)#network 10.0.0.0 0.0.0.31 area 0

R2(config-router)#exit

R2(config)#int s0/0

R2(config-if)#ip ospf network point-to-multipoint

R2(config-if)#end

R2#

R3#conf t

Enter configuration commands, one per line.  End with CNTL/Z.

R3(config)#router ospf 3

R3(config-router)#network 10.0.0.0 0.0.0.31 area 0

R3(config-router)#exit

R3(config)#int s1/0

R3(config-if)#ip ospf network point-to-multipoint

R3(config-if)#^Z

R3#

R1#show ip ospf neighbor

Neighbor ID     Pri   State           Dead Time   Address         Interface

172.16.3.3        0   FULL/  –        00:01:45    10.0.0.3        Serial1/0

10.1.1.2           0   FULL/  –        00:01:53    10.0.0.2        Serial1/0

R2#show ip ospf neighbor

Neighbor ID     Pri   State           Dead Time   Address         Interface

192.168.1.1       0   FULL/  –        00:01:51    10.0.0.1        Serial0/0

R3#show ip ospf neighbor

Neighbor ID     Pri   State           Dead Time   Address         Interface

192.168.1.1       0   FULL/  –        00:01:31    10.0.0.1        Serial1/0

Task 5:

R1#conf t

Enter configuration commands, one per line.  End with CNTL/Z.

R1(config)#int fa0/0

R1(config-if)#ip address 192.168.1.1 255.255.255.192

R1(config-if)#exit

R1(config)#router ospf 1

R1(config-router)#network 192.168.1.0 0.0.0.63 area 1

R1(config-router)#^Z

R1#

R3#conf t

Enter configuration commands, one per line.  End with CNTL/Z.

R3(config)#int fa0/0

R3(config-if)#ip address 172.16.3.3 255.255.255.128

R3(config-if)#exit

R3(config)#router ospf 3

R3(config-router)#network 172.16.3.3 0.0.0.127 area 3

R3(config-router)#end

R3#

Task 6:

R2#conf t

Enter configuration commands, one per line.  End with CNTL/Z.

R2(config)#int fa0/0

R2(config-if)#ip address 10.1.1.2 255.255.255.0

R2(config-if)#exit

R2(config)#router ospf 2

R2(config-router)#network 10.1.1.0 0.0.0.255 area 2

R2(config-router)#end

R2#

R4#config t

Enter configuration commands, one per line.  End with CNTL/Z.

R4(config)#int fa0/0

R4(config-if)#ip address 10.1.1.4 255.255.255.0

R4(config-if)#no shut

R4(config-if)#exit

R4(config)#router ospf 4

R4(config-router)#network 10.1.1.0 0.0.0.255 area 2

R4(config-router)#^Z

*Mar  1 00:02:10.009: %OSPF-5-ADJCHG: Process 4, Nbr 10.1.1.2 on Ethernet0/0 from LOADING to FULL, Loading Done

R2#show ip ospf neighbor

Neighbor ID     Pri   State           Dead Time   Address         Interface

192.168.1.1       0   FULL/  –        00:01:30    10.0.0.1        Serial0/0

10.1.1.4          1   FULL/BDR        00:00:34    10.1.1.4        FasrEthernet0/0

r4#show ip ospf neighbor

Neighbor ID     Pri   State           Dead Time   Address         Interface

10.1.1.2          1   FULL/DR         00:00:32    10.1.1.2        FastEthernet0/0

r4#

Task 7:

R1#show ip route

Codes: C – connected, S – static, 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

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 not set

172.16.0.0/25 is subnetted, 1 subnets

O IA    172.16.3.0 [110/74] via 10.0.0.3, 00:06:47, Serial1/0

10.0.0.0/8 is variably subnetted, 4 subnets, 3 masks

O       10.0.0.2/32 [110/64] via 10.0.0.2, 00:06:47, Serial1/0

O       10.0.0.3/32 [110/64] via 10.0.0.3, 00:06:47, Serial1/0

O IA    10.1.1.0/24 [110/65] via 10.0.0.2, 00:02:53, Serial1/0

C       10.0.0.0/27 is directly connected, Serial1/0

192.168.1.0/26 is subnetted, 1 subnets

C       192.168.1.0 is directly connected, FastEthernet0/0

R2#show ip route

Codes: C – connected, S – static, 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

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 not set

172.16.0.0/25 is subnetted, 1 subnets

O IA    172.16.3.0 [110/138] via 10.0.0.1, 00:01:18, Serial0/0

10.0.0.0/8 is variably subnetted, 4 subnets, 3 masks

O       10.0.0.3/32 [110/128] via 10.0.0.1, 00:07:30, Serial0/0

C       10.1.1.0/24 is directly connected, FastEthernet0/0

C       10.0.0.0/27 is directly connected, Serial0/0

O       10.0.0.1/32 [110/64] via 10.0.0.1, 00:07:30, Serial0/0

192.168.1.0/26 is subnetted, 1 subnets

O IA    192.168.1.0 [110/74] via 10.0.0.1, 00:01:18, Serial0/0

R3#show ip route

Codes: C – connected, S – static, 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

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 not set

172.16.0.0/25 is subnetted, 1 subnets

C       172.16.3.0 is directly connected, FastEthernet0/0

10.0.0.0/8 is variably subnetted, 4 subnets, 3 masks

O       10.0.0.2/32 [110/128] via 10.0.0.1, 00:07:54, Serial1/0

O IA    10.1.1.0/24 [110/129] via 10.0.0.1, 00:04:00, Serial1/0

C       10.0.0.0/27 is directly connected, Serial0/1

O       10.0.0.1/32 [110/64] via 10.0.0.1, 00:07:54, Serial1/0

192.168.1.0/26 is subnetted, 1 subnets

O IA    192.168.1.0 [110/74] via 10.0.0.1, 00:07:54, Serial1/0

r4#show ip route

Codes: C – connected, S – static, 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

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 not set

172.16.0.0/25 is subnetted, 1 subnets

O IA    172.16.3.0 [110/139] via 10.1.1.2, 00:02:08, FastEthernet0/0

10.0.0.0/8 is variably subnetted, 4 subnets, 2 masks

O IA    10.0.0.2/32 [110/1] via 10.1.1.2, 00:02:08, FastEthernet0/0

O IA    10.0.0.3/32 [110/129] via 10.1.1.2, 00:02:08, FastEthernet0/0

C       10.1.1.0/24 is directly connected, FastEthernet0/0

O IA    10.0.0.1/32 [110/65] via 10.1.1.2, 00:02:08, FastEthernet0/0

192.168.1.0/26 is subnetted, 1 subnets

O IA    192.168.1.0 [110/75] via 10.1.1.2, 00:02:10, FastEthernet0/0

NOTE: When looking at the routing table, routes marked O are intra-area OSPF routes, i.e. routes within the same OSPF Area. Routes that are marked O IA are inter-area OSPF routes, i.e routes between OSPF Area. Make sure you note which routes are O and which are O IA and validate that this is correct based on the topology we just configured.

Task 8:

R1#show ip ospf database

OSPF Router with ID (192.168.1.1) (Process ID 1) 
Router Link States (Area 0) 
Link ID ADV Router Age Seq# Checksum Link count
10.1.1.2 10.1.1.2 739 0x80000005 0x00A996 2
172.16.3.3 172.16.3.3 1126 0x80000004 0x007461 2
192.168.1.1 192.168.1.1 974 0x80000008 0x0016AF 3 
Summary Net Link States (Area 0) 
Link ID ADV Router Age Seq# Checksum
10.1.1.0 10.1.1.2 500 0x80000003 0x00809F
172.16.3.0 172.16.3.3 1122 0x80000001 0x00909F
192.168.1.0 192.168.1.1 1066 0x80000001 0x009CFF 
Router Link States (Area 1) 
Link ID ADV Router Age Seq# Checksum Link count
192.168.1.1 192.168.1.1 1070 0x80000003 0x00DA49 1 
Summary Net Link States (Area 1) 
Link ID ADV Router Age Seq# Checksum
10.0.0.1 192.168.1.1 1071 0x80000001 0x00E3E2
10.0.0.2 192.168.1.1 1072 0x80000001 0x005C29
10.0.0.3 192.168.1.1 1072 0x80000001 0x005232
10.1.1.0 192.168.1.1 500 0x80000003 0x005F23
172.16.3.0 192.168.1.1 1072 0x80000001 0x00B393
r4#show ip ospf database
OSPF Router with ID (10.1.1.4) (Process ID 4) 
Router Link States (Area 2) 
Link ID ADV Router Age Seq# Checksum Link count
10.1.1.2 10.1.1.2 474 0x80000002 0x00D820 1
10.1.1.4 10.1.1.4 332 0x80000003 0x00CF23 1
Net Link States (Area 2)
Link ID ADV Router Age Seq# Checksum
10.1.1.2 10.1.1.2 475 0x80000001 0x00A758 
Summary Net Link States (Area 2) 
Link ID ADV Router Age Seq# Checksum
10.0.0.1 10.1.1.2 706 0x80000001 0x000AD9
10.0.0.2 10.1.1.2 706 0x80000001 0x007DA5
10.0.0.3 10.1.1.2 706 0x80000001 0x007829
172.16.3.0 10.1.1.2 706 0x80000001 0x00D98A
192.168.1.0 10.1.1.2 706 0x80000001 0x00C2F6

 

NOTE: Understanding the information printed in the OSPF database is key to understanding the operation of OSPF.  The show ip ospf database shows the router ID of the router this command is issued on, as well as the locally significant OSPF process ID that has been enabled on the router. It also shows the different types of OSPF LSAs and the routes associated with those LSA types, and the OSPF Areas.  In addition to this, each Link ID listed in the OSPF database is identified by the originator of the LSA under the column named ADV Router.

 

Prev

Next

About Us

This is a free bonus site for members of www.howtonetwork.com

Copyright

The content on this copyright Reality Press Ltd.
Copyright Reality Press Ltd.