2.7.2 Lab - Configure Single Area Ospfv2 Editado
2.7.2 Lab - Configure Single Area Ospfv2 Editado
Topology
Addressing Table
Device Interface IP Address Subnet Mask
R1
Loopback1 172.16.1.1 255.255.255.0
R2 G0/0/1 10.53.0.2 255.255.255.0
R2
Loopback1 192.168.1.1 255.255.255.0
Objectives
Part 1: Build the Network and Configure Basic Device Settings
Part 2: Configure and Verify Single-Area OSPFv2 for basic operation
Part 3: Optimize and Verify the Single-Area OSPFv2 configuration
Background / Scenario
You have been tasked with configuring a small company’s network using OSPFv2. R1 will be hosting an
internet connection (simulated by interface Loopback 1) and sharing the default route information to R2. After
the initial configuration, the organization has asked for the configuration to be optimized to reduce protocol
traffic and ensure that R1 remains in control of routing.
Note: The static routing approach used in this lab is to assess your ability to configure and adjust OSPFv2 in
a single-area configuration. This approach used in this lab may not reflect networking best practices.
Note: The routers used with CCNA hands-on labs are Cisco 4221 with Cisco IOS XE Release 16.9.4
(universalk9 image). The switches used in the labs are Cisco Catalyst 2960s with Cisco IOS Release 15.2(2)
(lanbasek9 image). Other routers, switches, and Cisco IOS versions can be used. Depending on the model
and Cisco IOS version, the commands available and the output produced might vary from what is shown in
the labs. Refer to the Router Interface Summary Table at the end of the lab for the correct interface identifiers.
Note: Ensure that the routers and switches have been erased and have no startup configurations. If you are
unsure contact your instructor.
Required Resources
• 2 Routers (Cisco 4221 with Cisco IOS XE Release 16.9.4 universal image or comparable)
© 2019 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 1 of 4 www.netacad.com
Lab - Configure Single-Area OSPFv2
• 2 Switches (Cisco 2960 with Cisco IOS Release 15.2(2) lanbasek9 image or comparable)
• 1 PC (Windows with a terminal emulation program, such as Tera Term)
• Console cables to configure the Cisco IOS devices via the console ports
• Ethernet cables as shown in the topology
Instructions
© 2019 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 2 of 4 www.netacad.com
Lab - Configure Single-Area OSPFv2
e. On R2 only, add the configuration necessary to advertise the Loopback 1 network into OSPF area 0.
f. Verify OSPFv2 is operational between the routers. Issue the command to verify R1 and R2 have formed
an adjacency.
Question:
Which router is identified as the DR? Which is the BDR? What was the selection criteria?
Type your answers here.
DR es el R1 y BDR es R2
g. On R1, issue the show ip route ospf command to verify that the R2 Loopback1 network is present in the
routing table. Notice the default behavior of OSPF is to advertise a loopback interface as a host route
using a 32 bit mask.
h. Ping the R2 Loopback 1 interface address from R1. The ping should succeed.
close configuration window
a. On R1, configure the interface G0/0/1 OSPF priority to 50 to ensure R1 is the Designated Router.
b. Configure the OSPF timers on the G0/0/1 of each router for a hello timer of 30 seconds.
c. On R1, configure a default static route that uses interface Loopback 1 as the exit interface. Then,
propagate the default route into OSPF. Note the console message after setting the default route.
d. On R2 only, add the configuration necessary for OSPF to treat R2 Loopback 1 like a point-to-point
network. This results in OSPF advertising Loopback 1 using the interface subnet mask.
e. On R2 only, add the configuration necessary to prevent OSPF advertisements from being sent to the
Loopback 1 network.
f. Change the reference bandwidth on each router to 1Gbs. After this configuration, restart OSPF using the
clear ip ospf process command. Note the console message after setting the new reference bandwidth.
Why is the OSPF cost for the default route different than the OSPF cost at R1 for the 192.168.1.0/24
network?
Type your answers here.
El costo seria 100
© 2019 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 3 of 4 www.netacad.com
Lab - Configure Single-Area OSPFv2
Note: To find out how the router is configured, look at the interfaces to identify the type of router and how many
interfaces the router has. There is no way to effectively list all the combinations of configurations for each router
class. This table includes identifiers for the possible combinations of Ethernet and Serial interfaces in the device.
The table does not include any other type of interface, even though a specific router may contain one. An
example of this might be an ISDN BRI interface. The string in parenthesis is the legal abbreviation that can be
used in Cisco IOS commands to represent the interface.
End of document
© 2019 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 4 of 4 www.netacad.com