0% found this document useful (0 votes)
62 views5 pages

Ospf L T Ospf A T: SA Ypes and REA Ypes

The document describes different OSPF area types including normal, stub, totally stubby, and NSSA areas. It shows the configuration of OSPF on various routers to create these area types and validate the expected routing behavior and LSAs flooded in each area. The key area types configured are normal area 0, stub area 456, totally stubby area 456, and NSSA area 789. The document verifies the routing tables and LSAs on routers within each area to check that they receive only the expected routes and LSAs for that area type.

Uploaded by

Purdu Gheorghe
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
62 views5 pages

Ospf L T Ospf A T: SA Ypes and REA Ypes

The document describes different OSPF area types including normal, stub, totally stubby, and NSSA areas. It shows the configuration of OSPF on various routers to create these area types and validate the expected routing behavior and LSAs flooded in each area. The key area types configured are normal area 0, stub area 456, totally stubby area 456, and NSSA area 789. The document verifies the routing tables and LSAs on routers within each area to check that they receive only the expected routes and LSAs for that area type.

Uploaded by

Purdu Gheorghe
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

OSPF LSA TYPES AND OSPF AREA TYPES

INITIAL CONFIGURATION

Lo0 Lo1 S0/0 F0/0 F0/1


R1 10.1.1.1/32 - - 172.16.12.1/24 -
R2 10.2.2.2/32 192.168.2.2/24 - 172.16.12.2/24 172.16.23.2/24
R3 10.3.3.3/32 192.168.3.3/24 - 172.16.23.3/24
R4 10.4.4.4/32 192.168.4.4/24 172.16.14.4/24 172.16.46.4/24
R5 10.5.5.5/32 192.168.5.5/24 172.16.15.5/24 172.16.56.5/24
R6 10.6.6.6/32 192.168.6.6/24 - 172.16.46.6/24 172.16.56.6/24
R7 10.7.7.7/32 192.168.7.7/24 172.16.17.7/24 172.16.0.7/24 -
R8 10.8.8.8/32 192.168.8.8/24 172.16.18.8/24 172.16.0.8/24 -
R9 10.9.9.9/32 192.168.9.9/24 - 172.16.0.9/24 -
R10 - 192.168.10.10/24 - 172.16.0.10/24 -

S1/0 S1/1 S1/2 S1/3


R1 172.16.14.1/24 172.16.15.1/24 172.16.17.1/24 172.16.18.1/24

Page 1 of 5
OSPF NORMAL AREA
Configure OSPF on R1, R2 and R3.

R1(config)# router ospf 1


R1(config-router)# network 0.0.0.0 255.255.255.255 area 0

R2(config)# router ospf 1


R2(config-router)# network 172.16.12.2 0.0.0.0 area 0
R2(config-router)# network 172.16.23.2 0.0.0.0 area 23
R2(config-router)# network 192.168.2.2 0.0.0.0 area 23
R2(config)# interface lo1
R2(config-if)# ip ospf network point-to-point

R3(config)# router ospf 1


R3(config-router)# network 192.168.3.3 0.0.0.0 area 23
R3(config-router)# network 172.16.23.3 0.0.0.0 area 23
R3(config)# interface lo1
R3(config-if)# ip ospf network point-to-point

Verify the number and type of areas in R1, R2 and R3.


Rx# show ip ospf | include normal|border

Q1: Which role have R1, R2 and R3?


A:
R1 and R2 = ABR , R3= internal;

Please verify the routing table of R3.


R3# show ip route

Please verify the OSPF database of R3.


R3# show ip ospf database

Q2: Which type of OSPF routes are advertised in Area 23? Which type of LSA are flooded in Area 23?
A: LSA type 3, type 2 and type 1
Router Link States, network and summary network

OSPF STUB AREA


Configure OSPF on R4, R5 and R6.

R6(config)# router ospf 1


R6(config-router)# network 172.16.46.6 0.0.0.0 area 456
R6(config-router)# network 172.16.56.6 0.0.0.0 area 456
R6(config-router)# network 192.168.6.6 0.0.0.0 area 456
R6(config-router)# area 456 stub
R6(config)# interface lo1
R6(config-if)# ip ospf network point-to-point

Page 2 of 5
R5(config)# router ospf 1
R5(config-router)# network 172.16.15.5 0.0.0.0 area 0
R5(config-router)# network 172.16.56.5 0.0.0.0 area 456
R5(config-router)# network 192.168.5.5 0.0.0.0 area 456
R5(config-router)# area 456 stub
R5(config)# interface lo1
R5(config-if)# ip ospf network point-to-point

R4(config)# router ospf 1


R4(config-router)# network 172.16.14.4 0.0.0.0 area 0
R4(config-router)# network 172.16.46.4 0.0.0.0 area 456
R4(config-router)# network 192.168.4.4 0.0.0.0 area 456
R4(config-router)# area 456 stub
R4(config)# interface lo1
R4(config-if)# ip ospf network point-to-point

Verify the number and type of areas in R4, R5 and R6.


Rx# show ip ospf | include normal|border|boundary

Q1: Which role have R4, R5 and R6?


A:
R4 and R5 = ABR, R6=internal;

Please verify the routing table of R6.


R6# show ip route

Please verify the OSPF database of R6.


R6# show ip ospf database

Q2: Which type of OSPF routes are advertised in Area 456? Which type of LSA are flooded in Area 456?
A:
Router Router Link States, network and summary network
LSA type 3,2,1
Q3: How many default routes exist into R6s routing table? Why?
A: 2, two interfaces

Redistribute directly connected networks in R6.


R6(config)# router ospf 1
R6(config-router)# redistribute connected subnets

Q4: What indicates the message logged on the console? Why?


A: Router is currently an ASBR while having only one area which is a stub area

Redo the configuration on R6.


R6(config)# router ospf 1
R6(config-router)# no redistribute connected

Page 3 of 5
TOTALLY STUBBY AREA
Suppress sending LSA type 3 (Summary LSA) into area 456
R4(config)# router ospf 1
R4(config-router)# area 456 stub no-summary

R5(config)# router ospf 1


R5(config-router)# area 456 stub no-summary

Please verify the routing table of R6.


R6# show ip route

Q1: Which type of LSA are still flooded in Area 456 and which type are not flooded anymore?
A:
LSA type 2 and type 1
Router Link States, network

Redo the configuration on R4.


R4(config)# router ospf 1
R4(config-router)# no area 456 stub no-summary

Once again, please verify the routing table of R6.


R6# show ip route

Q2: Which networks are advertised by R4 and R5?


A:

NOT SO STUBBY AREA


Configure OSPF on R7 and R9.

R7(config)# router ospf 1


R7(config-router)# router-id 10.7.7.7
R7(config-router)# area 789 nssa
R7(config-router)# network 172.16.0.7 0.0.0.0 area 789
R7(config-router)# network 172.16.17.7 0.0.0.0 area 0
R7(config-router)# network 192.168.7.7 0.0.0.0 area 789

R9(config)# router ospf 1


R9(config-router)# router-id 10.9.9.9
R9(config-router)# area 789 nssa
R9(config-router)# network 172.16.0.9 0.0.0.0 area 789
R9(config-router)# network 192.168.9.9 0.0.0.0 area 789

On R9 configure a static route to network 192.168.10.0/24 with 172.16.0.10 as next-hop.


R9(config)# ip route 192.168.10.0 255.255.255.0 172.16.0.10

Page 4 of 5
Redistribute static route into OSPF on R9.
R9(config)# router ospf 1
R9(config-router)# redistribute static subnets

Verify the number and type of areas in R7 and R9.


Rx# show ip ospf | include normal|border|boundary

Q1: Which role have R7 and R9?


A:
R9 internal, SABR
R7 ABR;

Q2: Which router transforms LSA Type 7 to LSA Type 5? Which is the command line used to verify?
A:
Type 7 to LSA type 5 is router R7;
Sh ip route

Please verify the routing table of R1, R2, R3, R7, R4, R5 and R6.
Rx# show ip route

Q2: Which type of LSA is used to advertise network 192.168.10.0/24 on Area 23, Area 456, Area 789 and Area 0? Which
router does not have this network into its routing table? Why?
A:
LSA type 7 on Area 789
LSA type 5 on area 23, 456
NSSA WITH TWO ABRS
Configure OSPF on R8.

R8(config)# router ospf 1


R8(config-router)# router-id 10.8.8.8
R8(config-router)# area 789 nssa
R8(config-router)# network 172.16.0.8 0.0.0.0 area 789
R8(config-router)# network 172.16.18.8 0.0.0.0 area 0
R8(config-router)# network 192.168.8.8 0.0.0.0 area 789

Q1: Which router transforms LSA Type 7 to LSA Type 5? Why?


A:
R7; to be in the same database
Q2: Which type of LSA is used by R7 and R8 to learn about 192.168.10.0/24 network? Why?
A:
R7 LSA type 1, R8 LSA type 7
CONCLUSIONS

Page 5 of 5

You might also like