Routing protocols and firmware

Babel explained

Babel (RFC 8966) is a loop-avoiding distance-vector routing protocol for wired and wireless networks: its metric, loop avoidance, babeld, and who uses it.

Updated 6 Nov 2026

What it is

Babel is specified in RFC 8966, a Standards Track document published in January 2021 by J. Chroboczek (IRIF, University of Paris-Diderot) and D. Schinazi (Google). It obsoletes RFC 6126 and RFC 7557. Its abstract calls it "a loop-avoiding, distance-vector routing protocol that is robust and efficient both in ordinary wired networks and in wireless mesh networks" (RFC 8966, read 2026-11-04).

The RFC says Babel is a hybrid protocol: it can carry routes for both IPv4 and IPv6, regardless of which of the two the Babel packets themselves travel over. It uses UDP port 6696, which IANA has registered under the name "babel".

For how it compares with the other protocols, see the routing protocol comparison, the batman-adv vs Babel page and how mesh routing works. The glossary has a short entry for Babel.

How it works

Distance-vector. Each router tells its neighbours how far it is from each destination, and picks the neighbour that offers the lowest total. RFC 8966 describes this as based on the Bellman-Ford algorithm, "just like the venerable RIP", with refinements that stop loops forming or make them disappear quickly. A router does not hold a map of the whole network.

Costs add up. For each pair of neighbours Babel computes an abstract cost for the link. The metric of a route is "the sum of the costs of all the links along the route", and costs need not be integers (RFC 8966 section 2.1). How a node arrives at a cost is a local decision: the RFC gives example algorithms in its Appendix A but does not require one.

Hello and IHU. A node periodically sends Hello messages to its neighbours and sends an IHU ("I Heard You") message to each neighbour it has recently heard a Hello from. A node combines what it hears from a neighbour to compute the cost of the link to it. The other message types are Update, Route Request and Seqno Request (RFC 8966 sections 2 and 4).

Periodic and triggered updates. Nodes send route updates on a schedule, and may also send an unscheduled "triggered update" when a major topology change is detected (RFC 8966 section 2.2). That makes Babel proactive.

Link cost on wired and wireless links

Appendix A of the RFC gives two ways to turn Hello history into a cost.

  • k-out-of-j, for wired links. It suits links that are either up, "in which case they only occasionally drop a packet, or down, in which case they drop all packets". The node keeps a history of the last j Hellos and treats the link as up if at least k arrived.
  • ETX, for wireless links. The RFC says that "naive application of hop-count routing in networks that use wireless links for transit tends to select long, lossy links in preference to shorter, lossless links, which can dramatically reduce throughput", so a protocol for wireless links "must perform some form of link quality estimation". It describes the Expected Transmission Cost algorithm (ETX) as designed to work well with the IEEE 802.11 MAC, using the loss rate of multicast Hellos as the estimate of link quality. See the glossary entry for ETX.

The RFC calls these examples. An implementation may use something else, and different nodes may use different strategies.

How it avoids loops

Plain distance-vector protocols can form routing loops while they reconverge after a link fails. Babel prevents that with a feasibility condition. RFC 8966 section 2.4 says Babel "uses a slightly more refined feasibility condition, derived from EIGRP". A router keeps a feasibility distance for each source, the smallest metric it has ever advertised, and only accepts a neighbour's route if the neighbour's metric is strictly smaller than that distance.

The RFC states two guarantees. When every prefix is originated by at most one router, Babel never suffers from routing loops. When a prefix is originated by multiple routers, it may occasionally create a transient loop for that prefix.

Routes also carry sequence numbers, a technique the RFC credits to Destination-Sequenced Distance-Vector routing. The RFC says that after a mobility event a Babel network "usually remains loop-free" and quickly reconverges to a configuration that is "not necessarily optimal", then slowly converges to an optimal one on the scale of minutes.

What it cannot do

  • It generates steady background traffic. The RFC's own limitations section says Babel "relies on periodic routing table updates rather than using a reliable transport; hence, in large, stable networks it generates more traffic than protocols that only send updates when the network topology changes". For such networks it suggests OSPF, IS-IS or EIGRP "might be more suitable".
  • It is insecure by default. RFC 8966 section 6 says that, as defined, "Babel is a completely insecure protocol": without additional mechanisms it trusts any information it receives in plaintext UDP datagrams, and an attacker on the local network can, for example, redirect traffic by announcing a route with a smaller metric. Do not run it on an untrusted link without the extra mechanisms the RFC mentions.
  • It routes IP, not Ethernet frames. Unlike batman-adv, which bridges frames at layer 2, Babel needs IP addressing set up on each node.

Software: babeld and BIRD

IRIF's Babel page says "There are currently two production quality implementations of Babel: babeld, the reference implementation, and a high-quality implementation included in BIRD" (read 2026-11-04).

  • babeld. The release tarballs at irif.fr include babeld-1.13.1 (2023-07-26) and babeld-1.14 (2026-06-21). The GitHub repository jech/babeld was last pushed on 2026-09-30. GitHub has no Releases objects; releases are tagged (latest tag babeld-1.14, 2026-06-20) and published as tarballs on irif.fr.
  • OpenWrt. The net/babeld package in openwrt/packages is titled "A loop-avoiding distance-vector routing protocol" and pinned to version 1.13.1 when we read it on 2026-11-04, so the OpenWrt package lags upstream 1.14. We did not read the openwrt.org package page because it is behind a bot wall.

Where it is used

AREDN

AREDN, the amateur-radio data mesh, now uses Babel and nothing else. Its release notes for 4.26.1.0 say: "This release is the first AREDN production release that omits the legacy OLSR protocol", and under major features: "Babel only routing. OLSR is no longer available." The same note says nodes already on 3.25.5.0 or later "already speak Babel" (AREDN RELEASE_NOTES.md, read 2026-11-04). GitHub lists 4.26.1.0 as published on 2026-01-14. The newest release at our read date was 4.26.10.0, published 2026-10-29. AREDN's documentation page says Babel replaced "the original and obsolete protocol called OLSR". See OLSR for the other side of that change, and AREDN for the network. Operating AREDN in the UK requires an amateur licence.

LibreMesh

LibreMesh's "What is LibreMesh" page says "The whole network layer 3 uses by default the routing protocol Babel." and that "By default, all nodes are running both routing protocols (Babel and BATMAN-adv), but on different VLANs." (libremesh.org, read 2026-11-04). The lime-packages repository contains lime-proto-babeld and a babeld-auto-gw-mode package. See LibreMesh.

Not NYC Mesh

NYC Mesh does not use Babel for its internal network. Its own wiki says OSPF carries "all internal networking, including Supernodes to Hubs, Hubs to Rooftops, Rooftops to Rooftops, VPNs, and most on-prem hosted services", and BGP connects the network to the Internet. The wiki page shows a last-updated time of "11 months ago" at the time we read it on 2026-11-04, so we cannot give an exact edit date. See NYC Mesh.

We did not verify any other community that runs Babel, in the UK or elsewhere.

Maintenance status

Dated as of 2026-11-04.

Item Status Source
Standard RFC 8966, Standards Track, January 2021 RFC 8966
babeld Active: 1.14 tarball dated 2026-06-21, repository last pushed 2026-09-30 irif.fr files, jech/babeld
OpenWrt package net/babeld pinned to 1.13.1 openwrt/packages
AREDN Babel only since 4.26.1.0 (2026-01-14); newest release 4.26.10.0 (2026-10-29) AREDN releases

In the UK

Babel is software, so it has no UK rules of its own; the radio rules depend on the link it runs over. AREDN, the one network we confirmed using it, has its own documentation requiring an amateur licence. Which UK regime a given node operates under (the amateur licence, OFW611, or the licence-exempt 5725 to 5850 MHz route) is not stated by any source we read: see AREDN in the UK. Where a node runs under the amateur licence, the amateur rules apply to what you send. We did not find a UK community Wi-Fi mesh that publishes its routing protocol. See AREDN vs community Wi-Fi mesh.

What we could not confirm

  • Numeric hop limits or the default Hello and Update intervals. The RFC leaves them to implementations and an appendix of recommended values that we did not summarise.
  • Exactly which AREDN release first shipped Babel alongside OLSR. The 4.26.1.0 notes name 3.25.5.0 as the release from which nodes "already speak Babel", but the release descriptions we read did not say when Babel first appeared.
  • Any Babel deployment in the UK outside AREDN.
  • Which other community networks run Babel today.

Sources

  1. RFC 8966: The Babel Routing Protocol (January 2021)
  2. IRIF: Babel, a loop-avoiding distance-vector routing protocol
  3. IRIF: babeld release tarballs
  4. babeld on GitHub (jech/babeld)
  5. OpenWrt packages: net/babeld Makefile
  6. AREDN release notes, 4.26.1.0
  7. AREDN releases on GitHub
  8. AREDN documentation: Babel
  9. NYC Mesh wiki: networking overview
  10. LibreMesh: What is LibreMesh
  11. LibreMesh: lime-packages