OPNsense Forum

English Forums => General Discussion => Topic started by: mokaz on October 02, 2025, 12:32:32 PM

Title: Conditional BGP redistribution of static routes
Post by: mokaz on October 02, 2025, 12:32:32 PM
Hi there,

I'm trying to figure out how could I conditionally redistribute static routes (present on ONS_2 in my uploaded representation) within BGP.
The static routes at ONS_2 are tied to a gateway entry (=host ip_forward=1 in my representation), gateway entry which has a Monitor IP set.

ons_bgp_static.png

My goal would be to possibly redistribute these routes within BGP only and if the Monitored IP is up.
Any hints at enabling this?

Thanks a lot,
Regards