Deterministic Network Interface Naming on Multi-NIC Linux Systems: A Boot-Time Convergence Approach
Abstract
Network interface naming on multi-NIC Linux systems suffers from a well-documented race condition in systemd-udevd that has remained unsolved since 2017. When multiple network interfaces are present, parallel udev worker threads attempt to rename interfaces simultaneously, causing EEXIST failures when a target name is temporarily occupied by another interface awaiting its own rename. The upstream systemd project has classified this as "not-a-bug" and declines to implement a fix. The problem, previously cosmetic under NetworkManager, has become critical as the industry migrates to systemd-networkd, which matches interfaces by name rather than MAC address, turning a failed rename into a complete loss of network connectivity. This paper presents a boot-time convergence approach that combines systemd .link file declarations with a retry-based init service that detects and recovers from rename failures before dependent services start. Deployed across diverse multi-NIC hardware configurations, the solution achieves 100% deterministic interface naming. The approach is OS-agnostic and applicable to any systemd-based Linux distribution.
Create a lesson
Metadata
- Comments
- 10 pages, 2 figures
Related papers
Aegis OS: A Transactional Multi-Tenant Operating System Runtime for Eliminating Authorization Fatigue in Autonomous Coding Agents
Shared title terminologycs.OSHui Zhao
Mole: Tier-Specific Hotness Profiling Driven Memory Tiering for Multi-Tiered Memory Systems
Shared title terminologycs.OSMingyang Liu, Congming Gao, Xufeng Yang et al.
Awkernel: RTOS Bridging DAG Scheduling Theory and Component-Oriented Real-Time Systems Practice
Shared title terminologycs.OSAtsushi Yano, Ryo Nishimura, Yutaro Kobayashi et al.
Edge-Based QoS-Aware Adaptive Task Placement: A Closed-Loop Control in Multi-Robot Systems
Shared title terminologycs.OSThien Tran, Jonathan Kua, Thuong Hoang et al.
Ensuring Deterministic Timing in a Federated GNSS Correction Pipeline with Lingua Franca
Shared title terminologycs.OSTejeswini Jayaramareddy, Hokeun Kim, Hoeseok Yang
Continuum: Efficient and Robust Multi-Turn LLM Agent Scheduling with KV Cache Time-to-Live
Shared title terminologycs.OSHanchen Li, Runyuan He, Qiuyang Mang et al.