BGP interaction setup
You can use gobgp
from our docker registry if you need to announce prefixes via BGP.
Setup of BGP speaker
gobgp
is available on port defined by the environment variables:
COLLECTOR_BGP_PORT
(default:179
)
Setup instruction:
Create folder
config/gobgp
and configuration fileconfig/gobgp/gobgpd.yml
.Set settings into
config/gobgp/gobgpd.yml
using documentation.For example:
global: config: as: 64512 router-id: 192.168.255.1 neighbors: - config: neighbor-address: 10.0.255.1 peer-as: 65001 - config: neighbor-address: 10.0.255.2 peer-as: 65002
Add
gobgp
module intodocker-compose.override.yml
. Ifdocker-compose.override.yml
is absent you need to create it.version: "2.2" services: ... gobgp: command: ["/gobgpd", "-f", "/gobgp.d/gobgpd.yml"]
Run
gobgp
.docker-compose up -d
Execute command for applying config/gobgp/gobgpd.yml
changes without restarting gobgp
daemon:
docker-compose kill -s HUP gobgp