arXiv:2610.29625cs.NIOct 2026

Manuscript Offprint

arXiv:2610.29625

A DIY DPDK Software Router for Networking Education

Sebastian Gallenmüller, Stefan Lachnit, Manuel Simon

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Sebastian Gallenmüller ID^{ID}

Technical University of Munich

Garching near Munich, Germany

gallenmu@net.in.tum.de

Stefan Lachnit ID^{ID}

Technical University of Munich

Garching near Munich, Germany

lachnit@net.in.tum.de

Manuel Simon ID^{ID}

Technical University of Munich

Garching near Munich, Germany

simonm@net.in.tum.de

Abstract—High-performance packet processing frameworks, such as the Data Plane Development Kit (DPDK), are widely used in modern network systems, yet they are rarely integrated into networking curricula. As a result, students often lack exposure to the performance considerations and low-level design choices that shape real-world packet processing systems.

We describe a semester-long course project in which students implement a do-it-yourself (DIY) software router using DPDK in a master-level computer networking course. The project guides students through the design and implementation of a multithreaded router, the development of a routing table data structure, and the evaluation of forwarding performance using standard benchmarking tools. We present the project structure and the virtualized infrastructure used to support classes of realistic size.

Based on several iterations of the course and survey feedback from participating students, we discuss the observed workload, learning outcomes, and challenges of teaching high-performance packet processing. We release the project material and scripts to recreate the infrastructure, enabling reuse and further refinement by the community.

Index Terms—DPDK, Software router, Network education

I. INTRODUCTION

Software-based approaches are key drivers for innovation in the field of computer networks. Concepts such as OpenFlow, P4, or Network Function Virtualization allow programmability of network devices for actors outside the realm of the traditional network equipment manufacturers. This newfound flexibility and accessibility enables the rapid creation of prototypes for experimental network research and education. To provide hands-on experience with the application of Software-Defined Networking (SDN) concepts in an educational environment, several frameworks have been developed, including the network emulator Mininet [1] or the Mininet-based P4 software switches bmv2 [2] and P4Pi [3].

A prerequisite for developing software-driven approaches is the availability of high-performance platforms and frameworks. Although the previously mentioned tools provide a functional sandbox environment, their reliance on emulation [1], [2] or Raspberry Pi hardware [3] was not intended to deliver the performance required for real-world scenarios. Important factors, such as multicore scalability or other low-level optimizations, are not reflected in these frameworks, creating a gap between what is taught in networking classes and what is relevant in real-world contexts.

Our key educational contribution demonstrates how production-grade packet processing can be integrated into a scalable university course without sacrificing realism or manageability. Therefore, we designed a project combining software-based packet processing with performance-relevant aspects. The semester-long course project is offered alongside the master-level lecture Advanced Computer Networking (ACN) at the Technical University of Munich, complementing the theoretical concepts of the lecture with practical implementation and evaluation. The target audience for ACN comprises computer science students with prior knowledge of computer networks, who have chosen computer networks as a focus area. As part of this focus area, ACN covers selected topics in depth, in particular, network measurements, performance analysis, and programmable networking. The software router project has been designed as a challenge for students in this focus area, introducing them to the topics, tools, and techniques actively used in networking research. The clearly targeted audience allowed us to make design decisions for the router project without compromises or abstractions used for a network fundamentals course for inexperienced students. In the course project, students implement a software router using the Data Plane Development Kit (DPDK), an established framework for high-performance packet processing. Routing is a core networking function, but sustaining throughput at millions of packets per second requires addressing challenges in scalable software design, low-level Layer-2 and Layer-3 protocols, and performance-critical routing data structures. Together, these challenges make routing a non-trivial and educational problem for students.

In this work, we aim to achieve the following educational goals: (1) enable students to design and implement a complete software router in a one-semester course project, applying important concepts taught in a master-level course on computer networks, such as SDN or high-performance packet processing; (2) expose students to production-grade packet processing by working with the DPDK framework, allowing them to apply performance-critical design decisions, involving multithreaded architectures, memory management, or multiqueue NICs, which are typically abstracted away in other educational exercises, limiting students' exposure to real-world performance trade-offs; (3) create an infrastructure for the students to develop and test their software routers in a real-world environment that scales for course sizes with 30 students or more; (4) foster students' practical system skills by enabling them to implement low-level protocol processing and routing data structures, and evaluate forwarding performance using standard benchmarking tools.