bgpgg

Installation #

Pre-built Binaries #

Download the platform binary from https://github.com/bgpgg-org/bgpgg/releases

From Source #

Requires Rust

git clone https://github.com/bgpgg-org/bgpgg.git
cd bgpgg
make

Docker #

docker pull bgpgg/bgpgg

Quick Start #

Create config.yaml:

asn: 65000
router_id: "1.1.1.1"
peers:
  - address: "192.168.1.1"
    asn: 65001

Start the daemon:

./bgpggd -c config.yaml

Use the CLI:

./bgpgg peer list
./bgpgg global rib show

Docker #

Run with defaults:

docker run -d --name bgpggd -p 1790:179 bgpgg/bgpgg

Configure via environment variables:

docker run -d --name bgpggd -p 1790:179 \
  -e BGPGG_ASN=65001 \
  -e BGPGG_ROUTER_ID=2.2.2.2 \
  bgpgg/bgpgg

Use a config file:

docker run -d --name bgpggd -p 1790:179 \
  -v $(pwd)/config.yaml:/config.yaml \
  bgpgg/bgpgg -c /config.yaml

Use the CLI:

docker exec bgpggd bgpgg peer list
docker exec bgpggd bgpgg global rib show