Skip to main content


P4Pi: P4 on Raspberry Pi for Networking Education

P4Pi: P4 on Raspberry Pi for Networking Education

A P4 Education workgroup project

A collaboration between Radostin Stoyanov, Noa Zilberman (Oxford), Sándor Laki, Dávid Kis, Péter Vörös (ELTE) and Robert Soulé (Yale).


What is P4Pi?

P4Pi is a low cost, open source platform for computer networks teaching and research.

The platform is based on the Raspberry Pi board and uses the P4 programming language.

Why P4Pi?

Teaching computer networks should be cool and exciting.

For students to engage with networking, we want to provide hands-on experience and hardware based projects. Unlike software-based solutions, running on actual platforms provides realism, as well as a cool factor.

Existing programmable hardware solutions are too expensive, and don't allow educators to build labs of 20+ devices, nor for students to purchase one themselves. With P4Pi, we provide a platform that is cheaper than an academic book.

Who is P4Pi for?

P4Pi is aimed at networking educators, hobbyists and researchers.

The education materials are design for multiple university courses: from undergraduate introduction to networking course, to postgraduate advanced networking.

How do you pronounce P4Pi?

P4Pi is pronounced papi. In British pronunciation, this sounds like puppy, thus the cute logo!

Who runs P4Pi?

P4Pi is a project of the P4 Education Workgroup at


Please use the following reference to cite P4Pi:

"P4Pi: P4 on Raspberry Pi for Networking Education". Sándor Laki, Radostin Stoyanov, Dávid Kis, Robert Soulé, Péter Vörös and Noa Zilberman.
ACM SIGCOMM Computer Communication Review, Volume 51, Number 3, July 2021