Projecte

General

Perfil

Actions

Wiki » Historial » Revisió 3

« Anterior | Revisió 3/68 (diferencies) | Següent »
Axel Neumann, 25-08-2012 17:34


Wiki

Bmx6 is a lightweight routing protocol for Linux based operating systems.
The following intro provides kind of tutorial to get started.

In its most simple configuration, the only required parameter are the interfaces names that should be used for meshing.
The following example starts bmx6 on interface wlan0:

bmx6 dev=wlan0

However, to let this simple command work as expected also check the following basic requirements:

  • bmx6 must be executed in root context (with super user permissions). If you are not already root prepend all commands with sudo (eg: sudo bmx6 dev=wlan0 ).
  • NO IP address needs to be configured. By default bmx6 assumes IPv6 and autoconfigures an ULA based IPv6 address for each interface. But the interfaces must be UP. The linux ip command can do this for you (eg: ip link set wlan0 up ). Also, if you are using a wireless interface, the wireless interface settings must be set correctly so that link-layer connectivity is given with bmx6 daemons running on other nodes (computers). The good old iwconfig command may help to achieve that. For example iwconfig wlan0 mode ad-hoc ap 02:ca:ff:ee:ba:be channel 11 essid my-mesh-network is a typical configuration for a wireless mesh setup.
  • Bmx6 (by default) works in daemon mode, thus continues to work in background. To let it run in foreground specify a debug level with the startup command like: bmx6 debug=0 dev=bmx6 . Of course you may need to kill a previously started bmx6 daemon beforehand ( killall bmx6 )

If everything went fine bmx6 is running now, searching for neighboring bmx6 daemons via the configured link and coordinates with them to learn about existence of and routes to all other bmx6 nodes in the network.
To access status information of the bmx6 daemon which has just been started a second bmx6 process can be launched in client mode to connect to the main bmx6 daemon and retrieve the desired information.

config-plugin

json-plugin

sms-plugin

quagga-plugin

Misc

Tunnel

Actualitzat per Axel Neumann fa més de 11 anys · 3 revisions