OSPF Link Types: Four Link Categories and Their Classification Basis

OSPF Link Types: Four Link Categories and Their Classification Basis

Verified Sources
Nov 3, 2026

Open Shortest Path First (OSPF) models an area’s intra-area topology using link-state advertisements (LSAs). In OSPFv2, the key structure for describing router connectivity inside an area is the Router LSA (Type 1), which contains four “link types” that describe how a router is connected to other nodes or networks within the same area: Point-to-point, Transit, Stub, and Virtual link.2

A useful way to remember the question being asked is:

  • “What are the four types of link defined by OSPF?” → the four Link Types carried in OSPFv2 Router-LSA Type 1.2
  • “What is the basis of classification?” → they’re classified according to what the link represents in the OSPF directed graph model: whether the router-to-network relationship corresponds to a single neighbor adjacency, a multi-access transit segment requiring a DR, a single-router (or host-like) segment, or a logical connection (virtual link) to maintain connectivity between areas.3

Key terms used below: Router LSA Transit network Stub network Virtual link.

Footnotes

  1. NetworkLessons.com: OSPF LSA Types Explained - Explains Router-LSA Type 1 and the four link types (point-to-point, transit, stub, virtual link). ↩ ↩2 ↩3

  2. NetworkLessons.com: OSPFv2 LSA Type 1 (Router LSA) - Provides detailed explanations of the four possible link types inside Type 1 Router-LSA (including stub vs transit). ↩ ↩2 ↩3

  3. Cisco Community (OSPF network modeling / transit vs stub explanation) - Explains transit vs stub networks using directed graph modeling; transit requires both incoming and outgoing edges. ↩

A Point-to-point link represents a connection from one router to a single remote router with a Full adjacency.2

In practice, this typically corresponds to serial or point-to-point WAN links (or point-to-point subinterfaces), where there is no DR/BDR election because there is no multi-access segment to coordinate.2

Basis in OSPF’s classification:

  • The OSPF topology model treats the edge as router-to-router via a direct physical (or logical) point-to-point relationship.2

Key terms: Point-to-point Full adjacency DR/BDR election.

Footnotes

  1. NetworkLessons.com: OSPFv2 LSA Type 1 (Router LSA) - Provides detailed explanations of the four possible link types inside Type 1 Router-LSA (including stub vs transit). ↩ ↩2

  2. NetworkLessons.com: OSPF LSA Types Explained - Explains Router-LSA Type 1 and the four link types (point-to-point, transit, stub, virtual link). ↩ ↩2

  3. Study-CCNA.com: OSPF Network Types (Point-to-Point vs Broadcast and timers/DR behavior) - Summarizes DR/BDR behavior and point-to-point behavior consistent with OSPF’s modeling of link types. ↩

  4. Cisco Community (OSPF network modeling / transit vs stub explanation) - Explains transit vs stub networks using directed graph modeling; transit requires both incoming and outgoing edges. ↩

A Transit network link models a multi-access network segment (e.g., Ethernet) where there is at least one router adjacency that functions as transit—i.e., traffic can pass through the segment between different routers.2

In OSPFv2, this is specifically tied to segments that lead to a Designated Router (DR) and Backup Designated Router (BDR) election, because OSPF represents the multi-access segment with a dedicated Network LSA (Type 2) originated by the DR.2

Basis in OSPF’s classification:

  • Classified as Transit when the connected network is multi-access with multiple routers and can carry traffic neither locally originated nor locally destined relative to the segment—thus behaving as a “through” node in the graph model.2

Key terms: Network LSA (Type 2) Designated Router (DR) Backup DR (BDR).

Footnotes

  1. Cisco Community (OSPF network modeling / transit vs stub explanation) - Explains transit vs stub networks using directed graph modeling; transit requires both incoming and outgoing edges. ↩ ↩2

  2. NetworkLessons.com: OSPF LSA Types Explained - Explains Router-LSA Type 1 and the four link types (point-to-point, transit, stub, virtual link). ↩ ↩2 ↩3

  3. NetworkLessons.com: OSPFv2 LSA Type 1 (Router LSA) - Provides detailed explanations of the four possible link types inside Type 1 Router-LSA (including stub vs transit). ↩

A Stub network link represents a connected network segment that has no adjacent neighbors (or equivalently, is effectively reachable as a “leaf” from the perspective of the graph model).

OSPF includes stub links in the Router LSA Type 1 so that other routers know how to reach that subnet, even if there are no additional OSPF routers on that segment.2

Important clarification:

  • “Stub network link type” is different from “stub area.” A stub link type refers to a kind of adjacency/graph leaf; a stub area is an area-level behavior (LSA filtering).2

Basis in OSPF’s classification:

  • Classified as Stub when the segment is modeled as having only incoming edges (i.e., no multi-router “transit” behavior), such as a loopback or a subnet connected to a single router.2

Key terms: Loopback Subnet mask in LSA.

Footnotes

  1. NetworkLessons.com: OSPF LSA Types Explained - Explains Router-LSA Type 1 and the four link types (point-to-point, transit, stub, virtual link). ↩ ↩2 ↩3 ↩4

  2. Study-CCNA.com: OSPF Network Types (Point-to-Point vs Broadcast and timers/DR behavior) - Summarizes DR/BDR behavior and point-to-point behavior consistent with OSPF’s modeling of link types. ↩

  3. NetworkLessons.com: OSPFv2 LSA Type 1 (Router LSA) - Provides detailed explanations of the four possible link types inside Type 1 Router-LSA (including stub vs transit). ↩

  4. Cisco Community (OSPF network modeling / transit vs stub explanation) - Explains transit vs stub networks using directed graph modeling; transit requires both incoming and outgoing edges. ↩

A Virtual link provides a way to maintain OSPF connectivity when an area is not directly connected to the backbone (Area 0) (commonly due to physical/logical topology constraints).

Conceptually, it creates a logical path segment that behaves like a backbone connection for the purpose of routing adjacencies between routers/areas.2

Basis in OSPF’s classification:

  • Classified as Virtual because it is not a physical “segment with neighbors” but a logical construct used to connect routing domains in OSPF’s hierarchical area model.2

Key terms: Area 0 Virtual link.

Footnotes

  1. NetworkLessons.com: OSPF LSA Types Explained - Explains Router-LSA Type 1 and the four link types (point-to-point, transit, stub, virtual link). ↩ ↩2 ↩3

  2. NetworkLessons.com: OSPFv2 LSA Type 1 (Router LSA) - Provides detailed explanations of the four possible link types inside Type 1 Router-LSA (including stub vs transit). ↩

  3. Wikipedia: Open Shortest Path First (OSPF) — overview of OSPF elements including point-to-multipoint and area model context - Provides background on OSPF operation and area hierarchy relevant to virtual links. ↩

  1. 1
    Step 1

    The four link types (1–4) are carried in Router-LSA Type 1 to describe how a router connects to neighbors/networks within the same area.

  2. 2
    Step 2

    If the link is modeled as connecting to one remote router with a full adjacency and no DR/BDR coordination, classify it as Point-to-point.

  3. 3
    Step 3

    If multiple routers share the segment and the segment participates as a “through” node, classify it as Transit network (tied to DR/Network-LSA Type 2).

  4. 4
    Step 4

    If the segment has no OSPF neighbors (or is effectively single-router reachability), classify it as Stub network.

  5. 5
    Step 5

    When the link is not physical connectivity but a logical backbone substitute for area connectivity, classify it as Virtual link.

Rule of thumb for quick recognition

If OSPF would need a DR/BDR election and represent the segment with a Network-LSA, think Transit network; if there are no OSPF neighbors on the segment, think Stub network.2

Footnotes

  1. NetworkLessons.com: OSPF LSA Types Explained - Explains Router-LSA Type 1 and the four link types (point-to-point, transit, stub, virtual link). ↩

  2. NetworkLessons.com: OSPFv2 LSA Type 1 (Router LSA) - Provides detailed explanations of the four possible link types inside Type 1 Router-LSA (including stub vs transit). ↩

Common confusion: “stub network” vs “stub area”

A Stub network (Link Type 3) is about the shape of the topology graph (leaf-like segment). A stub area is an area configuration that affects which LSAs are flooded/allowed.2

Footnotes

  1. NetworkLessons.com: OSPF LSA Types Explained - Explains Router-LSA Type 1 and the four link types (point-to-point, transit, stub, virtual link). ↩

  2. NetworkLessons.com: OSPFv2 LSA Type 1 (Router LSA) - Provides detailed explanations of the four possible link types inside Type 1 Router-LSA (including stub vs transit). ↩

FAQ: Basis of classification (what OSPF is really doing)

Knowledge Check

Question 1 of 4
Q1Single choice

In OSPFv2, the four “link types” are found primarily in which LSA?

References (footnotes)