OPNsense Forum

English Forums => High availability => Topic started by: KoNICEA on March 27, 2025, 05:43:18 PM

Title: [Solved] BGP Established but Routes Invalid
Post by: KoNICEA on March 27, 2025, 05:43:18 PM
Hi Guys,
i just configured a new BGP session.
The session's established and i get correctly the routes. However the routes are invalid and are not added to routing table.

Can someone help me?
I attached you the screens.
Really thanks.

Title: Re: BGP Established but Routes Invalid
Post by: KoNICEA on March 28, 2025, 11:49:56 AM
I found it.
I used different Subnet between Sites of VPN.

Site A
(169.254.10.0/24)
Site B
(169.254.20.0/24)

but I cannot use as Next-Hop an IP that I reach with routing. So the solution is create VPN with Single IP P2P

Site A
(169.254.10.1)
Site B
(169.254.10.2)


Read below
Title: Re: BGP Established but Routes Invalid
Post by: Patrick M. Hausen on March 28, 2025, 12:19:57 PM
Why are you using APIPA address space for your transfer network instead of RFC 1918?
Title: Re: BGP Established but Routes Invalid
Post by: KoNICEA on March 28, 2025, 12:58:29 PM
Quote from: Patrick M. Hausen on March 28, 2025, 12:19:57 PMWhy are you using APIPA address space for your transfer network instead of RFC 1918?

I saw an example on internet.
But now it doesn't work again... It doesn't have sense.
I tried with RFC 1918 also, but nothing... I don't know why...

Edit.
I just read that I should use GRE/IPIP interface... I try and will let know you
Title: Re: BGP Established but Routes Invalid
Post by: KoNICEA on March 29, 2025, 12:53:32 AM
Now it works.
I confirm that you have to: