network/roles/exit
Timotej Lazar 5a9f0ac26a exit: strip own AS prefix from routes received by firewalls
For some reason routes with own ASN are not imported into default VRF.
Maybe also others. These routes forward packets through the firewalls.
As long as both exits are up this is not a problem, because routes
going to peer exit don’t include this exit’s own ASN.

If the peer goes down, all remaining routes sent by firewalls have our
own ASN and are not imported into default VRF, so L3 servers lose
connectivity to internal networks.

If the exit strips own ASN from received routes, importing works OK.
We strip both our and peer’s ASNs to keep path lengths the same.

This has involved an indecent amount of poking knobs and knobbing
pokes and it might cause other issues elsewhere.
2024-09-21 16:32:28 +02:00
..
files exit: enable forwarding directed broadcasts for WoL 2024-09-18 14:27:30 +02:00
handlers Initial commit, squashed 2023-12-18 12:55:47 +01:00
meta Initial commit, squashed 2023-12-18 12:55:47 +01:00
tasks exit: enable forwarding directed broadcasts for WoL 2024-09-18 14:27:30 +02:00
templates exit: strip own AS prefix from routes received by firewalls 2024-09-21 16:32:28 +02:00