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.
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 126.96.36.199, or just do not use
'gateway recursive' in this case.
Elen sila lumenn' omentielvo
Ondrej 'Santiago' Zajicek (email: santi...@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."