Difference between revisions of "VPP/Progressive VPP Tutorial"
From fd.io
< VPP
(Created page with "== Intro == == Installation == == Interfaces == === Configure Interfaces === === Verify Interfaces === === Test Interfaces === == Topology == === Configure Topology ===...") |
(→Installation) |
||
Line 1: | Line 1: | ||
== Intro == | == Intro == | ||
− | == | + | == Excercise 1: Install vpp == |
+ | |||
+ | This tutorial is using a special packaging of vpp called vpp_lite that allows you to run multiple vpp processes simultaneously. We will be building topologies of these vpp processes to allow us to perform labs which require multiple instances of 'routers' or 'switches'. Because of this, we will be getting our vpp packages from a slightly non-standard apt repository. | ||
+ | |||
+ | === Add key for apt repo === | ||
+ | |||
+ | <code> | ||
+ | curl -L https://packagecloud.io/fdio/tutorial/gpgkey | sudo apt-key add - | ||
+ | </code> | ||
+ | |||
+ | === Add repo to apt sources.list.d === | ||
+ | |||
+ | With your favorite text editor (and sudo), create a file: | ||
+ | |||
+ | <code> | ||
+ | /etc/apt/sources.list.d/fdio_tutorial.list | ||
+ | </code> | ||
+ | |||
+ | containing | ||
+ | |||
+ | <code> | ||
+ | deb https://packagecloud.io/fdio/tutorial/ubuntu/ xenial main | ||
+ | deb-src https://packagecloud.io/fdio/tutorial/ubuntu/ xenial main | ||
+ | </code> | ||
+ | |||
+ | === apt-get install vpp === | ||
+ | |||
+ | Run | ||
+ | <code> | ||
+ | sudo apt-get install vpp | ||
+ | </code> | ||
== Interfaces == | == Interfaces == |
Revision as of 22:51, 28 January 2017
Contents
Intro
Excercise 1: Install vpp
This tutorial is using a special packaging of vpp called vpp_lite that allows you to run multiple vpp processes simultaneously. We will be building topologies of these vpp processes to allow us to perform labs which require multiple instances of 'routers' or 'switches'. Because of this, we will be getting our vpp packages from a slightly non-standard apt repository.
Add key for apt repo
curl -L https://packagecloud.io/fdio/tutorial/gpgkey | sudo apt-key add -
Add repo to apt sources.list.d
With your favorite text editor (and sudo), create a file:
/etc/apt/sources.list.d/fdio_tutorial.list
containing
deb https://packagecloud.io/fdio/tutorial/ubuntu/ xenial main
deb-src https://packagecloud.io/fdio/tutorial/ubuntu/ xenial main
apt-get install vpp
Run
sudo apt-get install vpp