<p>You can have more then one hna on a node and the node next to the gateway (or the gateway if it support olsr) must have the hna <a href="http://0.0.0.0/0">0.0.0.0/0</a> so other olsr node know that all other route that are not in olsr tab must go to this node.</p>
<p>Then this node must have a static route to the gateway or your isp if it's a gateway.</p>
<p>Also, you won't need the hna192.168.13.0/24 since <a href="http://0.0.0.0/0">0.0.0.0/0</a> include all subnet.</p>
<div class="gmail_quote">Le 2011-08-15 22:47, "John Tobias" <<a href="mailto:john.tobias.ph@gmail.com">john.tobias.ph@gmail.com</a>> a écrit :<br type="attribution">> Hi Michel,<br>> <br>> My hna on DevB was <a href="http://192.168.13.0/24">192.168.13.0/24</a> 192.168.13.4. Are you referring to MID?.<br>
> Btw, can I see your /etc/olsrd.conf?<br>> <br>> Regards,<br>> <br>> john<br>> <br>> <br>> <br>> <br>> On Mon, Aug 15, 2011 at 7:32 PM, Michel Blais <<a href="mailto:michel@targointernet.com">michel@targointernet.com</a>>wrote:<br>
> <br>>> Look like your forget the hna <a href="http://0.0.0.0/0">0.0.0.0/0</a> on dev b ( the one next to the<br>>> gateway. Also, you don't need a mesh router, dev b can simply route via<br>>> static route the mesh network.<br>
>> Le 2011-08-15 22:24, "John Tobias" <<a href="mailto:john.tobias.ph@gmail.com">john.tobias.ph@gmail.com</a>> a écrit :<br>>><br>>> > Hi Guys,<br>>> ><br>>> > I was trying to configure my two devices to enable the mesh network<br>
>> support.<br>>> > I will call them DevA and DevB, the two devices seems they can see to<br>>> each<br>>> > other (I can ping them vice-versa). DevB has a capability to go outside<br>>> > world (WAN), but DevA need to use the mesh network in order to go outside<br>
>> > world. When, I issue a command 'ping <a href="http://google.com">google.com</a>' on DevA, it doesn't<br>>> work.<br>>> > Any idea what am I missing (Please see DevA and DevB configuration<br>
>> below)?<br>>> ><br>>> > NOTE: I do not have a router that support mesh networking and I am not<br>>> sure<br>>> > if I needed it.<br>>> ><br>>> > DevA:<br>>> > wlan0 Link encap:Ethernet HWaddr 00:0E:8E:30:BC:07<br>
>> > inet addr:192.168.13.3 Bcast:192.168.13.255 Mask:255.255.255.0<br>>> > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1<br>>> > RX packets:28579 errors:105 dropped:0 overruns:0 frame:0<br>>> > TX packets:3344 errors:0 dropped:0 overruns:0 carrier:0<br>
>> > collisions:0 txqueuelen:1000<br>>> > RX bytes:3761333 (3.5 Mb) TX bytes:361494 (353.0 Kb)<br>>> ><br>>> > Table: Links<br>>> > Local IP Remote IP Hyst. LQ NLQ Cost<br>>> > 192.168.13.3 192.168.13.4 0.00 1.000 0.862 1.158<br>
>> ><br>>> > Table: Neighbors<br>>> > IP address SYM MPR MPRS Will. 2 Hop Neighbors<br>>> > 192.168.13.4 YES NO NO 3 0<br>>> ><br>>> > Table: Topology<br>>> > Dest. IP Last hop IP LQ NLQ Cost<br>
>> > 192.168.13.4 192.168.13.3 1.000 0.862 1.158<br>>> > 192.168.13.3 192.168.13.4 0.862 1.000 1.158<br>>> ><br>>> > Table: HNA<br>>> > Destination Gateway<br>>> > <a href="http://192.168.13.0/24">192.168.13.0/24</a> 192.168.13.3<br>
>> ><br>>> > Table: MID<br>>> > IP address Aliases<br>>> ><br>>> > Table: Routes<br>>> > Destination Gateway IP Metric ETX Interface<br>>> > <a href="http://192.168.13.4/32">192.168.13.4/32</a> 192.168.13.4 1 1.158 wlan0<br>
>> ><br>>> ><br>>> > *DevB:*<br>>> > eth0 Link encap:Ethernet HWaddr 00:25:19:BF:AF:F4<br>>> > inet addr:192.168.1.168 Bcast:192.168.1.255 Mask:255.255.255.0<br>>> > UP BROADCAST RUNNING MULTICAST MTU:1492 Metric:1<br>
>> > RX packets:9247 errors:0 dropped:0 overruns:0 frame:0<br>>> > TX packets:3892 errors:0 dropped:0 overruns:0 carrier:0<br>>> > collisions:0 txqueuelen:1000<br>>> > RX bytes:651031 (635.7 Kb) TX bytes:1595657 (1.5 Mb)<br>
>> ><br>>> > wlan0 Link encap:Ethernet HWaddr 00:0E:8E:30:BB:A2<br>>> > inet addr:192.168.13.4 Bcast:192.168.13.255 Mask:255.255.255.0<br>>> > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1<br>
>> > RX packets:194197 errors:480 dropped:0 overruns:0 frame:0<br>>> > TX packets:15546 errors:0 dropped:0 overruns:0 carrier:0<br>>> > collisions:0 txqueuelen:1000<br>>> > RX bytes:25706893 (24.5 Mb) TX bytes:1726766 (1.6 Mb)<br>
>> ><br>>> > Table: Links<br>>> > Local IP Remote IP Hyst. LQ NLQ Cost<br>>> > 192.168.13.4 192.168.13.3 0.00 0.862 1.000 1.158<br>>> ><br>>> > Table: Neighbors<br>>> > IP address SYM MPR MPRS Will. 2 Hop Neighbors<br>
>> > 192.168.13.3 YES NO NO 5 0<br>>> ><br>>> > Table: Topology<br>>> > Dest. IP Last hop IP LQ NLQ Cost<br>>> > 192.168.13.4 192.168.13.3 1.000 0.862 1.158<br>>> > 192.168.13.3 192.168.13.4 0.862 1.000 1.158<br>
>> ><br>>> > Table: HNA<br>>> > Destination Gateway<br>>> > <a href="http://192.168.13.0/24">192.168.13.0/24</a> 192.168.13.4<br>>> ><br>>> > Table: MID<br>>> > IP address Aliases<br>
>> ><br>>> > Table: Routes<br>>> > Destination Gateway IP Metric ETX Interface<br>>> > <a href="http://192.168.13.3/32">192.168.13.3/32</a> 192.168.13.3 1 1.158 wlan0<br>>> ><br>
>> ><br>>> > Thanks,<br>>> ><br>>> > john<br>>><br></div>