7.3.8 Practice Questions
7.3.8 Practice Questions
8 Practice Questions
You want to configure a single area OSPF network for area 0. What are the minimum
commands you must use? (Select two.)
Answer
Incorrect answer:
network 1.1.1.0 0.0.0.255
Correct Answer:
network 1.1.1.0 0.0.0.255 area 0
Correct Answer:
router ospf 12
Answer
Correct Answer:
router ospf 100
network 172.16.16.1 0.0.0.0 area 300
network 172.16.32.2 0.0.0.0 area 300
You have configured two routers (LondonA and LondonB) for OSPF routing. Serial0/0
on LondonA is connected to Serial0/1 on LondonB. The partial configuration of each
router is shown below:
When you check the routing table on LondonA, you find that it has not learned about
network 172.17.1.16 from LondonB. What is the problem?
Answer
Correct Answer:
The IP address assigned to Serial0/0 on LondonA is not on the same subnet as the IP
address assigned to Serial0/1 on LondonB.
Incorrect answer:
The areas defined in the network statements do not match.
You want to prevent all interfaces on a router from sending or responding to OSPF
Hello messages.
Answer
Correct Answer:
passive-interface default
ipv6 unicast-routing
You are configuring OSPF for Area 0. SubnetA uses an address of 172.16.20.48/28.
Which wildcard mask value would you use for the network statement?
Answer
255.255.255.224
0.0.0.240
255.255.255.240
Correct Answer:
0.0.0.15
0.0.0.207
0.0.0.28
You are configuring OSPF for a single router with two interfaces, as shown in the
image.
Which network statement(s) would you use to configure both interfaces for OSPF for
area 0?
Answer
Correct Answer:
network 192.168.1.64 0.0.0.31 area 0
network 192.168.1.128 0.0.0.15 area 0
network 192.168.1.0 0.0.0.255 area 0
You want to configure OSPF to run only on the interface with an IP address of
10.1.1.112/26, and you want to associate the interface with Area 3. Which of the
following commands will accomplish your goal?
Answer
Correct Answer:
network 10.1.1.64 0.0.0.63 area 3
You have configured two routers (LondonA and LondonB) for OSPF routing. Serial0/0
on LondonA is connected to Serial0/1 on LondonB. The partial configuration of each
router is shown below:
When you check the routing table on LondonA, you find that it has not learned about
network 172.17.1.16 from LondonB. What is the problem?
Answer
Incorrect answer:
The areas defined in the network statements do not match.
The IP address assigned to Serial0/0 on LondonA is not on the same subnet as the IP
address assigned to Serial0/1 on LondonB.
Correct Answer:
Wildcard mask values for the network statements are incorrect.
You have configured OSPF routing on RouterA. A partial configuration is shown below:
hostname RouterA
!
interface FastEthernet 0/0
ip address 172.16.1.65 255.255.255.224
duplex auto
speed auto
!
interface FastEthernet 0/1
ip address 172.16.1.97 255.255.255.240
duplex auto
speed auto
!
interface Serial 0/1/0
ip address 10.21.177.85 255.255.255.252
encapsulation ppp
!
router ospf 100
network 172.16.0.0 0.0.255.255 area 0
network 10.0.0.0 0.0.0.255 area 0
auto-cost
!
RouterA is connected to RouterB through the serial link. What routes will RouterB have
in its routing table that it has learned from RouterA?
Answer
172.16.1.0/24
172.16.1.64/25
172.16.1.64/26
172.16.0.0/16
Correct Answer:
172.16.1.64/27 and 172.16.1.96/28
One of the interfaces in a router with OSPF enabled is connected to a network link
where no other routers reside.
You want to prevent this interface from sending OSPF Hello messages, as there are no
other routers on that network to respond.
Answer
Correct Answer:
passive-interface <type> <number>