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