L3-only mesh (with only Babeld, no batman-adv / no anygw)

Open
#1,211 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
1-2 days
Newbie friendliness
31/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
lua
Domain
networking

Research direction

Start by reproducing the L3-only setup described in the issue: remove batman-adv and anygw, keep babeld, and check routing from a laptop on a separate LAN. The issue reports that a temporary address and static route allow pinging router A, but does not identify the configuration or code that needs changing. Done means the laptop can reach the other routers through L3 forwarding without that workaround.

Written by the indexing model from the issue text.

Description

We are exploring an L3-only mesh, uninstalling batman-adv and anygw, keeping only babeld, verifying that routers discover each otehr and exchange router; and a laptop connected to one router's LAN can reach the others via L3 forwarding.

Configuration
  • As mentioned before, uninstall batman-adv and anygy.
  • lime-node config:
config lime network
	option main_ipv4_address '10.%N1.%M5.1/24'
	option main_ipv6_address 'fd%N1:%N2%N3:%M5%M6::1/64'
	list protocols ieee80211s
	list protocols lan
	list protocols bmx6:13
	list protocols olsr:14
	list protocols olsr6:15
	list protocols olsr2:16
	list protocols babeld:17
	list protocols bmx7:18
Observations

There are routes between routers

root@LiMe-f89fab:~# ip r
10.13.159.0/24 dev br-lan scope link  src 10.13.159.1 
10.13.214.0/24 via 10.13.214.1 dev wlan1-mesh_17 onlink 

Where Babel is giving A a route toward B’s prefix (10.13.214.0/24 via 10.13.214.1), as expected.
But my laptop is not in A’s 10.13.x LAN, it’s on 192.168.1.0/24 (Ethernet) and 192.168.0.0/24 (Wi-Fi), with defaults pointing elsewhere, so traffic to 10.13.x doesn’t naturally go to A, if I add a temporary extra IP con A's br-lan and an on-link static route on the laptop the ping succeeds, but only with A.

Dominant language
Lua
Stars
338
Forks
113
Avg merge
8d 3h
Merged PRs (30d)
3

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from libremesh/lime-packages

All issues in libremesh/lime-packages

Similar issues

More Lua issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.