Repository : ssh://git@open-mesh.org/doc
On branches: backup-redmine/2017-07-13,master
commit 6cc0bacdda7f3b4450b0d9928695e07b92068b41 Author: Marek Lindner mareklindner@neomailbox.ch Date: Mon Aug 22 01:03:12 2011 +0000
doc: batman-adv/Quick-start-guide
6cc0bacdda7f3b4450b0d9928695e07b92068b41 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 b86ea72a..09f374ec 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 1527 +ifconfig wlan0 mtu 1528 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 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. ++Note:+ batman-adv inserts an additional header of 28 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 1528, so that packets with the standard MTU of 1500 can pass normaly through bat0. You might also decrease the MTU to 1472 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 1527 +ifconfig wlan0 mtu 1528 iwconfig wlan0 mode ad-hoc essid my-mesh-network ap 02:12:34:56:78:9A channel 1 </pre>