Files
ferrix/docs/lab/prod/on-router/bird-ferrix-local.conf
T

24 lines
907 B
Plaintext

# Replaces "protocol bgp ferrix" in bird.conf when ferrix runs on this host.
# Only the addresses and "multihop" differ from the WireGuard version; the
# import filter and everything about export control stay as they are.
#
# Without "multihop" BIRD looks for the neighbour on a directly connected
# network, cannot find ::1 there, and disables the protocol with
# "Error: Invalid next hop". After fixing that, `birdc enable ferrix` if a
# reconfigure does not bring it back by itself.
protocol bgp ferrix
{
description "ferrix_bgp teaching lab (announce only, same host)";
local ::1 as 210036;
neighbor ::1 as FERRIX_ASN;
# Both ends are this machine, so there is no directly connected
# neighbour for "direct" (the eBGP default) to find.
multihop;
passive on;
ipv6 {
import filter ferrix_import;
import limit 130 action block;
export none;
};
}