[doc] master: Merge branch 'backup-redmine/2019-09-17' (b210854)
by postmaster@open-mesh.org
Repository : ssh://git@open-mesh.org/doc
On branch : master
>---------------------------------------------------------------
commit b2108544a2f7d2b98fe8c609f2ff10c75bce07e2
Merge: 32b3abd c37ad79
Author: Sven Eckelmann <sven(a)narfation.org>
Date: Tue Sep 17 10:52:53 2019 +0200
Merge branch 'backup-redmine/2019-09-17'
>---------------------------------------------------------------
b2108544a2f7d2b98fe8c609f2ff10c75bce07e2
2 years, 9 months
[doc] backup-redmine/2019-09-17, master: doc: alfred/Wiki (1e38432)
by postmaster@open-mesh.org
Repository : ssh://git@open-mesh.org/doc
On branches: backup-redmine/2019-09-17,master
>---------------------------------------------------------------
commit 1e384323f8a7e9aba5c72e408174e9ac09c5cf23
Author: Sven Eckelmann <sven(a)narfation.org>
Date: Tue Sep 17 10:18:53 2019 +0000
doc: alfred/Wiki
>---------------------------------------------------------------
1e384323f8a7e9aba5c72e408174e9ac09c5cf23
alfred/Wiki.textile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/alfred/Wiki.textile b/alfred/Wiki.textile
index b11e1f1..7d28328 100644
--- a/alfred/Wiki.textile
+++ b/alfred/Wiki.textile
@@ -17,5 +17,5 @@ See the "README":https://git.open-mesh.org/alfred.git/blob_plain/refs/heads/mast
h2. Further resources
- * alfred slave on android: https://github.com/basros/alfreda
- * Wireshark dissector for alfred: https://github.com/basros/alfred-dissector
\ No newline at end of file
+* alfred slave on android: https://github.com/basros/alfreda
+* Wireshark dissector for alfred: https://github.com/basros/alfred-dissector
\ No newline at end of file
2 years, 9 months
[doc] backup-redmine/2019-09-17, master: doc: batman-adv/Understand-your-batman-adv-network (3e2ac29)
by postmaster@open-mesh.org
Repository : ssh://git@open-mesh.org/doc
On branches: backup-redmine/2019-09-17,master
>---------------------------------------------------------------
commit 3e2ac295a3d1b4524b95db1c752ddf8660654539
Author: Sven Eckelmann <sven(a)narfation.org>
Date: Sun Sep 15 21:25:12 2019 +0000
doc: batman-adv/Understand-your-batman-adv-network
>---------------------------------------------------------------
3e2ac295a3d1b4524b95db1c752ddf8660654539
.../Understand-your-batman-adv-network.textile | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/batman-adv/Understand-your-batman-adv-network.textile b/batman-adv/Understand-your-batman-adv-network.textile
index b92d293..617d7fe 100644
--- a/batman-adv/Understand-your-batman-adv-network.textile
+++ b/batman-adv/Understand-your-batman-adv-network.textile
@@ -19,7 +19,7 @@ The printed table begins with a header line with some more or less useful status
Sample output:
<pre>
-root@node01:~# batctl -m bat0 n
+root@node01:~# batctl meshif bat0 n
[B.A.T.M.A.N. adv 2019.1, MainIF/MAC: enp0s3/02:ba:de:af:fe:01 (bat0/1a:5d:cd:7d:30:b4 BATMAN_IV)]
IF Neighbor last-seen
enp0s3 02:ba:de:af:fe:05 0.356s
@@ -38,7 +38,7 @@ IF Neighbor last-seen
Sample output:
<pre>
-root@node01:~# batctl -m bat0 n
+root@node01:~# batctl meshif bat0 n
[B.A.T.M.A.N. adv 2019.1, MainIF/MAC: enp0s3/02:ba:de:af:fe:01 (bat0/6a:e3:de:40:22:88 BATMAN_V)]
IF Neighbor last-seen
02:ba:de:af:fe:05 0.472s ( 5.0) [ enp0s3]
@@ -64,7 +64,7 @@ Each batman node maintains a list of all other nodes in the network and remember
Sample output:
<pre>
-root@node01:~# batctl -m bat0 o
+root@node01:~# batctl meshif bat0 o
[B.A.T.M.A.N. adv 2019.1, MainIF/MAC: enp0s3/02:ba:de:af:fe:01 (bat0/06:23:9d:ef:ec:90 BATMAN_IV)]
Originator last-seen (#/255) Nexthop [outgoingIF]
02:ba:de:af:fe:03 0.896s (141) 02:ba:de:af:fe:05 [ enp0s3]
@@ -120,7 +120,7 @@ root@node01:~# batctl o
With batman 2014.1.0 the concept of a routing table per interface was introduced. As a result each interface will expose its routing table:
<pre>
-batctl -m ${meshif} o -i ${interface}
+batctl meshif ${meshif} o -i ${interface}
</pre>
The routing table format is identical to the default table.
@@ -141,7 +141,7 @@ The local translation table (mac addresses announced by this host) can be found
Sample output:
<pre>
-root@node01:~# batctl -m bat0 tl
+root@node01:~# batctl meshif bat0 tl
[B.A.T.M.A.N. adv 2019.1, MainIF/MAC: enp0s3/02:ba:de:af:fe:01 (bat0/06:23:9d:ef:ec:90 BATMAN_IV), TTVN: 2]
Client VID Flags Last seen (CRC )
06:23:9d:ef:ec:90 0 [.P....] 0.000 (0xaca3c0fd)
@@ -179,7 +179,7 @@ The global translation table (mac addresses announced by other hosts) can be fou
Sample output:
<pre>
-root@node01:~# batctl -m bat0 tg
+root@node01:~# batctl meshif bat0 tg
[B.A.T.M.A.N. adv 2019.1, MainIF/MAC: enp0s3/02:ba:de:af:fe:01 (bat0/06:23:9d:ef:ec:90 BATMAN_IV)]
Client VID Flags Last ttvn Via ttvn (CRC )
* 33:33:ff:77:a7:41 -1 [....] ( 2) 02:ba:de:af:fe:03 ( 2) (0x2d4b7679)
@@ -229,7 +229,7 @@ The gateway table lists all available batman-adv gateways in this network (see t
For example:
<pre>
-root@node01:~# batctl -m bat0 gwl
+root@node01:~# batctl meshif bat0 gwl
[B.A.T.M.A.N. adv 2019.1, MainIF/MAC: enp0s3/02:ba:de:af:fe:01 (bat0/06:23:9d:ef:ec:90 BATMAN_IV)]
Router ( TQ) Next Hop [outgoingIf] Bandwidth
02:ba:de:af:fe:03 (255) 02:ba:de:af:fe:03 [ enp0s3]: 2.0/0.5 MBit
@@ -281,7 +281,7 @@ Note:
<pre>
-root@node01:~# batctl -m bat0 bbt
+root@node01:~# batctl meshif bat0 bbt
[B.A.T.M.A.N. adv 2019.1, MainIF/MAC: enp0s3/02:ba:de:af:fe:01 (bat0/06:23:9d:ef:ec:90 BATMAN_IV), group id: 0x9053]
Originator VID last seen (CRC )
fe:f0:00:00:02:01 on -1 4.000s (0bab)
@@ -304,7 +304,7 @@ A subset of the entries belonging to this cache are also the entries which the n
For example:
<pre>
-root@node01:~# batctl -m bat0 dc
+root@node01:~# batctl meshif bat0 dc
[B.A.T.M.A.N. adv 2019.1, MainIF/MAC: enp0s3/02:ba:de:af:fe:01 (bat0/06:23:9d:ef:ec:90 BATMAN_IV)]
Distributed ARP Table (bat0):
IPv4 MAC VID last-seen
@@ -374,7 +374,7 @@ h2. Routing algorithm
Batman-adv allows [[Tweaking|changing the routing algorithm]] at runtime. It also exports the list of available routing protocols:
<pre>
-root@node01:~# batctl -m bat0 ra
+root@node01:~# batctl meshif bat0 ra
Active routing protocol configuration:
* bat0: BATMAN_IV
2 years, 9 months
[doc] backup-redmine/2019-09-17, master: doc: batman-adv/Fragmentation-technical (edc32af)
by postmaster@open-mesh.org
Repository : ssh://git@open-mesh.org/doc
On branches: backup-redmine/2019-09-17,master
>---------------------------------------------------------------
commit edc32afc53b224ec8cde9cfa9e69c5593ff4da7e
Author: Sven Eckelmann <sven(a)narfation.org>
Date: Sun Sep 15 21:22:30 2019 +0000
doc: batman-adv/Fragmentation-technical
>---------------------------------------------------------------
edc32afc53b224ec8cde9cfa9e69c5593ff4da7e
batman-adv/Fragmentation-technical.textile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/batman-adv/Fragmentation-technical.textile b/batman-adv/Fragmentation-technical.textile
index e452192..1ca1c66 100644
--- a/batman-adv/Fragmentation-technical.textile
+++ b/batman-adv/Fragmentation-technical.textile
@@ -63,8 +63,8 @@ First of all, fragmentation shouldn't be needed (except for tt-tables, see below
It can be enabled and disabled via batctl:
<pre>
-% batctl -m bat0 fragmentation 1 # enable (default)
-% batctl -m bat0 fragmentation 0 # disable
+% batctl meshif bat0 fragmentation 1 # enable (default)
+% batctl meshif bat0 fragmentation 0 # disable
</pre>
2 years, 9 months
[doc] backup-redmine/2019-09-17, master: doc: batman-adv/Multicast-optimizations (ca53e7b)
by postmaster@open-mesh.org
Repository : ssh://git@open-mesh.org/doc
On branches: backup-redmine/2019-09-17,master
>---------------------------------------------------------------
commit ca53e7b4352cc321867e0bb6d32ada0c5627f593
Author: Sven Eckelmann <sven(a)narfation.org>
Date: Sun Sep 15 21:23:16 2019 +0000
doc: batman-adv/Multicast-optimizations
>---------------------------------------------------------------
ca53e7b4352cc321867e0bb6d32ada0c5627f593
batman-adv/Multicast-optimizations.textile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/batman-adv/Multicast-optimizations.textile b/batman-adv/Multicast-optimizations.textile
index d65dd89..640e148 100644
--- a/batman-adv/Multicast-optimizations.textile
+++ b/batman-adv/Multicast-optimizations.textile
@@ -42,7 +42,7 @@ h2. How to deactivate the multicast optimizations?
By default multicast optimizations are activated. You can force the old behaviour, classic flooding of all multicast frames, on a certain node via the following command, executed as root (here: bat0):
-<pre>batctl -m bat0 multicast_forceflood 1</pre>
+<pre>batctl meshif bat0 multicast_forceflood 1</pre>
Note: This only affects multicast traffic originating from this specific node.
@@ -50,7 +50,7 @@ h2. How to tune the multicast fanout limit?
By default the multicast fanout limit is 16. You can change this limit via:
-<pre>batctl -m bat0 multicast_fanout <num></pre>
+<pre>batctl meshif bat0 multicast_fanout <num></pre>
Note: This only affects multicast traffic originating from this specific node.
2 years, 9 months
[doc] backup-redmine/2019-09-17, master: doc: batman-adv/Bridge-loop-avoidance-Testcases (e0587db)
by postmaster@open-mesh.org
Repository : ssh://git@open-mesh.org/doc
On branches: backup-redmine/2019-09-17,master
>---------------------------------------------------------------
commit e0587db2a4b8639285ac6fa7c3290bf1867c5e85
Author: Sven Eckelmann <sven(a)narfation.org>
Date: Sun Sep 15 21:21:24 2019 +0000
doc: batman-adv/Bridge-loop-avoidance-Testcases
>---------------------------------------------------------------
e0587db2a4b8639285ac6fa7c3290bf1867c5e85
batman-adv/Bridge-loop-avoidance-Testcases.textile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/batman-adv/Bridge-loop-avoidance-Testcases.textile b/batman-adv/Bridge-loop-avoidance-Testcases.textile
index 7d08b76..8d01f6d 100644
--- a/batman-adv/Bridge-loop-avoidance-Testcases.textile
+++ b/batman-adv/Bridge-loop-avoidance-Testcases.textile
@@ -37,7 +37,7 @@ In this test, the first node A can't reach the last one C due to a limited horiz
* Test 2: Client 1 and Client 2 should be able to ping each other.
+note1+: Test 2 will only work if BATMAN runs over the backbone, e.g. by calling "batctl if add br0".
-+note2+: Limited horizon may be easily simulated by increasing the hop_penalty, e.g. "batctl -m bat0 hop_penalty 230" will have a 3 hop range in a network without packet loss.
++note2+: Limited horizon may be easily simulated by increasing the hop_penalty, e.g. "batctl meshif bat0 hop_penalty 230" will have a 3 hop range in a network without packet loss.
h3. VLAN support
2 years, 9 months
[doc] backup-redmine/2019-09-17, master: doc: batman-adv/Tweaking (f7f7d04)
by postmaster@open-mesh.org
Repository : ssh://git@open-mesh.org/doc
On branches: backup-redmine/2019-09-17,master
>---------------------------------------------------------------
commit f7f7d0438fd23843c12f830a39e21ccc9bf22082
Author: Sven Eckelmann <sven(a)narfation.org>
Date: Sun Sep 15 18:54:40 2019 +0000
doc: batman-adv/Tweaking
>---------------------------------------------------------------
f7f7d0438fd23843c12f830a39e21ccc9bf22082
batman-adv/Tweaking.textile | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/batman-adv/Tweaking.textile b/batman-adv/Tweaking.textile
index d075fb6..1d228e7 100644
--- a/batman-adv/Tweaking.textile
+++ b/batman-adv/Tweaking.textile
@@ -306,7 +306,7 @@ The B.A.T.M.A.N. V routing algorithm also uses settings for the enslaved interfa
<pre>
# eth0
-batctl meshif bat0 hardif eth0 elp_interval
+batctl hardif eth0 elp_interval
disabled
# eth1
@@ -321,7 +321,7 @@ Available since: batman-adv 2019.3
Defines the interval in milliseconds in which batman-adv emits probing packets for neighbor sensing (ELP) in B.A.T.M.A.N. V.
<pre>
-batctl meshif bat0 hardif eth0 elp_interval
+batctl hardif eth0 elp_interval
disabled
</pre>
@@ -332,6 +332,6 @@ Available since: batman-adv 2019.3
Defines the throughput value to be used by B.A.T.M.A.N. V when estimating the link throughput using this interface. If the value is set to 0 then batman-adv will try to estimate the throughput by itself.
<pre>
-batctl meshif bat0 hardif eth0 throughput_override
+batctl hardif eth0 throughput_override
0
</pre>
\ No newline at end of file
2 years, 9 months
[doc] backup-redmine/2019-09-17, master: doc: batman-adv/Debian_batman-adv_AutoStartup (cc4bade)
by postmaster@open-mesh.org
Repository : ssh://git@open-mesh.org/doc
On branches: backup-redmine/2019-09-17,master
>---------------------------------------------------------------
commit cc4badecae96b5c5f2171f71d846ae61cfcba149
Author: Sven Eckelmann <sven(a)narfation.org>
Date: Sun Sep 15 21:21:57 2019 +0000
doc: batman-adv/Debian_batman-adv_AutoStartup
>---------------------------------------------------------------
cc4badecae96b5c5f2171f71d846ae61cfcba149
batman-adv/Debian_batman-adv_AutoStartup.textile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/batman-adv/Debian_batman-adv_AutoStartup.textile b/batman-adv/Debian_batman-adv_AutoStartup.textile
index 5b301cd..3662ff1 100644
--- a/batman-adv/Debian_batman-adv_AutoStartup.textile
+++ b/batman-adv/Debian_batman-adv_AutoStartup.textile
@@ -137,11 +137,11 @@ then configure your batman-adv interfaces
<pre>
auto bat0
iface bat0 inet6 auto
- pre-up /usr/sbin/batctl -m bat0 if add wlan0
+ pre-up /usr/sbin/batctl meshif bat0 if add wlan0
auto bat1
iface bat1 inet6 auto
- pre-up /usr/sbin/batctl -m bat1 if add wlan1
+ pre-up /usr/sbin/batctl meshif bat1 if add wlan1
</pre>
2 years, 9 months
[doc] backup-redmine/2019-09-17, master: doc: batman-adv/Tweaking (42c6f67)
by postmaster@open-mesh.org
Repository : ssh://git@open-mesh.org/doc
On branches: backup-redmine/2019-09-17,master
>---------------------------------------------------------------
commit 42c6f677499865b4a34fa19b193f68533e849f7b
Author: Sven Eckelmann <sven(a)narfation.org>
Date: Sun Sep 15 18:53:45 2019 +0000
doc: batman-adv/Tweaking
>---------------------------------------------------------------
42c6f677499865b4a34fa19b193f68533e849f7b
batman-adv/Tweaking.textile | 54 ++++++++++++++++++++++-----------------------
1 file changed, 27 insertions(+), 27 deletions(-)
diff --git a/batman-adv/Tweaking.textile b/batman-adv/Tweaking.textile
index 4baf9cd..d075fb6 100644
--- a/batman-adv/Tweaking.textile
+++ b/batman-adv/Tweaking.textile
@@ -12,14 +12,14 @@ To better understand the background of the new interface configuration concept (
To activate a given supported interface on a mesh cloud simply add it via batctl to an mesh interface. You can freely choose the mesh interface name but for the sake of simplicity we continue to use "bat0". Unsupported interface are for example. loopback, non-ethernet and batman's own interfaces
<pre>
-batctl -m bat0 if add eth0
+batctl meshif bat0 if add eth0
</pre>
Repeat this step for all interfaces you wish to add. All interfaces using the same mesh cloud interface belong into the same mesh cloud. Now batman-adv starts using/broadcasting on this/these interface(s).
To deactivate an interface you have to use batctl again:
<pre>
-batctl -m bat0 if del eth0
+batctl meshif bat0 if del eth0
</pre>
h3. ELP interval
@@ -29,7 +29,7 @@ Available since: batman-adv 2016.1
Defines the interval in milliseconds in which B.A.T.M.A.N. V emits probing packets for neighbor sensing (ELP). The more packets are sent the faster ELP / B.A.T.M.A.N. V detects a new neighbor or link failure at the cost of overhead. B.A.T.M.A.N. IV ignores the setting entirely.
<pre>
-cat /sys/class/net/eth0/batman_adv/elp_interval
+batctl hardif eth0 elp_interval
500
</pre>
@@ -40,7 +40,7 @@ Available since: batman-adv 2016.1
Defines the throughput value to be used by B.A.T.M.A.N. V when estimating the link throughput for all neighbors connected to this interface. If the value is set to 0 then batman-adv will try to estimate the throughput by itself by either querying the WiFi driver or the Ethernet interface. B.A.T.M.A.N. IV ignores the setting entirely.
<pre>
-cat /sys/class/net/eth0/batman_adv/throughput_override
+batctl hardif eth0 throughput_override
0.0 MBit
</pre>
@@ -73,7 +73,7 @@ Available since: batman-adv 2010.0.0
In order to reduce the protocol overhead created to find all the participants in the network, batman has the ability to collect & aggregate these protocol messages (called originator messages or ogm) and sending them in a single packet instead of several small packets. This feature is enabled by default, since it is helpful in most cases. If you intend to run batman-adv in a highly mobile environment (for example cars) you might want to turn it off as it introduces a (normally negligible) network update delay.
<pre>
-batctl -m bat0 aggregation
+batctl meshif bat0 aggregation
enabled
</pre>
@@ -84,7 +84,7 @@ Available since: batman-adv 2011.4.0
Standard WiFi AccessPoints support a feature known as 'AP isolation' which prevents one connected wireless client to talk to another wireless client. In most situations this is considered a security feature. If the WiFi AP interface is bridged into a batman-adv mesh network it might be desirable to extend this wireless client isolation throughout the mesh network, therefore batman-adv has the ability to do just that (disabled by default). This setting only affects packets without any VLAN tag (untagged packets). The ap isolation setting for VLAN tagged packets is modifiable through the per-VLAN settings.
<pre>
-batctl -m bat0 ap_isolation
+batctl meshif bat0 ap_isolation
disabled
</pre>
@@ -95,7 +95,7 @@ Available since: batman-adv 2010.1.0
When running the mesh over multiple WiFi interfaces per node batman-adv is capable of optimizing the traffic flow to gain maximum performance. Per default it operates in the "interface alternating" mode (which is suitable for most situations) that switches the WiFi interface with each hop to avoid store & forward. Alternatively, batman-adv can be switched into "bonding mode" in which batman-adv is using all interfaces at the same time to send & receive data. However, this mode is only recommended in special one-hop cases. You can read about our [[open-mesh:2010-06-13-wbm2010-bracciano|alternatebonding test results]] to see what suits you best.
<pre>
-batctl -m bat0 bonding
+batctl meshif bat0 bonding
disabled
</pre>
@@ -107,7 +107,7 @@ In bridged LAN setups it is advisable to enable the bridge loop avoidance in ord
It is necessary to activate the bridge loop avoidance at compile time before you can use this feature (consult "the README.external file":https://git.open-mesh.org/batman-adv.git/blob/refs/heads/master:/README.external to learn how to set the compile option).
<pre>
-batctl -m bat0 bridge_loop_avoidance
+batctl meshif bat0 bridge_loop_avoidance
disabled
</pre>
@@ -119,7 +119,7 @@ When enabled the distributed ARP table forms a mesh-wide ARP cache that helps no
It is necessary to activate the distributed ARP table at compile time before you can use this feature (consult "the README.external file":https://git.open-mesh.org/batman-adv.git/blob/refs/heads/master:/README.external to learn how to set the compile option).
<pre>
-batctl -m bat0 distributed_arp_table
+batctl meshif bat0 distributed_arp_table
enabled
</pre>
@@ -132,7 +132,7 @@ Batman-adv has a built-in layer 2 fragmentation for unicast data flowing through
+Note+: Although the fragmentation is rather handy it comes with a severe performance penalty (as every fragmentation does), therefore it should be avoided to make use of this feature whenever possible.
<pre>
-batctl -m bat0 fragmentation
+batctl meshif bat0 fragmentation
enabled
</pre>
@@ -143,7 +143,7 @@ Available since: batman-adv 2011.0.0
The [[gateways|internet gateway support]] allows each gateway to also announce its available internet bandwidth. Clients looking for the most suitable gateway to connect to receive this bandwidth announcement and can make use of it while choosing their gateway. Per default a bandwidth of 10.0/2.0 MBit is assumed. Details regarding the syntax of the bandwidth setting can be found in the "batctl manpage":https://downloads.open-mesh.org/batman/manpages/batctl.8.html.
<pre>
-batctl -m bat0 gw_mode
+batctl meshif bat0 gw_mode
server (announced bw: 10.0/2.0 MBit)
</pre>
@@ -155,13 +155,13 @@ If multiple batman-adv gateways are available a batman-adv client node selects i
<pre>
# switch to server and announce 10Mbit/s download + 2Mbit/s upload
-batctl -m bat0 gw_mode server 10Mbit/2Mbit
+batctl meshif bat0 gw_mode server 10Mbit/2Mbit
# switch to client and and use selection class 20
-batctl -m bat0 gw_mode client 20
+batctl meshif bat0 gw_mode client 20
# disable gateway mode
-batctl -m bat0 gw_mode off
+batctl meshif bat0 gw_mode off
</pre>
h3. hop penalty
@@ -173,7 +173,7 @@ The hop penalty setting allows to modify batman-adv's preference for multihop ro
Since 2014.1.0, the hop penalty is applied in a slightly different way: it is applied once for OGMs leaving on a different interfaces it has been received, and applied twice if its leaving on the same interface if that is a WiFi interface. This is done to penalize half-duplex routes, and prefer routes with changing interfaces if there is a path with similar quality available. The default hop penalty of '15' is a reasonable value for most setups and probably does not need to be changed. However, mobile nodes could choose a value of 255 (maximum value) to avoid being chosen as a router by other nodes.
<pre>
-batctl -m bat0 hop_penalty
+batctl meshif bat0 hop_penalty
30
</pre>
@@ -184,7 +184,7 @@ Available since: batman-adv 2014.1.0
The isolation mark is an extension to the 'ap isolation' that allows the user to decide which client has to be classified as isolated by means of firewall rules, thus increasing the flexibility of the AP isolation feature. batman-adv extracts the fwmark that the firewall attached to each packet it receives through the soft-interface and decides based on this value if the source client has to be considered as isolated or not. The isolation mark needs to be configured in batman-adv in the form 'value/mask'. Configuration and application details can be found on the [[batman-adv:Extended-isolation|extended ap isolation page]].
<pre>
-batctl -m bat0 isolation_mark
+batctl meshif bat0 isolation_mark
0x00000000/0x00000000
</pre>
@@ -195,7 +195,7 @@ Available since: batman-adv 2010.1.0
The standard warning and error messages which help to setup & operate batman-adv are sent to the kernel log. However, batman-adv also offers extended logs that can be used to understand and/or debug the routing protocol. Keep in mind that it is necessary to activate debugging at compile time before you can use these facilities (consult "the README.external file":https://git.open-mesh.org/batman-adv.git/blob/refs/heads/master:/README.external to learn how to set the compile option). Per default, the logging is deactivated (log level: 0).
<pre>
-batctl -m bat0 loglevel
+batctl meshif bat0 loglevel
[x] all debug output disabled (none)
[ ] messages related to routing / flooding / broadcasting (batman)
[ ] messages related to route added / changed / deleted (routes)
@@ -215,7 +215,7 @@ Enables more efficient, group aware multicast forwarding infrastructure in batma
The [[Multicast-optimizations|multicast optimization documentation]] provides an excellent starting point to learn about the general ideas of these optimizations.
<pre>
-batctl -m bat0 multicast_mode
+batctl meshif bat0 multicast_mode
enabled
</pre>
@@ -227,7 +227,7 @@ When enabled network coding increases the WiFi throughput by combining multiple
It is necessary to activate network coding at compile time before you can use this feature (consult "the README.external file":https://git.open-mesh.org/batman-adv.git/blob/refs/heads/master:/README.external to learn how to set the compile option).
<pre>
-batctl -m bat0 network_coding
+batctl meshif bat0 network_coding
enabled
</pre>
@@ -238,7 +238,7 @@ Available since: batman-adv 2010.0.0
The value specifies the interval (milliseconds) in which batman-adv floods the network with its protocol information. The default value of one message per second allows batman to recognize a route change (in its near neighborhood) within a timeframe of maximal one minute (most likely much sooner). In a very static environment (batman nodes are not moving, rare ups & downs of nodes) you might want to increase the value to save bandwidth. On the other hand, it might prove helpful to decrease the value in a highly mobile environment (e.g. the aforementioned cars) but keep in mind that this will drastically increase the traffic. Unless you experience problems with your setup, it is suggested you keep the default value.
<pre>
-batctl -m bat0 orig_interval
+batctl meshif bat0 orig_interval
1000
</pre>
@@ -268,11 +268,11 @@ The batX mesh interface created by batman-adv also supports VLANs which enables
For example, after adding VLAN 0 and VLAN 1 on top of bat0, the commands can be accessed via the vlan id:
<pre>
# vlan 1
-batctl -m bat0 vid 1 ap_isolation
+batctl meshif bat0 vid 1 ap_isolation
disabled
# vlan 0
-batctl -m bat0 vid 0 ap_isolation
+batctl meshif bat0 vid 0 ap_isolation
disabled
</pre>
@@ -295,7 +295,7 @@ Available since: batman-adv 2014.0.0
Standard WiFi AccessPoints support a feature known as 'AP isolation' which prevents one connected wireless client to talk to another wireless client. In most situations this is considered a security feature. If the WiFi AP interface is bridged into a batman-adv mesh network it might be desirable to extend this wireless client isolation throughout the mesh network, therefore batman-adv has the ability to do just that (disabled by default).
<pre>
-batctl -m bat0 vid 1 ap_isolation
+batctl meshif bat0 vid 1 ap_isolation
disabled
</pre>
@@ -306,11 +306,11 @@ The B.A.T.M.A.N. V routing algorithm also uses settings for the enslaved interfa
<pre>
# eth0
-batctl -m bat0 hardif eth0 elp_interval
+batctl meshif bat0 hardif eth0 elp_interval
disabled
# eth1
-batctl -m bat0 hardif eth1 elp_interval
+batctl meshif bat0 hardif eth1 elp_interval
disabled
</pre>
@@ -321,7 +321,7 @@ Available since: batman-adv 2019.3
Defines the interval in milliseconds in which batman-adv emits probing packets for neighbor sensing (ELP) in B.A.T.M.A.N. V.
<pre>
-batctl -m bat0 hardif eth0 elp_interval
+batctl meshif bat0 hardif eth0 elp_interval
disabled
</pre>
@@ -332,6 +332,6 @@ Available since: batman-adv 2019.3
Defines the throughput value to be used by B.A.T.M.A.N. V when estimating the link throughput using this interface. If the value is set to 0 then batman-adv will try to estimate the throughput by itself.
<pre>
-batctl -m bat0 hardif eth0 throughput_override
+batctl meshif bat0 hardif eth0 throughput_override
0
</pre>
\ No newline at end of file
2 years, 9 months