announce private ip over bgp or ospf

Hello,
i have 3x private /24 and i want announce them between my routers and right now i am doing it with BGP so i want know the best way is announce it over BGP or create OSPF connection and do it by OSPF ? in my iBGP’s i have announce my 3x private ip + some /32 ips
so whats your suggestion and what is the best and standard for this?
thanks

Create new address family and vrf with new router distinguisher and route target for export and import through mp-bgp, attache interfaces to this vrf and redistribute these neworks into iBGP :slight_smile: At all the route though all bgp neighbores your new RD must be in routing filters as accepted.

Hi! I strongly recommend of using BGP for transporting your public IPs, but only as a complementary protocol keeping OSPF as an IGP within your network.