The Routing Standard for Dynamic, Wireless, Ad hoc, MESH networks: OLSRv2

With the recent publication of RFC7939, I wrote in a previous blog entry that:

This is, to some extend, the final piece of the core OLSRv2 (the Optimized Link State Routing Protocol version 2) puzzle – which is also therefore the final piece of a 10+ years adventure of protocol development and standardization

….

Final piece of a 10+ years adventure” is, of course, not to say that OLSR/OLSRv2 is dead, and that there’s nothing more to do – far from it. It is to say that the core protocol specification is now complete, and it’s time to engage in exploring and developing protocol extensions.

Now that the puzzle is complete, it therefore seems a good time to make a point on what OLSR/OLSRv2 actually is. A later blog entry will dwell a bit on some of those “protocol extensions” I envisioned, when I wrote the above.

A THE Routing Standard for Dynamic, Wireless, Ad hoc, MESH networks

The Optimized Link-State Routing Protocol (OLSR, and its successor OLSRv2) is the IETF standardized routing protocol for Mobile Ad hoc NETworks (MANET).

A link state protocol, OLSR (RFC3626) prototyped several innovative techniques and principles, including the concept of Multi-Point Relays (MPRs) for Flooding Reduction and Topology Reduction, an advanced neighborhood discovery mechanism for detecting and tracking link-bi-directionality in wireless environments and across multiple wireless interfaces. Some of these techniques were later revised, adapted for OSPF and included in the OSPF extension for MANETs (see OSPF for MANETs).

OLSRv2 (RFC7181) and its constituent parts (RFC5148, RFC5444, RFC5497, RFC6130 RFC7181, RFC7182, RFC7183, RFC7184, RFC7185, RFC7186, RFC7187, RFC7188) were built on the 10+ years of experience with OLSR, and offers:

  • High scalability in dense networks by way of Flooding Reduction and Topolgy Reduction
  • A Modular plug-in security architecture
  • Flexible, multi-metric routing
  • Compressed (aggregated) addresses for significantly smaller control messages
  • Built-in extensibility mechanisms, preserving forward and backwards compatibility
  • Native and efficient IPv6 support
  • Flexible and extensive gateway support, for attached networks as well as for global Internet connectivity.

As such, OLSRv2 is more than just a routing protocol – OLSRv2 is the platform for Dynamic, Wireless, Ad hoc, MESH network innovation and experimentation.


A Protocol of World Firsts

OLSR and OLSRv2 have given rise to, numerous “world-firsts”, including:

  • OLSR was the first IETF routing protocol to introduce topology reduction and flooding reduction – proving their viability and immense benefit, and being the impulse for introducing these concepts to OSPFv3 by way of OSPF4MANET.
  • OLSRv2 was the first IETF routing protocol supporting multi-topology routing, before even OSPF, by way of  “Multi-Topology Extension for the Optimized Link State Routing Protocol Version 2 (OLSRv2)” (RFC7722).
  • OLSRv2 was the first IETF routing protocol specifying and experimenting the use of Identity-Based Signatures for authenticating routing messages (RFC7859).

MPRs: Flooding Reduction & Topology Reduction

MPR Flooding Reduction

MPR Flooding Reduction

OLSR being a Link State protocol, the basic concept is that Link State Advertisements (LSAs – in OLSR & OLSRv2 called TC Messages) are flooded through the network, allowing each router to compute a topology map – on which a shortest path algorithm (such as Dijkstra’s algorithm) is run so as to calculate shortest paths to each destination in the network

The “Optimized” in “Optimized Link State Routing” stems, in no small part, from the protocol’s use of MultiPoint Relays, MPRs.

By way of the NeighborHood Discovery Protocol (NHDP – RFC6130), each router will, by way of a periodic and per-interface HELLO message exchange, have learned its local topology: bidirectional links to its immediate neighbors (1-hop neighbors), as well as bi-directional links from its 1-hop neighbors and to their neighbors (2-hop neighbors). For a given router, the 1-hop and 2-hop neighbors form the routers “neighborhood”.

Each router can then, autonomously and without any coordination, select a subset from among its 1-hop neighbors, which forms a dominating set over its neighborhood – that dominating set is the MPR set of that router.

Or, more colloquially, each router selects its MPR set from among its 1-hop neighbors such that a packet transmitted by it, and repeated by only the members of its MPR set, will be received by all 2-hop neighbors. This is signaled in next HELLO message exchange, allowing each router to know for which other routers it is, or is not, an MPR – to construct its “MPR Selector Set” (the set of routers, which have selected it as MPR).

This information is, then, used in two ways:

  • MPR Based Flooding Reduction:
    • When receiving a TC message, forward it if and only if it was received from a MPR Selector
    • (And, of course, don’t forward a TC message more than once)
  • MPR Based Topology Reduction:
    • Only routers which have a non-empty MPR Selector Set generate TC messages.
    • And, when generating a TC message, a router only includes links to destinations listed in the MPR Selector Set

The advantages of this use of MultiPoint Relays, MPRs, is thus fourefold:

  1. The cost of a flooding operation is considerably reduced: The number of retransmissions of a single flooded message, especially in a dense network, is considerably lower when using MPR based Flooding Reduction, than when using classic flooding. On the figure above, the top example depicts “classic flooding”, with the bottom example MPR flooding, and the blue nodes” the relays (and thus, retransmissions) involved in a flooding operation.
  2. The packet loss of a flooding operation is considerably reduced: On the figure above, the top example depicts “classic flooding”, with the bottom example MPR flooding, and the red nodes” those nodes which receive more than a single copy of a transmission. In a wireless environment, given that all 1-hop neighbors receive “the same transmission at the same time”, they potentially do the same “carrier sense” operation and detect at the same time that the channel is idle – and transmit at the same time. Concurrent transmissions entail collisions, which entails packet loss. Thus, MPR flooding limiting the number of relays also limits the number of colissions.
  3. The number of flooding operations is considerably reduced: Only routers with non-empty MPR Selector Sets generate TC messages. As illustrated in the figure above, all the “blue routers” would generate and flood “I have a link to the router in the center” – with the top example being that of a “classic” link state routing protocol, and the bottom example that of OLSR and OLSRv2.
  4. The size of each flooded message is considerably reduced: Only the subset of destinations listed in a routers MPR Selector Set (i.e., only the destinations on routers that have selected it as MPR) are included in the flooded TC messages, rather than all destinations on all neighboring routers.

The resulting topology graph in each router is a partial graph, including all destinations (of course) and a subset of all links – a subset which contains the links on all shortest paths.


A World-Wide Community

In addition to being “a routing protocol for MANET”, OLSR and OLSRv2 is a world-wide community, actively contributing to the protocol specification development, to proposing, developing, and specifying protocol extensions, to implementing the protocol specifications on various platforms — and, of course, to deployments of OLSR & OLSRv2. The map below depicts known deployments of OLSR & OLSRv2.

Known OLSR and OLSRv2 Deployments, world-wide.

Known OLSR and OLSRv2 Deployments, world-wide.

Among the experiments, uses, and deployments of OLSR and OLSRv2 are as diverse scenarios as tactical networking, emergency networking, and community networks.

BAE Systems Tactical Networking Experiments

BAE Systems Tactical Networking Experiments

FunkFeuer.at Community Network Deployment

FunkFeuer.at Community Network Deployment

Several open-source (and, of course, many many proprietary), independent, implementations of OLSR and OLSRv2 exist, a (very partial) list of public implementations includes:


International Interoperability Events

During the development of the core OLSR and OLSRv2 specifications, semi-regular interoperability tests & workshops have occurred, the most structured of which have been:

The technical output of these events have been retained in the OLSR and OLSRv2 (& constituent parts) specifications.

A Flexible, Modular Platform for ExperimentationThe OLSRv2 protocol architecture is built around a flexible, modular, platform, intended to facilitate easy development, implementation, and testing of (forward and backwards compatible) routing protocol extensions. This is obtained, in part, by way of OLSRv2 defining and exposing a comprehensive protocol information base, as well as comprehensive constraints enabling and scoping protocol extensions‘ use (consultation, updating) thereof. An other important component of the flexible, modular platform is the use of “The Generalized Mobile Ad hoc NETwork (MANET) Packet/Message Format” RFC5444.This has given rise to, numerous extensions, experiments, and even world-firsts around OLSRv2:

  • OLSRv2 was the first IETF routing protocol supporting multi-topology routing, before even OSPF, by way of  “Multi-Topology Extension for the Optimized Link State Routing Protocol Version 2 (OLSRv2)” (RFC7722).
  • OLSRv2 was the first IETF routing protocol specifying and experimenting the use of Identity-Based Signatures for authenticating routing messages (RFC7859).

Other ongoing extensions and experiments, enabled by OLSRv2, include:

Facebook Auto Publish Powered By : XYZScripts.com