An Improved OSPF Path-Selection Model Using Bandwidth, Delay, Congestion, and Packet Loss
DOI:
https://doi.org/10.54361/ajmas.261209Keywords:
OSPF;, Adapative Routing;, Routing Metrics;, Path Selection, Hysteresis;, MATLAB Simulation;Abstract
Open Shortest Path First (OSPF) normally selects routes using administratively configured interface costs, often derived from link bandwidth. Such costs do not automatically reflect short-term congestion, packet loss, or delay. This paper evaluates a four-router, two-path experimental model that augments a simplified OSPF bandwidth cost with delay, congestion, and loss penalties. Six preset MATLAB scenarios compare conventional and extended path metrics, examine sensitivity to network conditions, test a hysteresis rule, and model link failure. The baseline assigns equal costs of 2 to both paths, whereas the proposed metric chooses the lower path (5.03 versus 22.00). In the stability scenario, raw decisions change eight times, while a 1.2-unit hysteresis threshold yields zero changes. These are deterministic model outputs reconstructed from the supplied MATLAB code, not measured improvements in packet delivery, throughput, or Cisco router performance. The results support the feasibility of adaptive metric-based path selection and identify the validation steps needed before deployment.
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 Najat Alsamelghi

This work is licensed under a Creative Commons Attribution 4.0 International License.













