Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Testing Batman-adv on ethernet, replaces #703 #724

Closed
wants to merge 6 commits into from

Conversation

ilario
Copy link
Member

@ilario ilario commented Jun 14, 2020

#703 got messy (sorry for that) and this has the same content, including the rework by @G10h4ck.
See discussion on #703 and #56

@G10h4ck
Copy link
Member

G10h4ck commented Jun 18, 2020

opened another one with conflict fixed #726

@G10h4ck G10h4ck closed this Jun 18, 2020
G10h4ck added a commit that referenced this pull request Jun 25, 2020
Batman-adv enable meshing over ethernet replaces #703 #724
@markbirss
Copy link

Oh this good news, adding back support for Batman-adv over ethernet

I have been busy with this also just recently without LibreMesh with devices without radio's
e.g

Cisco Meraki MX60
Cisco ON100
Samsung CY-SWR1100 (the onboard radio's never worked with OpenWRT)

but will test also when I get some time

Im also waiting for some 10Gbit Fiber Networks cards that are supported under OpenWRT for X86 builds

@markbirss
Copy link

Ok, i tested snapshot with LibreMesh changed routing_also to BATMAN_V (to see reported Ethernet throughput) on my

Cisco ON100 - does not work correctly, only has eth0 and eth1 ethernet

Cisco MX60 seems ok ( yes - 1000 )
Samsung CY-SWR1100 seems ok ( no - 1.0 )

also

I tried separate vlan on each port to have as many as 3 bat interface
to have a switch for batman-adv over Ethernet

batman bonding is not working as speed reduces and then reaches 0 (with batctl tp)

@markbirss
Copy link

Hi All

How do I confirm if routing is actually over batman-adv ?

@ilario
Copy link
Member Author

ilario commented Jul 8, 2020

Gosh... I usually check the output of ip route and batctl o

@markbirss
Copy link

@ilario

im not sure my current test setup configuration or build is actually correct?

Could you further detail a test configuration for ethernet only ?

I have disabled wifi and removed wifi related interfaces totally

i have firmware snapshot openwrt with libremesh snapshot feeds

I have hardware

1 x TP-Link TL-WR1043NDv1
1 x Cisco Meraki MX60
1 x Samsung CY-SWR1100

I have connected them together either via LAN ports or from LAN to WAN ports and have internet access on the Cisco Meraki MX60 via WAN port

if I for example rmmod batman-adv i can still ping to internet?

@ilario
Copy link
Member Author

ilario commented Jul 8, 2020

I think we should move this conversation away from this pull request (in favour of the lime-users mailing list or of the chat room, see https://libremesh.org/communication.html ) and only report here the conclusion.

Anyway I never tested the ethernet only option, it's interesting.
In order to disable the mesh via wifi, simply add a couple of lines in /etc/config/lime-node:

config lime system

config lime network

config lime wifi
	list modes 'ap'
	list modes 'apname'

this will override the default list of wifi modes (which includes ieee80211s mesh).

Never never never connect two LibreMesh nodes LAN to WAN, always LAN to LAN.

Do not yet use LibreMesh on top of OpenWrt snapshot (we never tested with the latest OpenWrt changes), on top of OpenWrt 19.07 should work (I would go this way), on top of OpenWrt 18.06 surely works.

If you remove batman-adv module I suppose that in some cases things will work (e.g. networks with < 2 nodes) but normally it should not work (see #666) as nobody implemented the possibility to use LibreMesh without Batman-adv, I believe.

@markbirss
Copy link

@ilario
understood

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants