AddBatmanAdv » Historial » Versió 1
Agustí Moll Garcia, 07-05-2013 00:06
1 | 1 | Agustí Moll Garcia | h1. Add BATMAN-Adv Cloud |
---|---|---|---|
2 | |||
3 | 0. Compile module batman-adv: |
||
4 | |||
5 | 1. Make interface in /etc/config/network: |
||
6 | <pre> |
||
7 | config interface 'mesh_batadv' |
||
8 | option ifname 'wlan1' |
||
9 | option mtu '1528' |
||
10 | option proto 'batadv' |
||
11 | option mesh 'bat0' |
||
12 | </pre> |
||
13 | 2. Add device in interface lan (bridge): |
||
14 | <pre> |
||
15 | config interface 'lan' |
||
16 | option type 'bridge' |
||
17 | list ifname 'eth0.1' |
||
18 | list ifname 'bat0' |
||
19 | .... |
||
20 | </pre> |
||
21 | 3. Configure /etc/config/batman-adv associed device and interface and active ap_isolation |
||
22 | <pre> |
||
23 | config 'mesh' 'bat0' |
||
24 | option 'interfaces' 'mesh_batadv' |
||
25 | option 'aggregated_ogms' |
||
26 | option 'ap_isolation' '1' |
||
27 | option 'bonding' |
||
28 | option 'fragmentation' |
||
29 | option 'gw_bandwidth' |
||
30 | option 'gw_mode' |
||
31 | option 'gw_sel_class' |
||
32 | option 'log_level' |
||
33 | option 'orig_interval' |
||
34 | option 'vis_mode' |
||
35 | option 'bridge_loop_avoidance' |
||
36 | </pre> |
||
37 | 4. reload network or reboot |
||
38 | |||
39 | 5. Use batctl to check cloud. |