Design and Simulation of Fault-Tolerant Network Switching System Using Python-Based Algorithms

📅 2025-08-19
📈 Citations: 0
✨ Influential: 0
📄 PDF
🤖 AI Summary
To address data flow disruptions caused by link failures and congestion in medium-scale enterprise LANs, this paper proposes a lightweight, scalable fault-tolerant switching architecture. We construct a dynamic topology model using NetworkX and simulate link failures and traffic congestion via Scapy. Based on this, we design and implement adaptive fault detection, fast path rerouting, and traffic scheduling algorithms. The system enables controller-free, protocol-agnostic millisecond-scale automatic failover. Experimental evaluation demonstrates that under single-link failure and sudden congestion scenarios, the packet delivery ratio remains above 99.2%, the average recovery time is below 80 ms, and packet loss is reduced by 92% compared to conventional non-fault-tolerant approaches. These results significantly enhance network robustness and service availability.

Technology Category

Planning, Routing, and Scheduling: Scheduling under UncertaintyNatural Language Processing: Safety and RobustnessMachine Learning: Scalability of ML Systems

Application Category

Systems and Infrastructure for Web, Mobile and WoT: Web performance, measurement, and characterizationGraph Algorithms and Modeling for the Web: Efficient manipulation of static and dynamic Web-related graphsSecurity and Privacy: Large-scale security measurements
📝 Abstract
Ensuring uninterrupted data flow in modern networks requires robust fault-tolerant mechanisms, especially in environments where reliability and responsiveness are critical. This paper presents the design and simulation of a fault-tolerant network switching system using Python-based algorithms. A simulated enterprise-level Local Area Network (LAN) was modeled using NetworkX to represent switch-router interconnectivity with redundant links. Fault scenarios, including link failure and congestion, were injected using Scapy, while automatic failover and rerouting were implemented via custom Python logic. The system demonstrates resilience by dynamically detecting path failures, redistributing network traffic through redundant links, and minimizing downtime. Performance evaluations reveal significant improvements in packet delivery continuity, faster recovery times, and reduced packet loss compared to non-fault-tolerant baselines. The implementation provides a scalable and lightweight approach to integrating fault-tolerance features into mid-scale networks, with potential application in enterprise information technology infrastructures and academic simulations.
Problem

Research questions and friction points this paper is trying to address.

Designing fault-tolerant network switching for uninterrupted data flow
Simulating link failure and congestion scenarios in enterprise LANs
Implementing automatic failover using Python algorithms for resilience
Innovation

Methods, ideas, or system contributions that make the work stand out.

Python-based fault-tolerant network switching system
NetworkX and Scapy for simulation and fault injection
Dynamic failover and rerouting via custom algorithms
🔎 Similar Papers
No similar papers found.
Joseph Sarwuan Tarka University | University of Mkar | Fidei Polytechnic Gboko
T
Terlumun Gbaden
Department of Computer Science, College of Physical Sciences, Joseph Sarwuan Tarka University, Makurdi
M
Mterorga Ukor
Department of Mathematics and Computer Science, University of Mkar, Mkar Gboko Benue State
G
Grace Erdoo Ateata
Department of Computer Science, Fidei Polytechnic Gboko, P.M.B. 185, Gboko