Skip to content

Instantly share code, notes, and snippets.

@krsna1729
Last active July 26, 2019 18:06
Show Gist options
  • Save krsna1729/71b70e5a348421d952ec92f89cd25487 to your computer and use it in GitHub Desktop.
Save krsna1729/71b70e5a348421d952ec92f89cd25487 to your computer and use it in GitHub Desktop.
bess quickstart

Quickstart

Pre-req

  • docker installed
curl -fsSL https://get.docker.com | sh
systemctl enable --now docker
  • hugepages enabled and mounted
  • devices bound to vfio-pci or igb_uio for DPDK

Install/Run

git clone https://github.com/NetSys/bess.git
cd bess
./container_build.py bess
sudo ./bin/bessd -k
docker run --rm -it -v $PWD:/opt/bess --net=host krsna1729/bessctl:anil bessctl

Operate

In the bess shell localhost:10514 $

run port/macswap
show pipeline
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment