gateway recursive

Ondrej Zajicek santiago at crfreenet.org
Thu Aug 10 00:28:00 CEST 2017


On Mon, Aug 07, 2017 at 06:49:56PM +0300, Mikhail Mayorov wrote:
> Hi all!
> 
> Please help me with recursion to caclulate bgp_next_hop using IGP.
> I have 2 router "A" and "B" connected to each other via iBGP. Each of the
> routers has connection to the outside world in different AS and get full
> view. "A" has a eBGP session to the neighbor "A2" and "B" has a eBGP session
> to the neighbor "B2". I configure "gateway recursive; direct;" on iBGP.
> In this case, all the routes from the A2 got to B via A are as unreachable.

Hi

Recursive routes are supposed to be resolved through IGP routes, they
cannot be resolved through routes that are also recursive (to avoid
multiple levels of recursion and cycles). You could set 'next hop self'
so bgp_next_hop is directly 95.174.97.1, or just do not use
'gateway recursive' in this case.

-- 
Elen sila lumenn' omentielvo

Ondrej 'Santiago' Zajicek (email: santiago at crfreenet.org)
OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net)
"To err is human -- to blame it on a computer is even more so."


More information about the Bird-users mailing list