Difference between revisions of "VPP"

From HackerNet
Jump to: navigation, search
m
Line 5: Line 5:
 
  echo "deb https://nexus.fd.io/content/repositories/fd.io.dev/ ./" | sudo tee -a /etc/apt/sources.list.d/99fd.io.list
 
  echo "deb https://nexus.fd.io/content/repositories/fd.io.dev/ ./" | sudo tee -a /etc/apt/sources.list.d/99fd.io.list
 
  sudo apt-get update && sudo apt-get install vpp vpp-dpdk-dkms
 
  sudo apt-get update && sudo apt-get install vpp vpp-dpdk-dkms
 +
 +
Fedora
 +
sudo curl -o /etc/yum.repos.d/fdio.repo https://paste.fedoraproject.org/355177/60579220/raw/
 +
sudo dnf update && sudo dnf install vpp
  
 
==Konfiguration==
 
==Konfiguration==
 
  cat /etc/vpp/startup.conf
 
  cat /etc/vpp/startup.conf
  sudo start vpp
+
Service
 +
  sudo systemctl start vpp
 +
sudo systemctl status vpp
 +
 
 
VPP lyssnar default på tcp port 5000
 
VPP lyssnar default på tcp port 5000
 
  telnet 0 5000
 
  telnet 0 5000

Revision as of 20:41, 28 April 2016

Vector Packet Processing är en network packet processing stack för x86-hårdvara. Det kör en Linux user space process och har stöd för bl.a. IPSEC, GRE, VXLAN, MPLS, VRF, VLAN, Segment Routing. Denna mjukvara på en vanlig server kan bli en router/switch med väldigt hög throughput.

Installation

Debian/Ubuntu

echo "deb https://nexus.fd.io/content/repositories/fd.io.dev/ ./" | sudo tee -a /etc/apt/sources.list.d/99fd.io.list
sudo apt-get update && sudo apt-get install vpp vpp-dpdk-dkms

Fedora

sudo curl -o /etc/yum.repos.d/fdio.repo https://paste.fedoraproject.org/355177/60579220/raw/
sudo dnf update && sudo dnf install vpp

Konfiguration

cat /etc/vpp/startup.conf

Service

sudo systemctl start vpp
sudo systemctl status vpp

VPP lyssnar default på tcp port 5000

telnet 0 5000

VPP shell

show interface

Bash

sudo vppctl show ip arp