ICND2: Interconnecting Cisco Networking Devices Part 2 (legacy) — Question 42
Which configuration enables OSPF for network 192.168.1.0/24?
Answer options
- A. router ospf router-id 192.168.1.0
- B. router ospf 1 network 192.168.1.0 255.255.255.0 area 0
- C. router ospf 1 neighbor 192.168.1.0
- D. router ospf 1 area 0 virtual-link 192.168.1.0
Correct answer: B
Explanation
Option B is correct because it specifies the OSPF process number, the network address, the subnet mask, and the area, which is necessary for enabling OSPF on that network. Option A incorrectly sets the router ID, while Option C defines a neighbor rather than enabling OSPF on a network. Option D is related to virtual links, which are not required for enabling OSPF on a specific network.