2.2.13 Packet Tracer - Point-to-Point Single-Area OSPFv2 Configuration
2.2.13 Packet Tracer - Point-to-Point Single-Area OSPFv2 Configuration
2.2.13 Packet Tracer - Point-to-Point Single-Area OSPFv2 Configuration
(Instructor Version)
Instructor Note: Red font color or gray highlights indicate text that appears in the instructor copy only.
R1
S0/1/0 10.1.1.1 /30
R1
S0/1/1 10.1.1.5 /30
R2 G0/0/0 192.168.20.1 /24
R2
S0/1/0 10.1.1.2 /30
R2
S0/1/1 10.1.1.9 /30
R3 G0/0/0 192.168.30.1 /24
R3
S0/1/0 10.1.1.10 /30
R3
S0/1/1 10.1.1.6 /30
PC1 NIC 192.168.10.10 /24
PC2 NIC 192.168.20.10 /24
PC3 NIC 192.168.30.10 /24
Objectives
Part 1: Configure Router IDs.
Part 2: Configure Networks for OSPF Routing.
Part 3: Configure Passive Interfaces.
Part 4: Verify OSPF configuration.
Background
In this activity, you will activate OSPF routing using network statements and wildcard masks, configuring
OSPF routing on interfaces, and by using network statements quad-zero masks. In addition, you will configure
explicit router IDs and passive interfaces.
2013 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 1 of 5 www.netacad.com
Packet Tracer - Point-to-Point Single-Area OSPFv2 Configuration
Instructions
Part 1: Configure router IDs.
a. Start the OSPF routing process on all three routers. Use process ID 10.
Open configuration window
Step 1: Configure networks for OSPF routing using network commands and wildcard
masks.
Questions:
How many statements are required to configure OSPF to route all the networks attached to router R1?
Type your answers here.
3
The LAN attached to router R1 has a /24 mask. What is the equivalent of this mask in dotted decimal
representation?
Type your answers here.
255.255.255.0
Subtract the dotted decimal subnet mask from 255.255.255.255. What is the result?
Type your answers here.
0.0.0.255
What is the dotted decimal equivalent of the /30 subnet mask?
Type your answers here.
255.255.255.252
Subtract the dotted decimal representation of the /30 mask from 255.255.255.255. What is the result?
Type your answers here.
0.0.0.3
2013 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 2 of 5 www.netacad.com
Packet Tracer - Point-to-Point Single-Area OSPFv2 Configuration
a. Configure the routing process on R1 with the network statements and wildcard masks that are required to
activate OSPF routing for all the attached networks. The network statement values should be the network
or subnet addresses of the configured networks.
Open configuration window
Step 2: Configure networks for OSPF routing using interface IP addresses and quad-
zero masks.
On router R2, configure OSPF using network commands with the IP addresses of the interfaces and quad-
zero masks. The syntax of the network command is the same as was used above.
R2(config-router)# network 192.168.20.1 0.0.0.0 area 0
R2(config-router)# network 10.1.1.2 0.0.0.0 area 0
R2(config-router)# network 10.1.1.9 0.0.0.0 area 0
2013 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 3 of 5 www.netacad.com
Packet Tracer - Point-to-Point Single-Area OSPFv2 Configuration
Answer Scripts
Router R1
enable
configure terminal
router ospf 10
router-id 1.1.1.1
network 192.168.10.0 0.0.0.255 area 0
network 10.1.1.0 0.0.0.3 area 0
network 10.1.1.4 0.0.0.3 area 0
passive-interface g0/0/0
end
Router R2
enable
configure terminal
router ospf 10
router-id 2.2.2.2
network 192.168.20.1 0.0.0.0 area 0
network 10.1.1.2 0.0.0.0 area 0
network 10.1.1.9 0.0.0.0 area 0
passive-interface g0/0/0
end
Router R3
enable
configure terminal
router ospf 10
router-id 3.3.3.3
interface GigabitEthernet0/0/0
ip ospf 10 area 0
2013 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 4 of 5 www.netacad.com
Packet Tracer - Point-to-Point Single-Area OSPFv2 Configuration
interface Serial0/1/0
ip ospf 10 area 0
interface Serial0/1/1
ip ospf 10 area 0
router ospf 10
passive-interface g0/0/0
end
2013 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 5 of 5 www.netacad.com