OSPF Multi-Area Configuration and Summary Routes
Note: In OSPF multi-area more than one area is used to configure and in this lab you will see how we configure multi-area OSPF configure in Packet Tracer.
How to Configure OSPF Multi-Area |
Router> enable
Router# configure
terminal
Enter configuration
commands, one per line. End with CNTL / Z.
Router
(config) # hostname R1
R1
(config) # interface serial 0/1/0
R1 (config-if) # ip
address 6.0.0.1 255.0.0.0
R1
(config-if) #encapsulation hdlc
R1 (config-if) #clock
rate 64000
R1 (config-if) #keepalive
12
R1 (config-if) #no
shutdown
%LINK-5-CHANGED:
Interface Serial0/1/0, changed state to down
R1 (config-if) #exit
R1
(config) # interface fastethernet0/0
OR
R1
(config) # int fa0/0
R1 (config-if) # ip
address 4.0.0.10 255.0.0.0
R1 (config-if) #no
shutdown
Interface Status up |
R1 (config-if) #end
R1#
Router> enable
Router# configure
terminal
Enter configuration
commands, one per line. End with CNTL / Z.
Router
(config) # hostname R2
R2 (config) # interface
serial 0/1/0
R2 (config-if) # ip
address 6.0.0.2 255.0.0.0
R2
(config-if) #encapsulation hdlc
R2 (config-if) #keepalive
12
R2 (config-if) #no
shutdown
Interface Status up |
R2 (config-if) #exit
R2
(config) # interface fastethernet0/0
OR
R2
(config) # int fa0/0
R2 (config-if) # ip
address 5.0.0.10 255.0.0.0
R2 (config-if) #no
shutdown
Interface Status up |
R2 (config-if) #end
R2#
Router R1
R1#
show ip route
IP Route Status |
R1#
Note:
By default, in the router R1 routing table the two associated interfaces and
directly connected networks are listed.
Router R2
R2#
show ip route
IP Route Status |
R2#
Note:
By default, in the router R2 routing table the two associated interfaces and
directly connected networks are listed.
Router R1
R1#ping 6.0.0.2
Successful Ping Verification |
R1#ping
5.0.0.10
Unsuccessful Ping Verification |
R1#
Note: The ping was not successful because the network 5.0.0.0 is not listed in the router R1 routing table. Using the OSPF the network 5.0.0.0 needs to be put in the R1 routing table.
Router R2
R2#ping
6.0.0.1
Successful Ping Verification |
R2#
R2#ping
4.0.0.10
Unsuccessful Ping Verification |
R2#
Note: The ping was not successful because the network 4.0.0.0 is not listed in the router R2 routing table. Using the OSPF the network 4.0.0.0 needs to be put in the R2 routing table.
Router R1
R1#configure terminal
R1 (config) # router
ospf?
<1-65535> Process ID
R1
(config) # router ospf 14
R1 (config-router)
#network 4.0.0.0 0.255.255.255 area 0
R1 (config-router)
#network 6.0.0.0 0.255.255.255 area 0
R1 (config-router) #end
R1#
Router R2
R2#configure terminal
R2
(config) # router ospf 14
R2 (config-router)
#network 6.0.0.0 0.255.255.255 area 0
OSPF Neighborship |
R2 (config-router)
#network 5.0.0.0 0.255.255.255 area 1
R2 (config-router) #end
R2#
R1#show
ip route
IP Route Status |
R1#
Router R2
R2#show
ip route
IP Route Status |
R2#
Router R1
R1#ping
5.0.0.10
Successful Ping Verification |
R1#
Router R2
R2#ping
4.0.0.10
Successful Ping Verification |
R2#
Router R1
R1#show
ip ospf neighbor
OSPF Neighborship |
Router R2
R2#show
ip ospf neighbor
OSPF Neighborship |
R2#
R2#show
ip ospf
OSPF Area Status |
OSPF Area Status |
OSPF Area Status |
Building LSDB (Link-state Database)
Building LSDB |
The OSPF builds the LSDB and it is the information found in Link-state Advertisements (LSAs). In the same area between the routers, the LSDB is synchronized.
v The Hello protocol is used to define the neighbors, and in the network the hello protocol allows each router to check whether it can exchange messages with neighboring routers in the network.
v Adjacency is established which means it refers to the connected neighbor’s status.
v Adjacent routers exchange LSAs. The LSAs are messages communicated to other routers in the OSPF domain via multicast. It is used to exchange topology information and it contains each directly connected link cost and state.
Search Tags
- OSPF Multi-Area Configuration
- How to configure multiple areas in OSPF
- What is OSPF route summarization
- How many OSPF areas can be configured
If you want to configure OSPF in a single-area then visit: 👇
How to Configure Single-area OSPF
If you want to configure and Practical Lab of Static and Dynamic Routing then visit below link: 👇
How to Configure Static Routing
Dynamic Routing
Redistribution of Routes in Dynamic Routing
How to Configure OSPF Single-area
0 Comments