• When Area 2 became a stub area, all external routes disappeared from R4.
    Its routing table is shorter than before, but it is still far from empty.

    The Routes That Survived the Stub

    Let's look at the OSPF routes on R4 again:

    R4# show ip route ospf
    Codes: L - local, 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, H - NHRP, l - LISP
           + - replicated route, % - next hop override
    
    Gateway of last resort is 10.2.34.1 to network 0.0.0.0
    
    O*IA  0.0.0.0/0 [110/2] via 10.2.34.1, 00:04:12, GigabitEthernet0/0
          1.0.0.0/32 is subnetted, 1 subnets
    O IA     1.1.1.1 [110/4] via 10.2.34.1, 00:04:12, GigabitEthernet0/0
          2.0.0.0/32 is subnetted, 1 subnets
    O IA     2.2.2.2 [110/3] via 10.2.34.1, 00:04:12, GigabitEthernet0/0
          3.0.0.0/32 is subnetted, 1 subnets
    O IA     3.3.3.3 [110/2] via 10.2.34.1, 00:04:12, GigabitEthernet0/0
          10.0.0.0/8 is variably subnetted, 4 subnets, 2 masks
    O IA     10.0.23.0/30 [110/2] via 10.2.34.1, 00:04:12, GigabitEthernet0/0
    O IA     10.1.12.0/30 [110/3] via 10.2.34.1, 00:04:12, GigabitEthernet0/0

    Notice those five inter-area routes (O IA). They describe the loopbacks of R1, R2, and R3, along with the transit links between them.

    These routes arrived as Type 3 LSAs. Standard stub areas accept Type 3 LSAs without any restriction.
    Look at the next hop for every single one of those routes: 10.2.34.1 (R3).

    R4 in the stub area thanking R3 for blocking external routes but still receiving Type 3 inter-area LSAs for Area 0 and Area 1 networks

    Figure 1 - External routes are gone, but the Type 3 LSAs keep coming

    R4 has only one way out of Area 2. Storing individual inter-area routes is useless because all traffic must go to R3 anyway.

    Answer the question below

    How many inter-area routes remain in the routing table of R4?