Incorrect iBGP next hop in bird2

Ondrej Zajicek santiago at crfreenet.org
Tue Dec 22 16:34:25 CET 2020


On Mon, Dec 21, 2020 at 05:15:43PM +0000, Юрий Иванов wrote:
> Hi,
> 
> Neighbor sends me a bunch of /32 host routes and all routes received from 10.0.0.6 neigbor has next hop 50.0.0.254.
> 
> bird> sh route
> Table master4:
> 0.0.0.0/0            unicast [default_route 15:23:28.170] * (200)
>         via 50.0.0.254 on vlan1
> 10.107.1.81/32       unicast [downlink1 16:59:19.320 from 10.0.0.6] * (100/?) [i]
>         via 50.0.0.254 on vlan2
> 
> To fix this I can add direct option to me BGP neigbor, but I wonder why this even happens.
> Is there more correct eay to fix this?

Hi

You do not have direct routes in BIRD routing table, so BGP next hop
10.0.0.6 is resolved by default route to 50.0.0.254. Just add 'direct'
protocol.

-- 
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