Comparisons
batman-adv vs Babel
batman-adv versus Babel
batman-adv bridges Ethernet frames at layer 2; Babel routes IPv4 and IPv6 at layer 3. Metrics, state, firmware that ships each, and when each is the wrong tool.
Updated 21 Nov 2026
At a glance
| batman-adv | Babel | |
|---|---|---|
| Layer | Layer 2: "uses and routes (or better: bridges) Ethernet Frames" | Layer 3: carries IPv4 and IPv6 routes |
| Where it lives | Linux kernel module, with the batctl tool |
Daemon: babeld, the reference implementation, or the implementation in BIRD |
| Style | Proactive; every node broadcasts originator messages (OGMs) | Proactive; "relies on periodic routing table updates" |
| Metric | B.A.T.M.A.N. IV: transmit quality (TQ). B.A.T.M.A.N. V: throughput-based | Sum of link costs along the path; cost strategies in RFC 8966 Appendix A |
| Loop avoidance | Not documented in the sources we read | Feasibility condition derived from EIGRP's DUAL |
| Standard | Specified by the Open-Mesh project; implemented in the Linux kernel | RFC 8966, Standards Track, January 2021 |
| Shipped by | Gluon (Freifunk firmware); LibreMesh (layer 2) | AREDN (Babel only since 4.26.1.0); LibreMesh (layer 3) |
| Status (2026-11-04) | Kernel code last changed 2026-10-06; batman-adv and batctl 2026.3 released 2026-08-31 (2026.2: 2026-06-30) | babeld 1.14 tarball dated 2026-06-21; repository last pushed 2026-09-30 |
Key differences
Layer 2 versus layer 3
The kernel documentation says batman-adv "operates on ISO/OSI Layer 2 only" and "emulates a virtual network switch of all nodes participating". To the devices on it, the whole mesh looks like one Ethernet segment; LibreMesh describes using it for "layer-2 clouds" for local roaming. It is not an IP router: any IP routing between subnets is whatever runs on top.
Babel works one layer up. It exchanges routes for IPv4 and IPv6 between routers, so each node is a router in the ordinary sense. RFC 8966 describes it as "robust and efficient both in ordinary wired networks and in wireless mesh networks".
Metrics
batman-adv's original algorithm, B.A.T.M.A.N. IV, measures transmit quality (TQ). Per the open-mesh.org protocol page, TQ is derived from how many of a neighbour's packets you receive and how many of your own originator messages are rebroadcast back, and the TQ value carried in an OGM starts at 255 and is degraded by each hop. B.A.T.M.A.N. V uses a throughput-based metric and is "not compatible to B.A.T.M.A.N. IV networks". The kernel's own configuration help still describes V as "currently considered experimental"; we could not confirm whether that text is out of date, and the Gluon v2025.1.3 documentation lists incomplete B.A.T.M.A.N. V integration among its known issues. Check what your community runs before choosing V.
Babel's metric is the sum of the costs of the links along the path. RFC 8966 leaves the cost calculation to each node and describes example strategies in its Appendix A, including a 2-out-of-3 strategy for wired links and an ETX-style approach for wireless ones (we did not re-read the wireless wording verbatim, so check the RFC before quoting it).
State and scaling
For each originator, batman-adv holds a list of candidate neighbours from which one best next hop is chosen; there is no map of the whole topology (the protocol page says there is "no need to find out or calculate the complete route"). Babel keeps a neighbour table, a source table (feasibility distances) and a route table.
We read no head-to-head measurement of the two at scale, so this page makes no claim about which scales better. RFC 8966 does state a limit of its own design: because Babel relies on periodic updates rather than reliable transport, "in large, stable networks it generates more traffic than protocols that only send updates when the network topology changes", and it names OSPF, IS-IS and EIGRP as possibly more suitable there. NYC Mesh's own wiki, for example, describes OSPF for its internal networking and BGP to the Internet, not Babel (the page showed a last update about 11 months before 2026-11-04).
Which firmware ships which
- Gluon (the firmware framework behind "several Freifunk communities in Germany") uses batman-adv; a site chooses
BATMAN_IVorBATMAN_V. Its README lists no Babel support, and the v2025.1 release notes, under "Removed Features", say "The experimental and unmaintained support for the Babel mesh routing protocol has been removed from Gluon." (read 21 November 2026). See Freifunk. - LibreMesh runs both: batman-adv as a layer-2 cloud and Babel as the layer-3 protocol for the whole network, "on different VLANs". See LibreMesh.
- AREDN removed OLSR in 4.26.1.0 (published 2026-01-14): the release notes say "Babel only routing." See AREDN.
When each is the wrong tool
- batman-adv is the wrong tool if you want a router that exchanges routes between separate IP subnets: that is layer 3, which it does not do. It also presents the mesh as a single layer-2 broadcast domain (LibreMesh's wording), so broadcast traffic is shared across it.
- Babel is the wrong tool if you want the mesh to look like one switch, for example so devices keep their address as they move between nodes. It also needs IPv6 support in the OpenWrt package (
babelddepends on@IPV6). - Neither is a radio. If your links are LoRa, neither applies: see Meshtastic vs MeshCore.
For the plain-English background, see how mesh routing works and the explainers on batman-adv and Babel.
In the UK
Neither protocol sets a frequency or a power level, so there is no UK number attached to either. The limits come from the radio underneath: for Wi-Fi bands, see UK radio rules at a glance. AREDN, which runs Babel, has its own documentation requiring an amateur licence; which UK regime a given node runs under is not stated by any source we read (see AREDN in the UK and the UK amateur radio licence path). We confirmed no UK community deployment of batman-adv or of non-AREDN Babel.
Which should you choose?
- You are joining an existing Freifunk-style community: use the firmware and protocol it publishes. Several German communities use Gluon, hence batman-adv; check with your community. See join a community Wi-Fi mesh.
- You are building on OpenWrt with LibreMesh: you get both, and do not need to choose.
- You are running AREDN: Babel is the only option from 4.26.1.0.
- You are designing your own IP network and want ordinary routing between subnets: Babel (or another layer-3 protocol).
- You want one flat layer-2 network over mixed links: batman-adv.
FAQ
Can I run both on the same node?
Yes. LibreMesh does exactly that by default, with batman-adv for the layer-2 cloud and Babel for layer 3, on separate VLANs.
Is B.A.T.M.A.N. V the replacement for IV?
V is described in the kernel source as the successor, with a throughput-based metric, but it is not compatible with IV networks and the same source still labels it experimental. We could not confirm which variant Freifunk communities run in production.
Does batman-adv have a hop limit?
OGMs have a TTL, but we did not find the numeric value in the sources we read. A numeric hop limit for Babel is likewise not documented in the sources we read.
Where are the full command references?
In the batctl man page. batctl syntax has changed over time: the current man page documents a meshif <netdev> prefix, while older material uses -m <netdev>, so we link rather than paste commands.
Sources
- Linux kernel docs: batman-adv
- Linux kernel source: net/batman-adv/Kconfig
- Linux kernel source: net/batman-adv/types.h
- batman-adv release tarballs (open-mesh.org downloads listing)
- open-mesh.org BATMAN_IV protocol page (archive.org snapshot 2026-06-16)
- batctl man page (Debian, batctl 2026.3-1)
- RFC 8966: The Babel Routing Protocol
- Babel at IRIF
- babeld on GitHub
- OpenWrt packages: net/babeld Makefile
- Gluon documentation
- Gluon README (supported mesh protocols)
- Gluon v2025.1 release notes (Removed Features)
- Gluon v2025.1.3 release notes
- LibreMesh: what is LibreMesh
- AREDN release notes (4.26.1.0)
- NYC Mesh wiki: networking overview