OSPF Passive Interface

  • OSPF Passive Interface allows you to disable the sending of Hello packets on a specific interface.

    It sounds useful, but why would someone actually need to do that?
    By default, OSPF sends Hello packets on all interfaces included in the OSPF Routing Process.

    OSPF Hello packets sent by R1 on all interfaces, including to PC1, before using passive interface.

    Figure 1 – OSPF Sending Hello Packets on All Interfaces by Default

    However, not every interface needs to form OSPF neighbor relationships.

    Take for example an interface connected to an end host, like a PC1 in our diagram. There’s no other router on the other side, so forming a neighbor relationship is unnecessary. Sending Hello packets in that case is simply a waste of resources.

    Here’s the catch:
    If you completely disable OSPF on the interface, the subnet will no longer be advertised and that breaks OSPF routing.

    That’s where the Passive Interface feature comes in, it lets you keep the subnet in the OSPF database while preventing neighbor formation on that interface.

    Answer the question below