On Tuesday, 19 November 2024 15:17:28 CET Mu De wrote:
Dear Sven,
I would like to ask generic system and topology questions:
Sorry about the "hijack part". Looked at first glance like another person + topic. Simply because you've used a different from + signature and suddenly added other persons in Cc.
1-)Generic System Question According to info at the " https://www.kernel.org/doc/Documentation/networking/batman-adv.txt" , if following "batman-adv" folder do not exist, your interface might not be supported. If those folder does NOT exist in a system but interfaces can be add/removed via "batctl if" command, and outputs indicates interface active, can we consider this system works properly?
"/sys/class/net/eth0/batman_adv/"
This is an outdated document. See https://www.kernel.org/doc/html/latest/networking/batman-adv.html for the correct one
2-)Generic Topology Question Consider multiple batman nodes, each have 1 bridge interface, bridge have two ports, one "bat0" and "eth0",
Ok, ethernet bridge to mesh
and IP is assigned to the bridge node.
Ok
At each node, multiple wired/wireless interfaces which have stable connections to other nodes are assigned to "bat0" and these interfaces are indicated as "active" via batctl.
Ok, the underlying interfaces for bat0 have "redundancy"?
Can local process of batman nodes and external non-batman nodes connected to "eth0" port of the bridge, have IP connectivity to each other via IP addresses assigned to bridges?
Yes. The bridge is handling this part - not batman-adv. Just make sure that you don't have any IP conflicts. So, for example eth0 + bat0 + underlying interfaces for bat0 should most likely have no IP address assigned - unless you know what you are doing and need it for debugging (or similar things).
Kind regards, Sven
Hi Sven, Yes: "Ok, ethernet bridge to mesh" Yes, for redundancy, enabling alternative links, expecting batman handling the best links, best routes (enabling the loop avoidance): " Ok, the underlying interfaces for bat0 have "redundancy"?" Yes, IP is only assigned to bridge interface. Making sure that interfaces are up, ensuring layer 2 connection establishment at all related nodes.
My issue is just here: I can not ping neither from local nor eth0 PC to other nodes/external client. "batctl o" shows empty table. No logs at dmesg. All bat0 sub interfaces are "active". Any clue for troubleshooting helps a lot.
Best regards,
b.a.t.m.a.n@lists.open-mesh.org