From af4b816bef839351f8792b3d31e6d52c3b410d6c Mon Sep 17 00:00:00 2001 From: sam Date: Tue, 19 May 2026 07:51:41 -0700 Subject: [PATCH] Fix GoBGP BMP target: use host IP, not collector hostname MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit GoBGP's BMP config requires a literal IP — 'obmp-collector' failed to parse and the container crash-looped. Point BMP export at the docker host IP (10.40.40.202) where the collector publishes port 5000; stable across container recreation. Co-Authored-By: Claude Opus 4.7 (1M context) --- gobgp/gobgpd.conf | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/gobgp/gobgpd.conf b/gobgp/gobgpd.conf index 0041ac3..2005e92 100644 --- a/gobgp/gobgpd.conf +++ b/gobgp/gobgpd.conf @@ -58,13 +58,15 @@ afi-safi-name = "ipv6-unicast" # --- BMP export to the OpenBMP collector ------------------------------------ -# GoBGP connects OUT to the collector. "obmp-collector" resolves on the shared -# compose network; port 5000 is the collector's BMP listener. +# GoBGP connects OUT to the collector. GoBGP's BMP config requires a literal +# IP (it cannot resolve a hostname), so we target the docker host IP where the +# collector publishes port 5000 -- stable across container recreation, unlike +# the collector's internal docker IP. Matches HOST_IP in .env. # route-monitoring-policy = "pre-policy" exports the Adj-RIB-In (received # routes, pre import-policy) -- consistent with the rest of the OpenBMP fleet. [[bmp-servers]] [bmp-servers.config] - address = "obmp-collector" + address = "10.40.40.202" port = 5000 route-monitoring-policy = "pre-policy" statistics-timeout = 3600