Mesh mit B.A.T.M.A.N

Vorgedanken

Dumme Frage: geht das überhaupt mit virtual Interfaces oder muss das anders geregelt werden?

# creating VAPs on Atheros having different MACs
wlanconfig ath0 destroy
wlanconfig ath0 create wlandev wifi0 wlanmode ahdemo
wlanconfig ath1 destroy
wlanconfig ath1 create wlandev wifi0 wlanmode ap bssid
wlanconfig ath2 destroy
wlanconfig ath2 create wlandev wifi0 wlanmode ap bssid

Netzwerk

IPs

DHCPD

ESSIDs

Auf allen Knoten gleich

BSSIDs

Auf allen Knoten und allen Interfaces verschieden. Erledigt

wlanconfig ath0 create wlandev wifi0 ... bssid

für uns. Ggf. kann man noch das letzte Oktet anpassen, z.B. die Knoten-Nummer setzen.

WLAN-Mode

WPA2

B.A.T.M.A.N

/etc/config/batman:

     config batman general
     option interface                ath0
     option announce                 10.0.${Knotennummer}.0/24; 10.1.${Knotennummer}.0/24
     #option gateway_class            6mbit/1mbit
     option gateway_class            
     option originator_interval
     #option preferred_gateway        ${default_gw}
     option preferred_gateway
     option routing_class
     option visualisation_srv

batmand ath0 &
route -n