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/gobgpand configuration fileconfig/gobgp/gobgpd.yml.Set settings into
config/gobgp/gobgpd.ymlusing 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: 65002Add
gobgpmodule intodocker-compose.override.yml. Ifdocker-compose.override.ymlis absent you need to create it.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