background image

SECN User Guide

5. Overview of SECN Operation 

This configuration uses Batman-advanced for the mesh rather than Batman as used in earlier 
firmware versions. Batman-advanced uses a different mesh protocol to batman and so the two won't 
interoperate on the same mesh. 
The MP device provides two physical network interfaces, Ethernet cable  and wireless, which are 
configured as follows:

The 

eth0

 interface operates on the MP Ethernet cable connection. 

Two wireless interfaces, 

ath0

 and 

ath1

, are set up on the wireless interface 

wifi0

Batman-adv is configured to run on the 

ath0

 interface using the 

batctl

 command and 

generates the 

bat0

 interface. 

The second wireless interface, 

ath1

, is set up to operate as a WiFi access point using the 

iwconfig

 command. 

The 

bat0

ath1

 and 

eth0

 interfaces are bridged (

br

-

lan

) together in each MP and assigned a 

static IP address, and thus, due to the operation of the mesh via 

bat0

, all the 

ath1

 and 

eth0 

interfaces of all the MPs in the mesh are similarly bridged. 

The default IP address range used for the 

br-lan

 interface is 10.130.1.xxx 

The mesh will operate in a stand-alone configuration, simply connecting attached devices together 
and providing telephony between devices. Alternatively the mesh may be interconnected to a LAN 
to provide access to additional resources, including internet connectivity.
If one of the MP devices is connected via Ethernet cable to a LAN router, then all WiFi and 
Ethernet interfaces connected to the meshed MPs will have access to the LAN resources. 
If there is a DHCP server running on the LAN (eg in the router) then devices configured as DHCP 
clients connected to the MPs will acquire an IP address just as if they were connected directly to the 
LAN.
Note that there is no DHCP server running in a stand-alone mesh arrangement by default, and so in 
this case, attached devices would need to be statically configured for their IP address.

5.1 IP Address Range for MPs

It should be noted that the IP address used for the 

br-lan

 bridge in the MP devices needs to be 

configured during setup, and 

may

 or 

may not

 be made to lie in the IP address space used on the 

LAN to which the mesh may be connected. Operation is essentially the same in both cases, but care 
must be taken to manage the address space in the former case.
IP addresses assigned to MP devices are static. If the IP addresses used for the MP devices lie in the 
same address space as the LAN, then the DHCP server and other devices on the LAN must be 
appropriately configured so that the addresses assigned to the MP devices are left free in order to 
avoid IP address conflicts. In this arrangement, the MP devices will appear on the LAN just as any 
other device with a static IP address, and they may be accessed for management via browser or ssh 
terminal session.
Conversely, if the IP address range used for the MP devices is separate to that used on the LAN, the 
MP devices will not appear on the LAN and there is no need to reserve the address space. In order 

SECN_UserGuideV1d6b

18

Summary of Contents for Mesh Potato

Page 1: ...SECN User Guide Mesh Potato Small Enterprise Campus Network User Guide SECN_UserGuideV1d6b 1...

Page 2: ...een possible without the contributions of many people associated with Village Telco In particular I would like to acknowledge the considerable contributions made by Elektra both in providing technical...

Page 3: ...up 10 Set the root Password 11 Set the br lan Bridge IP Address 12 Set the ath0 IP Address 13 4 4 Advanced Set up 14 Connecting to the MP 14 Set the MP Network Addresses 14 Set the ath0 IP Address 14...

Page 4: ...use of the data network as long as the pass phrase key is kept confidential If one or more of the MP devices is connected via its ethernet port to a LAN with a router DHCP server and internet access a...

Page 5: ...s after the wifi light starts to flash pick up the phone on the 21 MP check for dial tone and dial 22 The other phone should start to ring after a few seconds Repeat the other way around Step 4 Attach...

Page 6: ...etwork either by Ethernet cable or WiFi it will acquire an IP address from the router in exactly the same manner as if it was connected directly to the router The router address space must be managed...

Page 7: ...on assigned a static address in the same range as the MP devices and attached via Ethernet cable or WiFi to any MP device in the network When a workstation is attached to the network either by Etherne...

Page 8: ...g Ubuntu or other Linux distribution on your PC 1 Set up the potato flash application on your PC Download the potato flash file from http elektrad info download MESH POTATO potato flash Save the file...

Page 9: ...rv238 squashfs openwrt atheros vmlinux rv238 lzma Reading rootfs file openwrt atheros root rv238 squashfs with 3801088 bytes Reading kernel file openwrt atheros vmlinux rv238 lzma with 720896 bytes No...

Page 10: ...ntending to connect the mesh to a LAN you may choose to assign addresses from the LAN address space to the MP devices so that they will appear as static IP devices on the LAN In this case just set the...

Page 11: ...your PC to the MP device with an Ethernet cable Set up a network profile for the Ethernet port on your PC with Static IP 172 31 255 253 and Netmask 255 255 255 252 Point your browser to the MP Fallba...

Page 12: ...n click on the Save Apply button at the lower right of the page Once the password as been set and the change committed future logins will require the password to be entered In addition telnet connecti...

Page 13: ...of the MP device s bridge IP address If you are intending to connect the mesh to a LAN you may choose to assign addresses from the LAN address space to the MP devices so that they will appear as stat...

Page 14: ...vides a known fallback address that will work on any device The default setting for this IP address when the device is flashed is 10 10 1 20 and you may choose to change just the last octet of the add...

Page 15: ...ci set network br lan ipaddr 103 130 1 XXX Where xxx is unique to each MP uci commit network Edit the etc config network file config interface lan option type bridge option ifname eth0 bat0 ath1 optio...

Page 16: ...c hostapd conf file interface ath1 bridge br lan driver madwifi Edit BSSID as required ssid Mesh Potato AP country_code DE hw_mode g wpa 1 wpa_passphrase potato potato wpa_key_mgmt WPA PSK macaddr_acl...

Page 17: ...mysecret mysipprovider com b Add a new sipaccount section to define the account details sipaccount host sip mysipprovider com secret mysecret username myusername fromuser myusername insecure port invi...

Page 18: ...ter then all WiFi and Ethernet interfaces connected to the meshed MPs will have access to the LAN resources If there is a DHCP server running on the LAN eg in the router then devices configured as DHC...

Page 19: ...t interface for the batman advanced mesh Batman adv itself bridges all bat0 interfaces in all the mesh devices to a big smart virtual switch This means that all bat0 interfaces in the mesh are link lo...

Page 20: ...onfiguration includes several telephone extension numbers that allow interaction with the device using Interactive Voice Response IVR system These numbers include 2663 C O N F Configure the eth0 br la...

Page 21: ...SECN User Guide SECN_UserGuideV1d6b 21...

Reviews: