OPNsense Forum

English Forums => 26.7 Series => Topic started by: ednt on August 05, 2026, 06:35:28 PM

Title: os-frr: no route map for redistributed bgp in RIP possible
Post by: ednt on August 05, 2026, 06:35:28 PM
AI mentioned that I should set a route map in the section RIP for redistribution bgp:

router rip
 default-metric 5
 network x.x.x.x/24
 passive-interface vlan0.x
 passive-interface vlan0.y
 passive-interface vlan0.z
 redistribute bgp
 version 2
exit

-> redistribute bgp route-map Only_Default

Else all routes of the internet will flood the internal routers.

But I can not set a route-map in the RIP menue.

Is the AI corect?
How canI achieve this entry?
Title: Re: os-frr: no route map for redistributed bgp in RIP possible
Post by: pfry on August 06, 2026, 02:24:55 AM
Quote from: ednt on August 05, 2026, 06:35:28 PM[...]redistribute bgp route-map Only_Default[...]

I'd expect that form to be available (https://docs.frrouting.org/en/latest/ripd.html#how-to-announce-rip-route), but I'd have to have a good reason to redistribute much of anything into RIP.

Do you have another potential default route for RIP clients not through the firewall? If not, perhaps "default-information originate" into RIP would work.
Title: Re: os-frr: no route map for redistributed bgp in RIP possible
Post by: hharry on August 06, 2026, 03:18:45 AM
frr 10.6.1 ( currently used in both OPNsense and VYOS), supports  RIP routing to 'redistribute bgp route-map route_map_name'

I'm successfully used this in VYOS / FRR for years now.

It's an obvious OPNsense GUI config builder limitation, not implemented, even though FRR clearly supports it....

@ednt, you'll need to raise a github request to have it implemented in OPNsense GUI config builder...-> https://github.com/opnsense/core/issues