OPNsense Forum

Archive => 23.7 Legacy Series => Topic started by: harps on August 30, 2023, 11:20:37 AM

Title: Free range routing - BGP redistribution.
Post by: harps on August 30, 2023, 11:20:37 AM
Hi,

I have been using a null4 route in order to be able to announce a /24 to our upstreams. [the actual network is subnetted on the inside interface through the use of VLANs and CARP.]

Since upgrading to 23.7_3 FRR has stopped advertising this /24 route presumably because it is a kernel route.

However turning on kernel route redistribution did not solve the problem.

I had to create a connected interface in the /24 network and mask in order for the prefix to be advertised upstream.

We noticed that FRR has been upgraded in this release so was wondering if it was a bug?

Any advice greatfully received.

Thanks

Chris.
Title: Re: Free range routing - BGP redistribution.
Post by: harps on August 30, 2023, 01:14:05 PM
looks like network-import-check is broken:

When enabled (default), BGP only announces networks set at 'Network' if they are present in the routers routing table (alternatively, you can also set a null-route via System -> Routes). If disabled, all configured networks will be announced.

:o

Should I raise as a bug?
Title: Re: Free range routing - BGP redistribution.
Post by: npiersma on August 30, 2023, 11:56:11 PM
Hi Harps,
I am a heavy BGP user regarding OPNSense; however, all my installs are OPNSense business.

I know there is diff between OPNSense Business and the CE. Are you running the CE version or the OBE?

In case you're running the OBE, I am more than happy to assist.

Kind regards
Nils
Title: Re: Free range routing - BGP redistribution.
Post by: franco on August 31, 2023, 02:44:40 PM
This might be an issue with FRR being updated to version 8. The business edition still used version 7. Just so you guys are on the same page regarding possible causes.


Cheers,
Franco