Mesh network topology

By Martin McBride, 2017-10-07
Tags: mesh network
Categories: networks network hardware

In a mesh network, there is no centralised control. All the devices (or nodes) in the network are connected to each other.

In the case show above, called a full mesh network, each node is directly connected to every other node. This means that any two nodes can communicate directly with each other, as fast as the network allows, without slowing any other nodes down. If node A is sending data to node C, at the same time as node B is sending data to node E, they can both transfer at full speed as they each have a separate link.

Partial meshes

The diagram below shows a partial mesh. Each node is connected directly to some of the other nodes, but not necessarily all of them.

In a partial mesh, every node can connect to any other node, but sometimes it requires two or more stages. So in this example, node B can connect directly to node C. But if node A needs to connect to node D, it must go via another node, for example E.

In some cases, multiple nodes share a connection, so the available bandwidth has to be shared, resulting in a potentially slower network.

Self healing networks

The nodes in a mesh network can cooperate to find a route between any two nodes, and over time can use optimisation algorithms to find the best routes between any two nodes.

This has some important benefits:

  • If a connection breaks or develops a fault, the network will find an alternative route to connect the nodes (if one exists). The network will self-heal.
  • If you add new nodes to a network, they will be discovered automatically, without the need to update any centralised configuration.

See also

Sign up to the Creative Coding Newletter

Join my newsletter to receive occasional emails when new content is added, using the form below:

Popular tags

555 timer abstract data type abstraction addition algorithm and gate array ascii ascii85 base32 base64 battery binary binary encoding binary search bit block cipher block padding byte canvas colour coming soon computer music condition cryptographic attacks cryptography decomposition decryption deduplication dictionary attack encryption file server flash memory hard drive hashing hexadecimal hmac html image insertion sort ip address key derivation lamp linear search list mac mac address mesh network message authentication code music nand gate network storage none nor gate not gate op-amp or gate pixel private key python quantisation queue raid ram relational operator resources rgb rom search sort sound synthesis ssd star network supercollider svg switch symmetric encryption truth table turtle graphics yenc