Routing protocols and firmware
OLSR explained
OLSR is a link-state protocol using multipoint relays. Version 1 (RFC 3626, olsrd) and 2 (RFC 7181, OONF) differ; both are in maintenance; AREDN dropped it.
Updated 10 Nov 2026
What it is
OLSR is the Optimized Link State Routing protocol. Its abstract (RFC 3626) calls it "an optimization of the classical link state algorithm tailored to the requirements of a mobile wireless LAN". It is proactive and table-driven: nodes exchange topology information on a regular basis, so routes already exist when traffic needs them.
Link-state means each router builds a picture of the network and works out paths itself, unlike Babel, where routers only exchange distances with neighbours. For the family-level view, see how mesh routing works and the routing protocol comparison. The glossary has an entry for OLSR.
Multipoint relays
Flooding every update from every router would swamp a radio network. OLSR's answer is the multipoint relay (MPR).
RFC 3626 says MPRs are "selected nodes which forward broadcast messages during the flooding process", and that in OLSR "link state information is generated only by nodes elected as MPRs". Only the MPRs relay a node's broadcast control traffic, so the number of control messages flooded through the network falls.
Version 2 splits the role in two. RFC 7181 says each router selects two sets of MPRs from its neighbours, each a set that "covers" all of its symmetrically connected two-hop neighbours. Flooding MPRs achieve flooding reduction and routing MPRs achieve topology reduction. Where possible (in particular with a hop-count metric), the same routers may be picked for both roles. MPRs are chosen from neighbours connected by symmetric (bidirectional) links.
Version 1 and version 2
| OLSRv1 | OLSRv2 | |
|---|---|---|
| Specification | RFC 3626, October 2003 | RFC 7181, April 2014 |
| Status | Experimental ("does not specify an Internet standard of any kind") | Standards Track |
| Metric | RFC specifies hop count: "optimal routes (in terms of number of hops)"; olsrd adds ETX through its link-quality extension | "a link metric other than hop count" can be used in selecting shortest routes |
| MPRs | One MPR set per router | Separate flooding MPRs and routing MPRs |
| Common implementation | olsrd | OONF (olsrd2) |
Sources: RFC 3626 and RFC 7181, read 2026-11-04.
RFC 7181 describes OLSRv2 as "the successor to OLSR (version 1)" that "retains the same basic mechanisms and algorithms". It also says it "does not obsolete" RFC 3626, which "is left in place for further experimentation". The two versions are different protocols and the sources we read do not say they interoperate.
OLSRv2 reuses separately specified building blocks, including the MANET Neighborhood Discovery Protocol (RFC 6130) and a generalised packet and message format (RFC 5444). It makes no assumptions about the underlying link layer. It does not define what a metric physically means; it provides a way for link metrics to be defined and used.
Because RFC 3626 is hop-count only, the problem described in how mesh routing works applies: on radio links, fewest hops is often not best. olsrd's own link-quality extension addresses this, and OONF has a metric plugin of its own; both are described below.
Link quality in olsrd
The olsrd repository has a file, README-Olsr-Extensions, headed "OLSRd (version 0.6.0) protocol extensions". Its section on link quality (read 2026-11-10) says olsrd "uses a dimension-less integer value as a representation of the 'cost' of each link", called Link Quality (LQ), and that "all LQ plugins are using an ETX-metric (Expected Transmission Count)". So the extension replaces hop count with ETX. The same file says:
- Each link has an LQ/NLQ value pair, "the quality towards the router (LQ) and towards the neighbor (NLQ)", each between 0 and 1. The link cost is "ETX = 1.0/(LQ * NLQ)", and "ETX 1.0 mean a perfect link without packet loss".
- olsrd "chooses the path towards a target by selecting the path segments with the smallest sum of link costs".
- It is switched on with the configuration variable
LinkQualityLevelset to 2, and the algorithm is chosen withLinkQualityAlgorithm.
The sample configuration file olsrd.conf.default.txt (read 2026-11-10) describes LinkQualityLevel as a "switch between hopcount and cost-based (mostly ETX) routing", with "0 = do not use link quality" and "2 = use link quality for MPR selection and routing", and gives "(default is 2)" and "(default is "etx_ff")" for the two settings. In that file both lines are commented out, so those are the documented defaults rather than values we saw set. It lists four algorithm names: etx_float, etx_fpm, etx_ff and etx_ffeth. The README calls etx_ff ("ETX Funkfeuer/Freifunk") "the current default LQ algorithm for OLSRd" and says it uses the sequence numbers of OLSR packets to work out packet loss. It calls etx_ffeth "an experimental and INCOMPATIBLE extension of etx_ff (meaning it is not interoperable with etx_ff nodes)", meant to give Ethernet links a lower cost than wireless ones, and adds that "at the time of this writing, etx_ffeth is the preferred metric for building new mesh networks which include links over LAN cables". The message format of etx_ff is, it says, compatible with etx_fpm and etx_float.
The README places these under "protocol extensions" and the config file under "OLSR protocol extensions"; neither mentions RFC 3626. We read nothing that says how other RFC 3626 implementations treat these values. The README text we read describes olsrd 0.6.0, and we did not test any current build to see which algorithm it runs.
OONF (OLSRv2) has a metric plugin too. Its README_FF_DAT_METRIC (read 2026-11-10) says "DAT = Directional Airtime Metric" and that the plugin "calculates a nhdp link metric based on the approved Freifunk ETX metric and the outgoing linkspeed". It says the plugin assumes a default and minimum link speed of 1 MBit/s and divides the ETX link cost by the link speed in MBit/s, up to 256 MBit/s. The source header ff_dat_metric.h (read 2026-11-12) disagrees: its constants DATFF_LINKSPEED_MINIMUM = 1 << 10 and DATFF_LINKSPEED_RANGE = 1 << 21 are commented "linkspeed between 1 kbit/s and 2 gbit/s", so the README figures may be out of date. We did not check whether a given OONF build enables this plugin by default, and the README's example options differ in places from the option names in the source file, so treat it as a description of the idea, not a configuration reference.
Software and maintenance status
Dated as of 2026-11-04. Both projects are on GitHub under the OLSR organisation.
| Project | Implements | Last commit | Last tag | Notes |
|---|---|---|---|---|
| olsrd | OLSRv1 | 2026-08-26 | v0.9.8, 2019-08-11 | Repository description: "OLSR.org main repository - olsrd v1 - maintained by Freifunk Berlin". Recent commits were build and compatibility fixes (exit status, plugin install, a GCC 15 / C23 build fix). No GitHub releases. |
| OONF | OLSRv2 (olsrd2) | 2026-08-06 | v0.15.1, 2018-03-19 | Latest commit added a LICENSE file. README news item of 2025-12-04: "Kindly use the master-Branch for your project again." |
Our reading is maintenance mode: the code receives occasional fixes, with no feature release since 2019 for olsrd and 2018 for OONF. That is our description of the commit history, not a statement from the maintainers.
On OpenWrt, net/olsrd in the openwrt/packages repository has a source date of 2024-06-09 (Makefile, read 2026-11-04). We did not find an OONF (olsrd2) package in the net/ directory of that repository.
Who still runs it
We could not confirm which communities run OLSR in production today, so we say only what the sources show:
- AREDN: dropped it. Release 4.26.1.0, published 2026-01-14, "is the first AREDN production release that omits the legacy OLSR protocol". Under major features it says: "Babel only routing. OLSR is no longer available." AREDN's documentation says Babel "replaced the original and obsolete protocol called OLSR". The newest AREDN release at our read date was 4.26.10.0 (2026-10-29). See Babel and AREDN.
- Gluon (Freifunk firmware). The Gluon README lists batman-adv (IV and V) and OLSRv2 (partially) under its supported mesh protocols. See batman-adv and Freifunk.
- LibreMesh. The
lime-packagesrepository containslime-proto-olsr,lime-proto-olsr2andlime-proto-olsr6packages. LibreMesh's own page names Babel and batman-adv as its default pair, so these are options, not defaults. See LibreMesh. - Freifunk Berlin. It maintains olsrd according to the repository description. Whether it still deploys it, we do not know.
We did not verify any UK deployment of OLSR or OLSRv2.
Commotion Wireless: OLSR in history
Commotion Wireless was an Open Technology Institute project built on OLSR and OpenWrt. Our resources page cites Wikipedia for the details: it was funded by a US State Department grant in 2011, with version 1.0 in December 2013, whose code development profiles had not been updated since 2016 and whose website went offline around September 2024. The project's old domain no longer resolves, so we do not link it.
The commotion-router repository, a build system for Commotion's OpenWrt firmware, was last pushed on 2016-08-18 (GitHub, read 2026-11-04). Its files include an olsrd configuration, which shows Commotion shipped olsrd. We did not confirm that OLSR was Commotion's only or default protocol. Commotion is listed for history, not as something to deploy.
In the UK
OLSR is software, so it has no UK rules of its own. What applies is the radio link underneath. If you meet it on amateur radio hardware, an amateur licence is required, and AREDN no longer ships it. We did not find a UK community mesh that publishes its routing protocol. See AREDN vs community Wi-Fi mesh.
What we could not confirm
- Which communities run OLSRv1 or OLSRv2 in production today, in the UK or elsewhere.
- Whether OLSRv1 and OLSRv2 can interoperate on one network.
- A default value for the OLSRv2 TC hop limit. RFC 7181 defines the parameter but we did not extract a default.
- Whether OLSR was Commotion's default or only routing protocol, and the dates and funding of Commotion beyond what Wikipedia reports.
- Whether Freifunk Berlin still deploys olsrd.
- Which link-quality algorithm a current olsrd build runs, and whether any OONF build enables the directional airtime metric by default. We read documentation and a sample configuration, not running nodes.
- How OLSR compares with Babel or batman-adv on throughput or scaling; we found no primary measurement.
Sources
- RFC 3626: Optimized Link State Routing Protocol (OLSR), October 2003
- RFC 7181: The Optimized Link State Routing Protocol Version 2, April 2014
- olsrd on GitHub (OLSR/olsrd)
- OONF on GitHub (OLSR/OONF)
- olsrd: README-Olsr-Extensions (link quality algorithms)
- olsrd: sample configuration file olsrd.conf.default.txt
- OONF: README_FF_DAT_METRIC (directional airtime metric plugin)
- OONF: ff_dat_metric.h (directional airtime metric constants)
- OpenWrt packages: net/olsrd Makefile
- AREDN release notes, 4.26.1.0
- AREDN releases on GitHub
- AREDN documentation: Babel
- Gluon README (supported mesh protocols)
- LibreMesh: lime-packages
- Commotion Wireless (Wikipedia)
- commotion-router on GitHub (opentechinstitute)