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