OLSRD Implement Ad-hoc Networking

Source: Internet
Author: User

OLSR Implement Ad-hoc Group Network

First, the installation of software packages

1. Installation of OLSRD software package

Libpthread_0.9.33.2-1_ar71xx.ipk

Olsrd_0.6.6.2-4_ar71xx.ipk

2, the installation of Luci

Olsrd-mod-jsoninfo_0.6.6.2-4_ar71xx.ipk

Luci-lib-luaneightbl_0.12+git-15.037.36195-f1e2a26-1_ar71xx.ipk

Luci-app-olsr_0.12+git-15.037.36195-f1e2a26-1_ar71xx.ipk

3, the installation of Olsrd-server

Olsrd-mod-nameservice_0.6.6.2-4_ar71xx.ipk

Luci-app-olsr-services_0.12+git-15.037.36195-f1e2a26-1_ar71xx.ipk

4, the installation of Olsrd-viz

Olsrd-mod-txtinfo_0.6.6.2-4_ar71xx.ipk

Luci-app-olsr-viz_0.12+git-15.037.36195-f1e2a26-1_ar71xx.ipk

Note: If you are unable to connect directly via opkg install, you can add the compile option directly to the Menuconfig, and you can find the package by pressing "/".

Ii. Setup Overview (3 nodes in the network, for example)

LAN IP for each node can be set on different network segments, my settings are as follows

Node number

LAN IP

Wireless AP Settings

Ad-hoc IP

1

172.16.1.11

Sc-wifi11

172.16.2.11

2

172.16.1.12

Sc-wifi12

172.16.2.12

3

172.16.1.13

Sc-wifi13

172.16.2.13

Third, the specific settings

With the node number 3 as an example, set

1, modify the LAN IP to 172.16.1.13;

2, add WiFi hotspot sc-wifi13, then you can connect this node by wireless, do the following operations;

3, Network >> Wireless, click "Add"

4, channel for 6,essid default OpenWrt, mode for Point-to-point ad-hoc, network to create a network mesh, finally click "Save and Apply", set the effect as follows

5, click Network >> Interface, enter into the mesh interface settings, the protocol select static address, the IP address is 172.16.2.13, the subnet mask is 255.255.255, save and apply, the effect is as follows

6, the firewall to create a new mesh firewall, set the following

7, enter the service >>OLSR IPV4

Select mesh at the interface, the effect is as follows

Iv. Other Settings

1, the other two nodes are similar settings, note LAN IP is different, Ad-hoc WLAN IP to be set in the same network segment, three nodes of the channel to be on the same channel, otherwise the network will not succeed.

2. View the status of the network

Enter Status >>OLSR >>olsr-viz

You can ping each other at this time.

Five, more settings

1, let the computer also join this mesh network

(1) To turn on the DHCP service for a multipoint relay station MPR (MULTIPOINTRELAY) node, such as to turn on the 172.16.2.11 DHCP service, set: Turn on the DHCP service on the Network >> interface >>mesh interface.

(2) The computer chooses OpenWrt wireless signal to connect

(3) At this point, the computer can ping all the nodes in the network can ping each other, but only in Olsr-viz display the MPR network topology diagram.

At this point, the computer's browser can be logged into the three routing management interface, enter the IP as follows table

Node

Input IP

1

172.16.2.11

2

172.16.2.12

3

172.16.2.13

2. Allow all nodes to surf the internet

(1) Open the MPR of the DHCP to configure can be connected to the external network, you can directly WAN Port connection network cable, you can also increase the wireless for the client mode.

(2) The computer joins this mesh network, after a while can sisu net.

(3) Configuration of other nodes

A, enter Network >> interface >>mesh interface

Fill in the Gateway settings 172.16.2.11

At this point, you can sisu the network, but there is a problem with DNS.

B, continue to configure DNS, fill in 114.114.114.114, you can normally surf the internet.

Set the effect as follows

Reference:

Experimental design of wireless mesh network based on OLSR routing protocol-China paper Network

OLSR on Openwrt-ubiquiti Wiki

OLSRD Implement Ad-hoc Networking

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.