gluon/docs/dev/mac_addresses.rst
Marvin Gaube b6f943a054 gluon-core: Document support for additional wired mesh-interfaces
Documents the changes introduced in #2041
2020-06-20 22:43:52 +02:00

27 lines
780 B
ReStructuredText

.. _dev-mac-addresses:
MAC addresses
=============
Many devices don't have enough unique MAC addresses assigned by the vendor
(in batman-adv, each mesh interface needs an own MAC address that must be unique
mesh-wide).
Gluon tries to solve this issue by using a hash of the primary MAC address as a
45 bit MAC address prefix. The resulting 8 addresses are used as follows:
* 0: client0; WAN
* 1: mesh0
* 2: owe0
* 3: wan_radio0 (private WLAN); batman-adv primary address
* 4: client1; LAN
* 5: mesh1
* 6: owe1
* 7: wan_radio1 (private WLAN); mesh VPN
When you need another MAC address, e.g. for adding another Mesh-Interface,
pick an index from an unused feature on your device.
Example: if you don't have wireless meshing enabled on 5 GHz (mesh1),
you can go with index 5.