Enterprise Networking, Security, and Automation - Module Practice and Quiz
Enterprise Networking, Security, and Automation - Module Practice and Quiz
Single-Area OSPFv2
Module Practice and Quiz
1
Concepts
1.4.1
1.0 Introduction
1.1
OSPF Features and
What did I learn in this module?
Characteristics
1.3 OSPF Operation Open Shortest Path First (OSPF) is a link-state routing protocol that was developed as an alternative
for the distance vector Routing Information Protocol (RIP). OSPF has significant advantages over RIP
in that it offers faster convergence and scales to much larger network implementations. OSPF is a
1.4 Module Practice and Quiz link-state routing protocol that uses the concept of areas for scalability. A link is an interface on a
router. A link is also a network segment that connects two routers, or a stub network such as an
1.4.1 What did I learn in this module? Ethernet LAN that is connected to a single router. All link-state information includes the network
prefix, prefix length, and cost. All routing protocols use routing protocol messages to exchange route
Module Quiz - Single-Area information. The messages help build data structures, which are then processed using a routing
1.4.2
OSPFv2 Concepts algorithm. Routers running OSPF exchange messages to convey routing information using five types
of packets: the Hello packet, the database description packet, the link-state request packet, the link-
state update packet, and the link-state acknowledgment packet. OSPF messages are used to create
Single-Area OSPFv2 and maintain three OSPF databases: the adjacency database creates the neighbor table, the link-
2
Configuration state database (LSDB) creates the topology table, and the forwarding database creates the routing
table. The router builds the topology table using results of calculations based on the Dijkstra SPF
(shortest-path first) algorithm. The SPF algorithm is based on the cumulative cost to reach a
3 Network Security Concepts destination. In OSPF, cost is used to determine the best path to the destination. To maintain routing
information, OSPF routers complete a generic link-state routing process to reach a state of
convergence:
4 ACL Concepts
1. Establish Neighbor Adjacencies
2. Exchange Link-State Advertisements
3. Build the Link State Database
5 ACLs for IPv4 Configuration
4. Execute the SPF Algorithm
5. Choose the Best Route
6 NAT for IPv4 With single-area OSPF any number can be used for the area, best practice is to use area 0. Single-
area OSPF is useful in smaller networks with few routers. With multiarea OSPF, one large routing
domain can be divided into smaller areas, to support hierarchical routing. Routing still occurs between
7 WAN Concepts the areas (interarea routing), while many of the processor intensive routing operations, such as
recalculating the database, are kept within an area. OSPFv3 is the OSPFv2 equivalent for exchanging
IPv6 prefixes. Recall that in IPv6, the network address is referred to as the prefix and the subnet mask
8 is called the prefix-length.
VPN and IPsec Concepts
OSPF Packets
9 QoS Concepts OSPF uses the following link-state packets (LSPs) to establish and maintain neighbor adjacencies and
exchange routing updates: 1 Hello, 2 DBD, 3 LSR, 4 LSU, and 5 LSAck. LSUs are also used to forward
OSPF routing updates, such as link changes. Hello packets are used to:
10 Network Management
Discover OSPF neighbors and establish neighbor adjacencies.
Advertise parameters on which two routers must agree to become neighbors.
11 Elect the Designated Router (DR) and Backup Designated Router (BDR) on multiaccess networks
Network Design
like Ethernet. Point-to-point links do not require DR or BDR.
12 Some important fields in the Hello packet are type, router ID, area ID, network mask, hello interval,
Network Troubleshooting
router priority, dead interval, DR, BDR and list of neighbors.
OSPF Operation
13 Network Virtualization
When an OSPF router is initially connected to a network, it attempts to:
The states that OSPF progresses through to do this are down state, init state, two-way state, ExStart
state, Exchange state, loading state, and full state. When OSPF is enabled on an interface, the router
Enterprise Networking, must determine if there is another OSPF neighbor on the link by sending a Hello packet that contains
Security, and Automation its router ID out all OSPF-enabled interfaces. The Hello packet is sent to the reserved All OSPF
Routers IPv4 multicast address 224.0.0.5. Only OSPFv2 routers will process these packets. When a
neighboring OSPF-enabled router receives a Hello packet with a router ID that is not within its
neighbor list, the receiving router attempts to establish an adjacency with the initiating router. After
Single-Area OSPFv2
1 the Two-Way state, routers transition to database synchronization states, which is a three step
Concepts
process:
5 ACLs for IPv4 Configuration to request specific link-state records from neighbor
routers
hello
8 VPN and IPsec Concepts
LSR
LSU
9 QoS Concepts
LSAck
14 Network Automation After convergence, the table only contains the lowest
cost route entries for all known networks.
4. What does an OSPF area contain?
OSPF Features and A new dead interval timer of 4 times the hello interval will
1.1
Characteristics start.
link-state database
7 WAN Concepts
forwarding database
routing table
8 VPN and IPsec Concepts
adjacency database
9 QoS Concepts 9. What is identical on all OSPF routers within a single area?
static routes
routing table
11 link-state database
Network Design
dissemination of LSAs
13 Network Virtualization
maintaining the link-state database
to simplify configuration
1.0 Introduction 12. At which OSPF state are neighbor routers converged and
able to exchange routing updates?
OSPF Features and
1.1
Characteristics
Two-Way
Exchange
1.2 OSPF Packets
Full
11 Network Design
OSPF Operation
1.3 2.0
Introduction
12 Network Troubleshooting
13 Network Virtualization
14 Network Automation