close
OLSR 是 base 在 link state routing protocol 上的 mesh project
這個mesh project 相當成熟,而且在已經內建在openwrt的套件中了
我跳過設定 OSLR 套件的過程 , 你可以自己用 opkg 安裝或是自行重新 compile



olsr-1
先去lan interface ,把 wifi 移出 bridge


olsr-5
建一個新的interface for wifi ad hoc


olsr-2
把這個 wifi radio 設定成 ad hoc , ESSID 記得要填,所有的node 都要用一樣的channel 和 ESSID
要記得把這個interface 設成 static ip , 要跟另一個node 的 wifi ad hoc 同網段


olsr-3
olsr-7
去OLSR IPV4 設定,選定 olsr 要跑在那個interface


再去 startup 那裡把 olsrd restart , 應該就正常了


OpenWrt + OLSR Node 1 ---- wireless link ---- OpenWrt + OLSR Node 2
| |
LAN 1 LAN 2
| |
Workstation A Workstation B




LAN 1 ip 192.168.100.1/24
Workstation A ip 192.168.100.2/24
OLSR node 1 ip 10.10.10.1/24

OLSR node 2 ip 10.10.10.2/24
LAN 2 192.168.1.1/24
Workstation B ip 192.168.1.2/24




olsr-status-0
arrow
arrow
    文章標籤
    olsr openwrt
    全站熱搜

    jchuang1977 發表在 痞客邦 留言(0) 人氣()