os-frr: no route map for redistributed bgp in RIP possible

Started by ednt, August 05, 2026, 06:35:28 PM

Previous topic - Next topic
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?

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, 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.

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

OPNsense 26.1.10-amd64 running on ESXi 6.7 U2 VM, 4Gbytes RAM, 2 x vCPU
frr OSPF + eBGP, IDS, AdGuard Home, mDNS proxy, sftp-backup plugins. OpenVPN, kea DHCP server deployment.