OSPF Flashcards
Type 1 Router LSA
Contains IP prefix of each connected interface
Stays in an area
Type 2 Network LSA
Generated by DR
A DR collects Type 1 LSA from other OSPF routers on a broadcast segment and combines them into a type 2 LSA that describes all routers on the segment
Stays in an area
Type 3 Summary LSA
Includes inter-area prefixes-prefixes from other areas.
Summarizes Type 1 and 2 LSA from an area and repackage them into a single summary LSA to share with other areas
O IA in the routing table
Stays in an area
Type 4 ASBR Summary LSA
Generated by an ABR and tells routers in other areas how to reach the next hop listed in type 5 AS External LSA
Stays in an area
Type 5 AS External LSA
Advertises redistributed routes
OE1 and OE2 in the routing table.
Flooded to all normal area
OSPF Network Types
Point-to-point: Routers will not attempt to elect a DR
Used for serial links and loopbacks
Broadcast or Transit: Routers will attempt to elect a DR
Most common on ethernet networks
OSPF Routing Protocol Number
OSPF uses IP protocol 89
OSPF Multicast Address
OSPF routers use 224.0.0.5 to send HELLO messages
On a Broadcast network, The DR multicast address is 224.0.0.6
OSPF Seven States
- Down
- Init
- Two-way
- Exstart
- Exchange - Routers exchange LSA headers
- Loading - Routers exchange full link-state
- Full
Changing Interface Priority
By default, all routers have an interface priority of 1.
R2(config-if)# ip ospf priority 255
If a router has a priority of 0 it will never become a DR
OSPF Stub Network
Contains only a single router. Advertise using a type 2 LSA
OSPF Authentication Types
Interface Authentication: Each router must authenticate to its neighbor before forming an adjacency
R2(config-if)# ip ospf message-digest-key 1 md5 cisco
ip ospf authentication message-digest
Area Authentication: Enables interface authentication on all interfaces in a particular area.
R2(config-if)# ip ospf message-digest-key 1 md5 cisco
R2(config-router)# router ospf 1
area 0 authentication message-digest
Passive Interfaces
OSPF will advertise a prefix for an interface but will not form an adjacency
R2(config-router)# router ospf 1
passive-interface gi0/1
Inter-Area Summarization
On ABR area range command
On ASBR summary-address command
R2(config-router)# router ospf 1
area 0 range 10.0.0.0 255.255.254.0
Route Filtering
Inter-area filtering mechanism. Router will not advertise a summary LSA
R4(config)# ip prefix-list NO-AREA-1 seq 10 deny 192.0.2.0/30
ip prefix-list NO-AREA-1 seq 20 permit 0.0.0.0/0 le 32
R4(config-router)# router ospf 1
area 0 filter-list prefix NO-AREA-1 in