Infrastructure

R1's GigabitEthernet0/2 connects only to user PCs. The 10.2.2.0/24 subnet must stay in OSPF, but R1 must form no adjacencies on this interface. Which configuration achieves this?

Show the answer

Correct answerC. passive-interface GigabitEthernet0/2

AWhy not this: Removing the network statement stops OSPF from advertising the subnet at all.

BWhy not this: Priority 0 only prevents DR or BDR election; the interface still sends hellos and can form adjacencies.

CWhy this is right: Passive-interface stops hellos but still advertises the interface's subnet in OSPF.

DWhy not this: A point-to-point network type changes hello and DR behavior but still sends hellos and forms neighbors.

Under router ospf, passive-interface suppresses hellos on the interface, so no adjacency forms, while the connected subnet is still advertised. Setting priority 0 only removes DR eligibility, so hellos are still sent and adjacencies can still form.