Merry Christmas & Happy 2027! Less downtime. More good times. Celebrating 13 years of sorlavit.com
Skip to content
Sorlavit KimIT Support, Network & Infrastructure Services Let’s talk

ปุ่มแปลไทยจะเปิดบทความผ่าน Google Translate เพื่อแปลอัตโนมัติ โดยคงโค้ดและคำสั่งไว้ตามต้นฉบับ

Network & Infrastructure / OSPF & Underlay Convergence

OSPF E1 versus E2 external metrics and unexpected exits

A router selects a distant redistribution point even though a nearer point advertises the same external destination. Comparing interface cost alone does not explain external-path selection.

Compiled for Sorlavit Kim · Published · Updated · 2 min read

Environment and inputs: OSPFv2 IPv4 underlays, with OSPFv3 explicitly identified where used; timers and diagnostics vary by platform. Diagnostic/design example; not tested on production equipment.

Collect the evidence

Record external route type, external metric, internal cost to each ASBR or forwarding address and route preference. Check competing advertisements for the exact destination and prefix length.

Explain the result

Type-1 external cost includes the internal path contribution, while type-2 comparison emphasizes the external metric and uses internal distance in relevant tie-breaking cases. Different types are not interchangeable.

Plan the fix

Define whether internal distance should influence the external exit choice. Correct the redistribution metric type and values for the intended prefix class rather than changing unrelated underlay costs.

Check the result and rollback

Validate selection from several source areas and after loss of either exit. Revert if the change attracts traffic to a less capable ASBR or alters unrelated external services.

Source & further reading

FRRouting — OSPFv2

RFC 2328 — OSPFv2

Independently written summary reviewed on 2026-11-01. The example illustrates a possible application; it is not a client case study.

Share this article

Back to all articles