Showing posts with label OSPF Areas. Show all posts
Showing posts with label OSPF Areas. Show all posts

Friday, 15 June 2012

OSPF Areas: Totally NSSA:

OSPF Areas: Totally NSSA:

·         Totally NSSA area is a Totally-stubby-area, which has external connectivity.
·         Default-route gets injected into this by an ABR.

Network topology and Configs are same as the previous post (Stub Area).

·         In the previous NSSA post, we learnt that Type-5 LSAs are blocked in NSSA area and redistributed routes inside NSSA area will come as Type-7 LSAs.
·         These Type-7 LSAs are valid only inside NSSA area and ABR converts them into Type-5 LSAs before sending them to other areas.

Now, let’s configure Area 1 as Totally NSSA:

R2(config)#router ospf 1
R2(config-router)#area 1 nssa no-summary

If we check R3’s routing table, we shouldn’t see any External and Inter-area routes:

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 20.1.1.2 to network 0.0.0.0

     33.0.0.0/32 is subnetted, 1 subnets
C       33.33.33.33 is directly connected, Loopback33
     3.0.0.0/32 is subnetted, 1 subnets
C       3.3.3.3 is directly connected, Loopback0
     20.0.0.0/24 is subnetted, 1 subnets
C       20.1.1.0 is directly connected, Serial1/1
     22.0.0.0/32 is subnetted, 1 subnets
O       22.22.22.22 [110/65] via 20.1.1.2, 00:27:38, Serial1/1
     133.133.0.0/32 is subnetted, 1 subnets
C       133.133.133.133 is directly connected, Loopback133
O*IA 0.0.0.0/0 [110/65] via 20.1.1.2, 00:01:27, Serial1/1
R3#

·         We don’t see any Inter-area routes.
·         Intra-area routes will still be there since they are local to the area.
·         We also see one default route injected into Totally NSSA area by an ABR R2.

OSPF Areas: NSSA (Not So Stubby Area):

OSPF Areas: NSSA (Not So Stubby Area):

·         NSSA is a Stub area, which has external connectivity.
·         But, we just learnt in the previous posts, that External routes are not allowed inside a Stub area, so how do we handle the situation?
·         The Answer is, Type 7 LSA (NSSA LSA)
·         But, these LSAs are not allowed outside NSSA area, so ABR will convert them as LSA Type 5 before sending them to the other areas.

Network topology and Configs are same as the previous post (Stub Area).

·         In the previous Stub Area post, we have observed that, after configuring Area 1 as Stub area, External LSAs were blocked by an ABR to enter the Stub Area.
·         But we still observed Inter-area routes. (Summary LSAs were still allowed)

Now let’s configure Area 1 as NSSA:

R2(config-router)#do show run | i stub
 area 1 stub no-summary
R2(config-router)#no area 1 stub no-summary
R2(config-router)#no area 1 stub
R2(config-router)#area 1
*Jun 15 14:57:50.179: %OSPF-5-ADJCHG: Process 1, Nbr 3.3.3.3 on Serial1/1 from FULL to DOWN, Neighbor Down: Adjacency forced to reset
R2(config-router)#area 1 nssa
R2(config-router)#
*Jun 15 14:57:55.187: %OSPF-5-ADJCHG: Process 1, Nbr 3.3.3.3 on Serial1/1 from DOWN to DOWN, Neighbor Down: Adjacency forced to reset
R2(config-router)#
*Jun 15 14:58:19.587: %OSPF-5-ADJCHG: Process 1, Nbr 3.3.3.3 on Serial1/1 from LOADING to FULL, Loading Done
R2(config-router)#


R3(config)#router ospf 1
R3(config-router)#no area 1 stub
*Jun 15 14:58:13.235: %OSPF-5-ADJCHG: Process 1, Nbr 2.2.2.2 on Serial1/1 from FULL to DOWN, Neighbor Down: Adjacency forced to reset
R3(config-router)#area 1 nssa
R3(config-router)#
*Jun 15 14:58:15.283: %OSPF-5-ADJCHG: Process 1, Nbr 2.2.2.2 on Serial1/1 from DOWN to DOWN, Neighbor Down: Adjacency forced to reset
R3(config-router)#
*Jun 15 14:58:19.627: %OSPF-5-ADJCHG: Process 1, Nbr 2.2.2.2 on Serial1/1 from LOADING to FULL, Loading Done
R3(config-router)#


Creating 2 loopbacks on R3 and redistributing into OSPF:

R3(config-router)#int loop33
R3(config-if)#ip add
R3(config-if)#ip address 33.33.33
*Jun 15 14:59:52.543: %LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback33, changed state to up
R3(config-if)#ip address 33.33.33.33 255.255.255.255
R3(config-if)#int loop 133
R3(config-if)#ip add
R3(config-if)#ip address 133.1
*Jun 15 15:00:07.843: %LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback133, changed state to up
R3(config-if)#ip address 133.133.133.133 255.255.255.255
R3(config-if)#route-map LOOPBACKS
R3(config-route-map)#match interface loop33
R3(config-route-map)#match interface loop133
R3(config-route-map)#router ospf 1
R3(config-router)#redistribute connected route-map LOOPBACKS subnets
R3(config-router)#

Now, let’s check the Routing tables:

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

     1.0.0.0/32 is subnetted, 1 subnets
O IA    1.1.1.1 [110/129] via 20.1.1.2, 00:01:41, Serial1/1
     2.0.0.0/32 is subnetted, 1 subnets
O IA    2.2.2.2 [110/65] via 20.1.1.2, 00:01:41, Serial1/1
     33.0.0.0/32 is subnetted, 1 subnets
C       33.33.33.33 is directly connected, Loopback33
     3.0.0.0/32 is subnetted, 1 subnets
C       3.3.3.3 is directly connected, Loopback0
     20.0.0.0/24 is subnetted, 1 subnets
C       20.1.1.0 is directly connected, Serial1/1
     22.0.0.0/32 is subnetted, 1 subnets
O       22.22.22.22 [110/65] via 20.1.1.2, 00:01:41, Serial1/1
     10.0.0.0/24 is subnetted, 1 subnets
O IA    10.1.1.0 [110/128] via 20.1.1.2, 00:01:42, Serial1/1
     133.133.0.0/32 is subnetted, 1 subnets
C       133.133.133.133 is directly connected, Loopback133
R3#

Observations:

·         Only External routes are blocked (Inter-area routes are still allowed)
·         There is no default route generated by ABR; if we configure NSSA, ABR will not generate default route into NSSA by default.
·         It was happening by default in Stub area.
·         We have newly created loopbacks as connected.

·         These newly created loopbacks on R3 are redistributed into OSPF on R3.
·         So R2 should see these routes as TYPE 7 LSAs.
·         And R1 should see these routes as Type 5 LSAs, as R2 is converting them from Type-7 to Type-5 while sending them to R1.
·         Let’s check this one


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

     1.0.0.0/32 is subnetted, 1 subnets
O       1.1.1.1 [110/65] via 10.1.1.1, 00:11:18, Serial1/0
     2.0.0.0/32 is subnetted, 1 subnets
C       2.2.2.2 is directly connected, Loopback0
     33.0.0.0/32 is subnetted, 1 subnets
O N2    33.33.33.33 [110/20] via 20.1.1.3, 00:08:07, Serial1/1
     3.0.0.0/32 is subnetted, 1 subnets
O       3.3.3.3 [110/65] via 20.1.1.3, 00:08:07, Serial1/1
     20.0.0.0/24 is subnetted, 1 subnets
C       20.1.1.0 is directly connected, Serial1/1
     22.0.0.0/32 is subnetted, 1 subnets
C       22.22.22.22 is directly connected, Loopback22
     111.0.0.0/32 is subnetted, 1 subnets
O E2    111.111.111.111 [110/20] via 10.1.1.1, 00:08:08, Serial1/0
     10.0.0.0/24 is subnetted, 1 subnets
C       10.1.1.0 is directly connected, Serial1/0
     11.0.0.0/32 is subnetted, 1 subnets
O E2    11.11.11.11 [110/20] via 10.1.1.1, 00:08:08, Serial1/0
     133.133.0.0/32 is subnetted, 1 subnets
O N2    133.133.133.133 [110/20] via 20.1.1.3, 00:08:08, Serial1/1
R2#

*** R3’s loopbacks 33.33.33.33 and 133.133.133.133 are appearing as O N2 routes.

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

     1.0.0.0/32 is subnetted, 1 subnets
C       1.1.1.1 is directly connected, Loopback0
     2.0.0.0/32 is subnetted, 1 subnets
O       2.2.2.2 [110/65] via 10.1.1.2, 00:14:10, Serial1/0
     33.0.0.0/32 is subnetted, 1 subnets
O E2    33.33.33.33 [110/20] via 10.1.1.2, 00:10:59, Serial1/0
     3.0.0.0/32 is subnetted, 1 subnets
O IA    3.3.3.3 [110/129] via 10.1.1.2, 00:13:46, Serial1/0
     20.0.0.0/24 is subnetted, 1 subnets
O IA    20.1.1.0 [110/128] via 10.1.1.2, 00:14:10, Serial1/0
     22.0.0.0/32 is subnetted, 1 subnets
O IA    22.22.22.22 [110/65] via 10.1.1.2, 00:14:10, Serial1/0
     111.0.0.0/32 is subnetted, 1 subnets
C       111.111.111.111 is directly connected, Loopback111
     10.0.0.0/24 is subnetted, 1 subnets
C       10.1.1.0 is directly connected, Serial1/0
     11.0.0.0/32 is subnetted, 1 subnets
C       11.11.11.11 is directly connected, Loopback11
     133.133.0.0/32 is subnetted, 1 subnets
O E2    133.133.133.133 [110/20] via 10.1.1.2, 00:11:00, Serial1/0
R1#

*** R3’s loopbacks 33.33.33.33 and 133.133.133.133 are appearing as O E2 routes as ABR R2 is converting them from Type-7 to Type-5.

We will learn about Totally NSSA in the next post à

OSPF Areas: Totally Stubby Area:

OSPF Areas: Totally Stubby Area:

·         Totally stubby areas are areas into which external LSAs and summary LSAs are not flooded.
·         The only route injected into the totally-stubby-area is the default-route by an ABR.
·         **Intra-routes will be there as they are local to this area.

Network topology and Configs are same as the previous post (Stub Area).

·         In the previous post, we have observed that, after configuring Area 1 as Stub area, External LSAs were blocked by an ABR to enter the Stub Area.
·         But we still observed Inter-area routes. (Summary LSAs were still allowed)

Now, let me configure Area 1 as Totally Stubby Area:

R2(config)#router ospf 1
R2(config-router)#area 1 stub no-summary
R2(config-router)#
Now, if we see the Routing table of R3, we shouldn’t see External and Inter-area routes (LSA 5 and LSA 3). Let’s check that:

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 20.1.1.2 to network 0.0.0.0

     3.0.0.0/32 is subnetted, 1 subnets
C       3.3.3.3 is directly connected, Loopback0
     20.0.0.0/24 is subnetted, 1 subnets
C       20.1.1.0 is directly connected, Serial1/1
O*IA 0.0.0.0/0 [110/65] via 20.1.1.2, 00:01:53, Serial1/1
R3#

·         We don’t see any External routes and Inter-area routes.
·         We just see a default route injected by an ABR into TotallY Stbby Area.
·         I haven’t configured any intra-routes, otherwise they should still be appearing

·         To check this, let me create a new loopback on R2 and advertise it into Area1, so that we see it on R3.

R2(config)#int loop22
R2(config-if)#ip add
*Jun 15 14:10:21.947: %LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback22, changed state to up
R2(config-if)#ip add 22.22.22.22 255.255.255.255
R2(config-if)#router ospf 1
R2(config-router)#net 22.22.22.22 0.0.0.0 area 1
R2(config-router)#

Now, let’s check the R3’s Routing Table:

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 20.1.1.2 to network 0.0.0.0

     3.0.0.0/32 is subnetted, 1 subnets
C       3.3.3.3 is directly connected, Loopback0
     20.0.0.0/24 is subnetted, 1 subnets
C       20.1.1.0 is directly connected, Serial1/1
     22.0.0.0/32 is subnetted, 1 subnets
O       22.22.22.22 [110/65] via 20.1.1.2, 00:00:55, Serial1/1
O*IA 0.0.0.0/0 [110/65] via 20.1.1.2, 00:00:55, Serial1/1
R3#

Yes, we see R2’ loopback as intra-area route!!!

We will learn about NSSA area in the next post à

OSPF Areas: Stub Area

OSPF Areas: Stub Area

·         Stub areas are areas, into which external LSAs are not flooded.
·         ABR will inject a default-route into this area.
Let’s take a small scenario to understand this:
·         R1: Ser1/0 and R2: Ser1/0 are part of Area 0
·         R2: Ser1/1 and R3 Ser1/1 are part of Area 1
Let us see the configs, before configuring Stub Area:

OSPF Configuration on R1:

R1#show run | begin router ospf 1
router ospf 1
 router-id 1.1.1.1
 log-adjacency-changes
 redistribute connected subnets route-map REDISTRIBUTE-LOOP àR1 is acting as ASBR
 network 1.1.1.1 0.0.0.0 area 0
 network 10.1.1.1 0.0.0.0 area 0
!
!

route-map REDISTRIBUTE-LOOP permit 10
 match interface Loopback11 Loopback111
!
R1#show run int loop11
Building configuration...

Current configuration : 68 bytes
!
interface Loopback11
 ip address 11.11.11.11 255.255.255.255
end

R1#show run int loop111
Building configuration...

Current configuration : 73 bytes
!
interface Loopback111
 ip address 111.111.111.111 255.255.255.255
end

R1#

R2#show run | begin router ospf 1
router ospf 1
 router-id 2.2.2.2
 log-adjacency-changes
 network 2.2.2.2 0.0.0.0 area 0
 network 10.1.1.2 0.0.0.0 area 0
 network 20.1.1.2 0.0.0.0 area 1
!
** R2 is acting as an ABR, which interconnects Area 0 and Area 1


R3#show run | begin router ospf 1
router ospf 1
 router-id 3.3.3.3
 log-adjacency-changes
 network 3.3.3.3 0.0.0.0 area 1
 network 20.1.1.3 0.0.0.0 area 1
!

Let us see the IP Routing Table on the Routers:

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

     1.0.0.0/32 is subnetted, 1 subnets
C       1.1.1.1 is directly connected, Loopback0
     2.0.0.0/32 is subnetted, 1 subnets
O       2.2.2.2 [110/65] via 10.1.1.2, 00:07:28, Serial1/0
     3.0.0.0/32 is subnetted, 1 subnets
O IA    3.3.3.3 [110/129] via 10.1.1.2, 00:07:28, Serial1/0
     20.0.0.0/24 is subnetted, 1 subnets
O IA    20.1.1.0 [110/128] via 10.1.1.2, 00:07:28, Serial1/0
     111.0.0.0/32 is subnetted, 1 subnets
C       111.111.111.111 is directly connected, Loopback111
     10.0.0.0/24 is subnetted, 1 subnets
C       10.1.1.0 is directly connected, Serial1/0
     11.0.0.0/32 is subnetted, 1 subnets
C       11.11.11.11 is directly connected, Loopback11
R1#

Observations:

·         R1 is learning about R2’s loopback 2.2.2.2 through OSPF
·         R1 is learning about R3’s loopback 3.3.3.3 through OSPF
·         R1 is also learning about R2-R3 connected serial link 20.1.1.0/24 through OSPF

·         R1 is learning about R2’s loopback as intra-area route (LSA Type 1, Router LSA, hence the route is showing up as O route in the Routing Table.
·         R1 is learning about R3’s loopback and the connected link between R2 and R3 as Inter-area routes (LSA Type-3, Summary LSA), hence these routes are showing up as O IA routes in the Routing table.

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

     1.0.0.0/32 is subnetted, 1 subnets
O       1.1.1.1 [110/65] via 10.1.1.1, 00:07:49, Serial1/0
     2.0.0.0/32 is subnetted, 1 subnets
C       2.2.2.2 is directly connected, Loopback0
     3.0.0.0/32 is subnetted, 1 subnets
O       3.3.3.3 [110/65] via 20.1.1.3, 00:11:16, Serial1/1
     20.0.0.0/24 is subnetted, 1 subnets
C       20.1.1.0 is directly connected, Serial1/1
     111.0.0.0/32 is subnetted, 1 subnets
O E2    111.111.111.111 [110/20] via 10.1.1.1, 00:07:49, Serial1/0
     10.0.0.0/24 is subnetted, 1 subnets
C       10.1.1.0 is directly connected, Serial1/0
     11.0.0.0/32 is subnetted, 1 subnets
O E2    11.11.11.11 [110/20] via 10.1.1.1, 00:07:50, Serial1/0
R2#

Observations:

·         R2 is learning R1’s loopback 1.1.1.1 through OSPF
·         R2 is learning R3’s loopback 3.3.3.3 through OSPF
·         R2 is also learning about Redistributed routes from R1 (11.11.11.11 and 111.111.111.111) through OSPF

·         R2 is learning about R1’s and R3’s loopbacks as intra-area routes (LSA Type 1, Router LSA), hence these routes are showing up as O routes in the Routing Table.
·         R2 is learning Redistributed from R1 as External routes (LSA Type 5, External LSA, hence these routes are showing up as O E2 routes in the Routing table.
·         ** I’ll post a section on E1 and E2 routes later


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

     1.0.0.0/32 is subnetted, 1 subnets
O IA    1.1.1.1 [110/129] via 20.1.1.2, 00:11:32, Serial1/1
     2.0.0.0/32 is subnetted, 1 subnets
O IA    2.2.2.2 [110/65] via 20.1.1.2, 00:11:32, Serial1/1
     3.0.0.0/32 is subnetted, 1 subnets
C       3.3.3.3 is directly connected, Loopback0
     20.0.0.0/24 is subnetted, 1 subnets
C       20.1.1.0 is directly connected, Serial1/1
     111.0.0.0/32 is subnetted, 1 subnets
O E2    111.111.111.111 [110/20] via 20.1.1.2, 00:08:00, Serial1/1
     10.0.0.0/24 is subnetted, 1 subnets
O IA    10.1.1.0 [110/128] via 20.1.1.2, 00:11:32, Serial1/1
     11.0.0.0/32 is subnetted, 1 subnets
O E2    11.11.11.11 [110/20] via 20.1.1.2, 00:08:00, Serial1/1
R3#

Observations:

·         R3 is learning about R1’s loopback 1.1.1.1 through OSPF
·         R3 is learning about R2’s loopback 2.2.2.2 through OSPF
·         R3 is learning about R2-R1 connected serial link 10.1.1.0/24 through OSPF
·         R3 is also learning about Redistributed routes from R1 (11.11.11.11 and 111.111.111.111) through OSPF

·         R3 is learning about R1’s loopback, R2’s loopback and the connected link between R2-R1 as Inter-are routes (LSA Type-3, Summary LSA), hence these routes are showing up as O IA routes in the Routing table.
·         R2 is learning Redistributed from R1 as External routes (LSA Type 5, External LSA, hence these routes are showing up as O E2 routes in the Routing table.


Let us see the configs, after configuring Stub Area:

·         After configuring Area 2 as Stub area, we should not see External routes in R3’s Routing Table.
·         Let us check that

R2(config)#router ospf 1
R2(config-router)#area 1 stub
R2(config-router)#
*Jun 15 13:36:25.699: %OSPF-5-ADJCHG: Process 1, Nbr 3.3.3.3 on Serial1/1 from FULL to DOWN, Neighbor Down: Adjacency forced to reset
R2(config-router)#
*Jun 15 13:36:39.587: %OSPF-5-ADJCHG: Process 1, Nbr 3.3.3.3 on Serial1/1 from LOADING to FULL, Loading Done
R2(config-router)#

R3(config)#router ospf 1
R3(config-router)#area 1 stub
R3(config-router)#
*Jun 15 13:36:34.443: %OSPF-5-ADJCHG: Process 1, Nbr 2.2.2.2 on Serial1/1 from FULL to DOWN, Neighbor Down: Adjacency forced to reset
R3(config-router)#
*Jun 15 13:36:39.631: %OSPF-5-ADJCHG: Process 1, Nbr 2.2.2.2 on Serial1/1 from LOADING to FULL, Loading Done
R3(config-router)#

Now, we will see the routing table of R3:

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 20.1.1.2 to network 0.0.0.0

     1.0.0.0/32 is subnetted, 1 subnets
O IA    1.1.1.1 [110/129] via 20.1.1.2, 00:01:50, Serial1/1
     2.0.0.0/32 is subnetted, 1 subnets
O IA    2.2.2.2 [110/65] via 20.1.1.2, 00:01:50, Serial1/1
     3.0.0.0/32 is subnetted, 1 subnets
C       3.3.3.3 is directly connected, Loopback0
     20.0.0.0/24 is subnetted, 1 subnets
C       20.1.1.0 is directly connected, Serial1/1
     10.0.0.0/24 is subnetted, 1 subnets
O IA    10.1.1.0 [110/128] via 20.1.1.2, 00:01:50, Serial1/1
O*IA 0.0.0.0/0 [110/65] via 20.1.1.2, 00:01:50, Serial1/1
R3#


Observations:

·         Fantastic, External routes are disappeared from R3’s Routing table!!!
·         That means ABR R2 is blocking all Type-5 Externals LSAs from entering the Stub Area.
·         Also, we see a default route injected by ABR R2 into the Stub area.

We shouldn’t see any change in R2’s and R1’s Routing table, let us check that:

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

     1.0.0.0/32 is subnetted, 1 subnets
C       1.1.1.1 is directly connected, Loopback0
     2.0.0.0/32 is subnetted, 1 subnets
O       2.2.2.2 [110/65] via 10.1.1.2, 00:35:21, Serial1/0
     3.0.0.0/32 is subnetted, 1 subnets
O IA    3.3.3.3 [110/129] via 10.1.1.2, 00:05:10, Serial1/0
     20.0.0.0/24 is subnetted, 1 subnets
O IA    20.1.1.0 [110/128] via 10.1.1.2, 00:35:21, Serial1/0
     111.0.0.0/32 is subnetted, 1 subnets
C       111.111.111.111 is directly connected, Loopback111
     10.0.0.0/24 is subnetted, 1 subnets
C       10.1.1.0 is directly connected, Serial1/0
     11.0.0.0/32 is subnetted, 1 subnets
C       11.11.11.11 is directly connected, Loopback11
R1#

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

     1.0.0.0/32 is subnetted, 1 subnets
O       1.1.1.1 [110/65] via 10.1.1.1, 00:05:17, Serial1/0
     2.0.0.0/32 is subnetted, 1 subnets
C       2.2.2.2 is directly connected, Loopback0
     3.0.0.0/32 is subnetted, 1 subnets
O       3.3.3.3 [110/65] via 20.1.1.3, 00:05:02, Serial1/1
     20.0.0.0/24 is subnetted, 1 subnets
C       20.1.1.0 is directly connected, Serial1/1
     111.0.0.0/32 is subnetted, 1 subnets
O E2    111.111.111.111 [110/20] via 10.1.1.1, 00:05:02, Serial1/0
     10.0.0.0/24 is subnetted, 1 subnets
C       10.1.1.0 is directly connected, Serial1/0
     11.0.0.0/32 is subnetted, 1 subnets
O E2    11.11.11.11 [110/20] via 10.1.1.1, 00:05:03, Serial1/0
R2#

***No change in R1 and R2 Routing tables.

We will learn about Totally stubby area in the next post-à