0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-12-24 02:31:55 +00:00
bird/proto
Ondrej Zajicek (work) 532116e7e3 BGP: Do not prepend ASN in export from non-RS EBGP to RS EBGP
When route is exported to regular EBGP, local ASN should be prepended to
AS_PATH. When route is propagated by route server (between RS-marked
EBGP peers), it should not change AS_PATH. Question is what to do in
other cases (from non-RS EBGP, IBGP, or locally originated to RS EBGP).

In 1.6.x, we did not prepend ASN in non-RS EBGP or IBGP to RS EBGP, but
we prepended in local to RS EBGP.

In 2.0.x, we changed that so only RS-EBGP to RS-EBGP is not prepended.
We received some negative responses (thanks to heisenbug and Alexander
Zubkov), we decided to change it back. One reason is that it is simple
to modify the AS_PATH by filters, but not possible to un-modify
changes done by BGP itself. Also, as 1.6.x behavior was not really
consistent, the final behavior is that ASN is never prepended when
exported to RS EBGP, like to IBGP.

Note that i do not express an opinion about whether such configurations
are even reasonable.
2018-12-12 17:36:54 +01:00
..
babel Terminology cleanup: The import_control hook is now called preexport. 2018-12-04 10:53:01 +01:00
bfd No more warnings ... 2018-09-18 14:21:11 +02:00
bgp BGP: Do not prepend ASN in export from non-RS EBGP to RS EBGP 2018-12-12 17:36:54 +01:00
mrt The MRT protocol 2018-11-20 17:45:35 +01:00
ospf Update RFC references 2018-12-12 16:38:30 +01:00
pipe Terminology cleanup: The import_control hook is now called preexport. 2018-12-04 10:53:01 +01:00
radv Terminology cleanup: The import_control hook is now called preexport. 2018-12-04 10:53:01 +01:00
rip Nest: Do not hard-reset interface when preferred address is changed 2018-11-28 16:55:32 +01:00
rpki Config: Dropping CF_ADDTO. 2018-06-26 14:29:03 +02:00
static Lib: Add and use ev_new_init() 2018-10-01 15:55:23 +02:00
progdoc Doc: renamed progdoc files Doc -> progdoc to fix collision with doc/ folder on case-insensitive filesystems 2018-06-26 17:09:12 +02:00