]> git.ipfire.org Git - thirdparty/bird.git/commit
BGP: Extend 'next hop keep' and 'next hop self' options
authorOndrej Zajicek (work) <santiago@crfreenet.org>
Sun, 16 Dec 2018 22:44:24 +0000 (23:44 +0100)
committerOndrej Zajicek (work) <santiago@crfreenet.org>
Sun, 16 Dec 2018 22:44:24 +0000 (23:44 +0100)
commit1cab2b4a7cffb7ad604dcbd200267733ef079973
tree0874fe2787c5b05fc0d8259963a65960e6d816eb
parent337165959c5a556d6556fb2acbba5e7f2b1c35a5
BGP: Extend 'next hop keep' and 'next hop self' options

Extend 'next hop keep' and 'next hop self' options to have boolean values
(enabled / disabled) and also values 'ibgp'/ 'ebgp' to restrict it to
routes received from IBGP / EBGP. This allows to have it enabled by
default in some cases, matches features of other implementations, and
allows to handle some strange cases like EBGP border router with 'next
hop self' also doing IBGP route reflecting.

Change default of 'next hop keep' to enabled for route servers, and
'ibgp' for route reflectors.

Update documentation for these options.
doc/bird.sgml
proto/bgp/bgp.c
proto/bgp/bgp.h
proto/bgp/config.Y
proto/bgp/packets.c