LAB OSPF Multi Area Configuration PDF 1729225085
LAB OSPF Multi Area Configuration PDF 1729225085
Objectives
Topology
Backbone Area Configuration
Backbone CR-1 CR-2 Area 0
2/0 2/0
1/0 1/1 1/2 1/3 1/0 1/1 1/2 1/3 Standard Area Configuration
1/0 1/1 1/0 1/1 1/0 1/1 1/0 1/1 Totally NSSA Configuration
DR-1 DR-2 DR-3 DR-4
Virtual Link
1/2 1/2 Totally NSSA 1/2 1/2
Totally Stubby
External External
interface Ethernet1/0
ip address 10.10.1.1 255.255.255.252
ip ospf network point-to-point
interface Ethernet1/1
ip address 10.10.1.5 255.255.255.252
ip ospf network point-to-point
interface Ethernet1/2
ip address 10.10.1.9 255.255.255.252
ip ospf network point-to-point
interface Ethernet1/3
ip address 10.10.1.13 255.255.255.252
ip ospf network point-to-point
interface Ethernet2/0
ip address 10.10.1.17 255.255.255.252
ip ospf network point-to-point
CR-2 Configuration (Backbone Router)
interface Ethernet1/0
ip address 10.10.2.1 255.255.255.252
ip ospf network point-to-point
ip ospf cost 100
interface Ethernet1/1
ip address 10.10.2.5 255.255.255.252
ip ospf network point-to-point
ip ospf cost 100
interface Ethernet1/2
ip address 10.10.2.9 255.255.255.252
ip ospf network point-to-point
ip ospf cost 100
interface Ethernet1/3
ip address 10.10.2.13 255.255.255.252
ip ospf network point-to-point
ip ospf cost 100
interface Ethernet2/0
ip address 10.10.1.18 255.255.255.252
ip ospf network point-to-point
DR-1 Configuration (ABR Router), Area 10
DR-1#show run | sec interface
interface Loopback0
ip address 192.168.1.3 255.255.255.255
interface Ethernet1/0
ip address 10.10.1.2 255.255.255.252
ip ospf network point-to-point
interface Ethernet1/1
ip address 10.10.2.2 255.255.255.252
ip ospf network point-to-point
ip ospf cost 100
interface Ethernet1/2
ip address 10.11.1.1 255.255.255.0
interface Ethernet1/0
ip address 10.10.1.6 255.255.255.252
ip ospf network point-to-point
interface Ethernet1/1
ip address 10.10.2.6 255.255.255.252
ip ospf network point-to-point
ip ospf cost 100
interface Ethernet1/2
ip address 10.12.1.1 255.255.255.0
DR-3 Configuration (ABR Router), Area 30 – Totally NSSA
DR-3#show run | sec interface
interface Loopback0 DR-3#show run | sec router
ip address 192.168.1.5 255.255.255.255 router ospf 1
router-id 192.168.1.5
interface Ethernet1/0 area 30 nssa no-summary
ip address 10.10.1.10 255.255.255.252 network 10.10.1.8 0.0.0.3 area 0
ip ospf network point-to-point network 10.10.2.8 0.0.0.3 area 0
network 10.13.1.0 0.0.0.255 area 30
interface Ethernet1/1
ip address 10.10.2.10 255.255.255.252
ip ospf network point-to-point
ip ospf cost 100
interface Ethernet1/2
ip address 10.13.1.1 255.255.255.0
interface Ethernet1/2
ip address 10.14.1.1 255.255.255.0
BR-1 Configuration (ASBR Router), Area 10, , External Route
BR-1#show run | sec interface BR-1#show run | sec router
interface Loopback0 router ospf 1
ip address 192.168.1.7 255.255.255.255 router-id 192.168.1.7
redistribute connected subnets
interface Loopback1 redistribute static
ip address 172.16.0.1 255.255.255.0 network 10.11.1.0 0.0.0.255 area 10
interface Loopback2
ip address 172.16.1.1 255.255.255.0
interface Ethernet1/0
ip address 10.11.1.2 255.255.255.0
duplex half
interface Ethernet1/0
ip address 10.12.1.2 255.255.255.0
BR-3 Configuration (ASBR Router), Area 30 – Totally NSSA , External Route
BR-3#show run | sec interface BR-3#show run | sec router
interface Loopback0 router ospf 1
ip address 192.168.1.9 255.255.255.255 router-id 192.168.1.9
area 30 nssa no-summary
interface Loopback1 redistribute connected subnets
ip address 172.18.0.1 255.255.255.0 network 10.13.1.0 0.0.0.255 area 30
interface Loopback2
ip address 172.18.1.1 255.255.255.0
interface Ethernet1/0
ip address 10.13.1.2 255.255.255.0
duplex half
interface Ethernet1/1
ip address 172.19.1.1 255.255.255.0
BR4-1 Configuration ,Area 0 – Discontinuous Aera 0
Neighbor ID
→The router ID of the OSPF neighbor
Pri
→The priority of the neighbor
State
→The OSPF state between your
router and the neighbor.
Dead Time
→The amount of time left before
declaring the neighbor down if no
OSPF hello packets are received.
Address
→The IP address of the OSPF
neighbor on the directly connected
interface.
Interface
→The local interface through which
the OSPF neighbor is connected.
Verify the OSPF neighbor relationships
Verify the OSPF Database (LSDB)
O: →Intra-Area Route
O IA: →Inter-Area Route
O E1: →External Type 1
O E2: →External Type 2
O N1: →NSSA Type 1
O N2: →NSSA Type 2
--------------
10.10.2.0/30: The destination network.
[110/20]:
→ 110 is the administrative distance for OSPF.
→ 20 is the OSPF cost/metric to reach the
destination network.
via 10.1.1.1:
→The next-hop IP address, which is the OSPF router
providing this route.
01:19:21:
→The time since this route was added or refreshed.
Ethernet2/0:
→The interface through which the router sends
packets to reach the next hop.
Verify the OSPF Database (LSDB)
Verify the Routing Table - OSPF
Verify the OSPF Database (LSDB)
DR-2
Verify the Routing Table - OSPF
Verify the OSPF Database (LSDB)
Interface:
→The name of the interface.
PID
→ OSPF Process ID
Area:
→The OSPF area to which the
interface belongs.
IP Address:
→The assigned IP address for the
interface.
Cost:
→The OSPF cost associated with the
interface, which affects route
selection.
OSPF State:
→ The current state of the OSPF
process on the interface (e.g., DR,
BDR, P2P – point-to-point).
Nbrs:
→The number of OSPF neighbors
currently established on this interface.
Verify the OSPF Interface Status
Verify the OSP Border Router (ABR / ASBR)