In this lab we will learn to configure multi area ospf using cisco packet tracer.
In below Network Topology Diagram you can see there are Two area Area 0 and Area 1.
Now you have to configure OSPF such that devices in area 0 can easily communicate with devices in Area 1
STEP 1:First assign ip address on each interfaces as show in above Diagram.
STEP 2:Now configure OSPF on Router R1:
Router(config)#host R1 R1(config)#router ospf 1 R1(config-router)#network 1.0.0.0 0.255.255.255 area 0 R1(config-router)#network 2.0.0.0 0.255.255.255 area 0 R1(config-router)#router-id 1.1.1.1
STEP 3:Configure OSPF on Router R2:
Router(config)#host R2 R2(config-router)#network 2.0.0.0 0.255.255.255 area 0 R2(config-router)#network 3.0.0.0 0.255.255.255 area 1 R2(config-router)#router-id 2.2.2.2
STEP 4:Now finally Configure OSPF on Router R3:
Router(config)#host R3 R3(config)#router ospf 1 R3(config-router)#network 3.0.0.0 0.255.255.255 area 1 R3(config-router)#network 4.0.0.0 0.255.255.255 area 1 R3(config-router)#router-id 3.3.3.3
STEP 5: Now verify your ospf Configuration:
For verification go on middle router named R2:
Verify Route First:
R2#show ip route
Step 6:Now Verify Protocols running on the ROUTER r2:
R2#show ip protocols Routing Protocol is "ospf 1"
IF YOU carefully watch the output you will find Two AREA Area 0 and Area 1 active on this Router.
STEP 7:Display ospf routing basic information
here you will also see the information about AREA in Details.
R2#show ip ospf Routing Process "ospf 1" with ID 3.0.0.1
STEP 8: See OSPF Neighbors.
R2#show ip ospf neighbor
SEE Little More details suing below command.
R2#show ip ospf neighbor detail