P4 Tutorial at NANOG 75

A presentation by the P4 Education Working Group at NANOG 75.

Held at the Hyatt Regency San Francisco on Tuesday, February 19, 2019, 4:00-6:00pm.

Register Here!


  • Andy Fingerhut (Cisco Systems)
  • Antonin Bas (Barefoot Networks)


We have created a Docker image that has all of the software needed to complete the tutorial exercises already installed.

  • To download the Docker image:
    1. Install Dockerhttps://www.docker.com

      You may also find the instructions at the following links useful:

      When installing on Ubuntu, make sure you do the optional step 2 (“Executing the Docker Command Without Sudo”).

    2. Clone the p4app repository:git clone --branch p4app --recurse-submodules https://github.com/p4lang/tutorials
    3. Change directory to the first exercise:cd tutorials/p4app-exercises/basic.p4app
    4. Try running the first example. This will download the docker image and store it locally, so you will have it ready for the event. You should see a mininet prompt (mininet>) at the end:make run