Skip to main content
FieldTypeDescriptionValue(s)
namestringName of the BGP routing instance.
vrfstringLinux VRF link used by this routing instance. If unset, the default routing domain is used.
localASNuint32Local autonomous system number for the BGP instance.
routerIDAddrBGP router-id. If not set, it is derived from the first advertised address.
routeSourceAddrPreferred source address set on routes installed from BGP (the kernel route src / RTA_PREFSRC,
equivalent to FRR’s ip protocol bgp route-map SETSRC). If not set, the kernel selects the source address.
advertise[]stringNames or aliases of the links whose addresses are originated into BGP as host routes (/32, /128).
multipathboolEnable ECMP (multipath) for routes learned from multiple neighbors. Defaults to false.
maxPathsuint8Maximum number of ECMP next-hops to install. Zero uses the implementation default.
installRoutesboolInstall routes learned from BGP neighbors into the Linux routing table. Defaults to true.
When false, learned routes remain in this instance’s BGP RIB and can still be selected by
importRoutes, but Talos does not install them into the Linux FIB.
importRoutesBGPImportRouteSelected routes to import from other BGP instances. Imports are one-way: matching best paths
learned from each source instance are preserved and advertised by this instance with its own
next hop. Locally originated and previously imported paths are not recursively imported.
Selectors in a single target instance must not overlap, giving each imported prefix one source.
neighborsBGPNeighborConfigBGP neighbors in this routing instance.

importRoutes[]

BGPImportRoute selects routes learned by another BGP instance for one-way import.
FieldTypeDescriptionValue(s)
bgpInstancestringName of the source BGP instance.
prefixes[]PrefixCIDR selectors. A learned route matches when it is contained by one of these prefixes.

neighbors[]

BGPNeighborConfig configures a concrete BGP neighbor.
FieldTypeDescriptionValue(s)
addressAddrNeighbor IP address for a numbered session. Mutually exclusive with link.
linkstringLink name or alias for an unnumbered (IPv6 link-local) session. Mutually exclusive with address.
peerASNuint32Expected peer ASN. Zero accepts any ASN advertised by the peer (eBGP “external”).
localASNuint32Local ASN override for this neighbor. Zero uses the instance local ASN.
passiveboolWait for the neighbor to establish the connection instead of initiating it.
holdTimeDurationBGP hold time for this neighbor. Zero uses the implementation default.
bfdBGPBFDConfigBFD (Bidirectional Forwarding Detection) settings for this neighbor.
The presence of this block enables BFD; an empty block uses the implementation defaults.
BFD is supported only when the BGP instance uses the default routing domain, not a VRF.

bfd

BGPBFDConfig configures BFD for a BGP neighbor.
FieldTypeDescriptionValue(s)
transmitIntervalDurationDesired minimum transmit interval. Zero uses the implementation default.
receiveIntervalDurationRequired minimum receive interval. Zero uses the implementation default.
detectMultiplieruint8BFD detection multiplier. Zero uses the implementation default.