OLSR is optimized on the basis of the traditional LS (Link State) protocol based on the requirements of Manet. The key concept in
OLSR is multi-point retransmission (MPRs), MPRs is the node of the forwarding broadcast selected during broadcast flooding. The traditional link-State protocol each node forwards the first copy of the information it receives, and OLSR significantly reduces the forwarded information compared to it. In the OLSR protocol, the link state information is generated by the nodes selected as MPRS, which reduces the flood control information in the network and realizes the second step optimization. The third step optimization is that the MPR node only chooses to pass link state information between MPR or MPR selectors. Therefore, compared with the traditional LS protocol, some link state information is distributed in the network, and this information is used for routing computation. The
OLSR provides the optimal path with a route hop count. This protocol is especially suitable for large and intensive networks.
Objective:Note: The author's software environment isWindows 7 64bit Ultimate vmware? Workstation proubuntu 16.04 64bit #可以适用于其他Linux版本Olsrd路由协议0.6.8 version #:http://www.olsr.org/releases/0.6/ OLSRD-0.6.8.TAR.BZ2 Installation Tutorial:
Get root permissions: su root #输入root密码
0. Preparation before installation
Install Bison parser: # apt-get Install Bison #注意, use official source as much as possible
Install the Flex parser: # Apt-get Install Flex
1. Complete the Decompression
tar jxvf olsrd-0.6.8.tar.bz2 #解压tar. bz2 format, it is best not to extract under the root authority, so that the resulting file is the root authority of the file, operation and other discomfort is convenient; cd olsrd-0.6.8 make #运行这一步可能会出现错误, and then run after the tutorial. make install |
2. Installation Complete
The following interface appears, indicating that the installation is complete.
3. Use OLSRD to execute in root user mode: # OLSRD
Ubuntu 16.04 Next OLSR Protocol installation tutorial