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

Babeld without VLAN does not run on LAN ethernet ports #596

Open
ilario opened this issue Sep 18, 2019 · 3 comments · May be fixed by #631
Open

Babeld without VLAN does not run on LAN ethernet ports #596

ilario opened this issue Sep 18, 2019 · 3 comments · May be fixed by #631

Comments

@ilario
Copy link
Member

ilario commented Sep 18, 2019

Blocks #581 attempt of solution in #631

tl;dr without VLAN, Babeld currently cannot run on ethernet

When instructing Babeld to run on the plain interfaces, without any VLAN, it fails to run on LAN ethernet ports.
The reason is that they lack an IPv6 Link Local address, and they cannot have it as they are included in br-lan bridge.

So, just in the case of Babeld witout VLAN, we should run it directly over the br-lan bridge.

The problem is that Batman-adv interface is also into the bridge and to have hello packets of Babeld running into Batman-adv would completely break Babeld topology estimation.

So some firewall rules like the ones in lime-proto-bmx6 here will have to be used.

@ilario ilario added the epic label Sep 18, 2019
@ilario
Copy link
Member Author

ilario commented Sep 18, 2019

Seems that we could filter packages from and to port 6696.
https://wiki.reseaulibre.ca/documentation/babel/#firewallconfiguration

Do you think that this solution would be too complex to be active by default?
I mean, there is some interest (see #581) to remove the default VLAN from Babeld, do you think it is still worth, now that we discovered this complication?

@spiccinini
Copy link
Contributor

Thanks @ilario for pointing this out! If it was working good in 17.06 its ok for me using the firewall, I don't know what complications could arise. @G10h4ck ?

@ilario
Copy link
Member Author

ilario commented Sep 25, 2019

I started to get it working in #600. It is not ready to merge but it served well for a 3 days event with 70 participants :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment