Repository : ssh://git@open-mesh.org/doc
On branches: backup-redmine/2017-07-13,master
commit f58685623435fdb2ca5c5dec5465968e722f4dfb Author: Andrew Kondrashov ikken1.0@gmail.com Date: Fri Jul 8 15:33:00 2011 +0000
doc: batman-adv/Quick-start-guide
f58685623435fdb2ca5c5dec5465968e722f4dfb batman-adv/Quick-start-guide.textile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/batman-adv/Quick-start-guide.textile b/batman-adv/Quick-start-guide.textile index 4a8e520d..b86ea72a 100644 --- a/batman-adv/Quick-start-guide.textile +++ b/batman-adv/Quick-start-guide.textile @@ -33,7 +33,7 @@ h3. simple mesh network On all nodes, install batman-adv, load the module and enter the following commands:
<pre> -ifconfig wlan0 mtu 1524 +ifconfig wlan0 mtu 1527 iwconfig wlan0 mode ad-hoc essid my-mesh-network ap 02:12:34:56:78:9A channel 1 </code></pre>
@@ -45,7 +45,7 @@ ifconfig bat0 up
You can now use the automatically assigned IPv6 link-local adresses on bat0 (usually starting with fe80::...), modern operating systems should support this. Or you can assign IPv4 addresses manually on all those nodes (i.e. 'ifconfig bat0 192.168.123.x/24') or one of the laptops in range has to have a DHCP server running on the bat0 interface. As batman-adv is operating on layer 2, even dhcp-messages can be send over the mesh network.
-+Note:+ batman-adv inserts an additional header of 24 bytes into each data packet being send over the mesh. Therefore we are increasing the maximum size of a packet over the plain interfaces to 1524, so that packets with the standard MTU of 1500 can pass normaly through bat0. You might also decrease the MTU to 1476 on all hosts but is usually just do-able in more or less static- and small-scaled mesh-networks. ++Note:+ batman-adv inserts an additional header of 27 bytes into each data packet being send over the mesh. Therefore we are increasing the maximum size of a packet over the plain interfaces to 1527, so that packets with the standard MTU of 1500 can pass normaly through bat0. You might also decrease the MTU to 1473 on all hosts but is usually just do-able in more or less static- and small-scaled mesh-networks.
h3. mixing non-B.A.T.M.A.N. systems with batman-adv
@@ -55,7 +55,7 @@ If you have a couple of computers that you don't want to run batman-adv on but y On each mesh access point, install batman-adv first, load the module and enter the following commands:
<pre> -ifconfig wlan0 mtu 1524 +ifconfig wlan0 mtu 1527 iwconfig wlan0 mode ad-hoc essid my-mesh-network ap 02:12:34:56:78:9A channel 1 </pre>