EN
calendar_today
person G. Alessandria, M. Coriale
tag meshtastic

REPORT_2: Analysis of Network Robustness

REPORT_2: Analysis of Network Robustness

As required by the assignment, the network was subjected to various fault and attack simulations to assess its resilience. The impact of each attack was measured by calculating the Normalised Giant Component Size G/NG/N relative to the proportion of nodes progressively removed from the graph.

As we had a relatively small graph (approximately 1,700 nodes), we decided to remove a single node at each iteration and recalculate the values for each attack to maximise the granularity of the resulting graph. We used four different targeted attack strategies, as required:

  • 0. Random failure: Random selection of the node to be removed.
  • 1. Degree: Removal of the node with the highest degree.
  • 2. Betweenness: Removal of the node with the highest betweenness.
  • 3. PageRank: Removal of the node with the highest PageRank.

Network Robustness: Giant Component Size under Attack

I. ATTACK STRATEGY EVALUATION

The simulation reveals clear structural differences depending on the attack strategy used:

  • Random Attack (Random Failures): The network demonstrates high resilience against random failures. The decline in the giant component is almost linear, and more than 25% (approximately 27%) of the nodes must be removed before the network collapses completely.
  • Targeted Attacks (Degree and PageRank): Attacks based on removing the most connected nodes (Degree) and those with the highest PageRank prove to be significantly more destructive than the random approach. By targeting high-degree nodes (such as ‘Gennaro’ or ‘ZedNode - Rocca di Papa’), the giant component asymptotically drops to zero by removing just 10% of the network.
  • Targeted Betweenness Attack: This is by far the most damaging strategy for the Meshtastic network. By removing the nodes that act as radio links, the graph fragments almost instantly. The giant component falls below 10% (G/N<0.1G/N < 0.1) by removing just 6-7% of the nodes, demonstrating that the network’s information flow depends almost entirely on a very small number of critical ‘bottlenecks’.

This extreme vulnerability is likely because high-betweenness nodes (e.g. ‘Linea Gotica sixt’ with 0.1943 or ‘Monte Cosce’ with 0.1101) are mountain radio links. They do not necessarily have dozens of neighbours (low local degree), but they are the sole RF link connecting, for example, the Emilia-Romagna network with that of Tuscany.


II. INCREASING RESILIENCE

To mitigate the network’s vulnerability and improve its robustness, an attempt was made to increase the critical threshold fcf_{c} by adding new edges. A higher value of fcf_{c} indicates a network capable of withstanding the removal of more nodes before fragmenting.

The original network has an fcf_{c} of 0.92122, significantly higher than that of a completely randomised configuration (fc=0.58552f_{c} = 0.58552), demonstrating that the actual positioning of the nodes already follows a structured, non-random logic.

Two reinforcement strategies were evaluated, creating ring connections between the neighbors of the main nodes sorted by Degree and Betweenness:

METRICS & REINFORCEMENT COMPARISON

Graph Size1st Moment2nd Momentfcf_{c}Cost (New Edges)
Original (N=1721,L=2118N=1721, L=2118)2.4613633.703660.921220
Randomized (N=1721,L=2118N=1721, L=2118)2.461368.399770.585520
1° ring Degree (ID: 6984) (N=1721,L=2193N=1721, L=2193)2.5485235.074960.9216575
2° ring Degree (ID: ce4d) (N=1721,L=2240N=1721, L=2240)2.6031436.275420.92269122
3° ring Degree (ID: 450c) (N=1721,L=2282N=1721, L=2282)2.6519537.589770.92410164
1° ring Between. (ID: e182) (N=1721,L=2142N=1721, L=2142)2.4892534.381170.9219524
2° ring Between. (ID: 6bb2) (N=1721,L=2177N=1721, L=2177)2.5299235.112140.9223559
3° ring Between. (ID: 3cdc) (N=1721,L=2195N=1721, L=2195)2.5508435.717610.9230977
  • Strategy 1: Ring on the top 3 nodes by degree (High cost): Adding edges to the neighbours of the top three nodes by degree (ID: 6984, ce4d, 450c) increased fcf_{c} from 0.92122 to 0.92410. However, the total cost for the three rings was extremely high: as many as 164 new edges were added.
  • Strategy 2: Ring around the top-3 nodes by Betweenness (Optimised strategy): This strategy creates redundancy around the bottlenecks (the radio links ID: e182, 6bb2, 3cdc), bringing fcf_{c} to 0.92309. The total cost of this operation was significantly lower: only 77 new edges (less than half that of the previous strategy). Even if we consider adding only the first ring around the node with the highest betweenness, this strategy costs less than half the number of added edges and guarantees a better result.

III. PHYSICAL CONSIDERATIONS ON ADDING EDGES

Whilst, in graph theory, ‘adding an edge’ is a trivial operation, in the physical reality of the Meshtastic domain it represents a significant challenge that constitutes the true ‘cost’. The 77 edges required by the 3rd Betweenness ring mean that the neighbours of a mountain node must be able to communicate directly with one another, even though they may be 100 km apart on opposite slopes.

In practice, to implement this upgrade, the Italian community can resort to three solutions:

  • Hardware Infrastructure (Solar-Powered Nodes): Physically adding intermediate nodes on the peaks adjacent to the bottlenecks. This carries a very high cost in terms of hardware (solar panels, batteries) and physical maintenance, but fully maintains the network’s off-grid integrity.
  • Range Upgrade (Directional Antennas): Replacing the omnidirectional antennas of certain strategic neighbours with high-gain Yagi-Uda antennas pointed horizontally towards one another to bypass the central node. This approach is subject to regulatory limitations regarding legal EIRP thresholds in the 868 MHz band.
  • MQTT Uplink: Meshtastic nodes can connect via Wi-Fi to an MQTT broker on the Internet. This is the fastest and ‘zero-cost’ way to create the theoretical arcs calculated in our ring: by configuring some nodes to communicate via the Internet rather than via LoRa.

CRUCIAL TRADE-OFF

Using MQTT conceptually undermines the Meshtastic paradigm as an “autonomous off-grid emergency network”. In the event of a natural disaster and a total blackout of Italian ISP backbones—the exact scenario in which Meshtastic is designed to excel—the arcs created via MQTT would disappear instantly, causing the network’s robustness to collapse abruptly.

meshtastic topology network-analysis robustness

Author Profile

G. Alessandria, M. Coriale

Software Security & Engineering Students