David Murray | 1 May 2008 05:38
Picon
Picon

Re: OLSR IPs for node with multiple interfaces

I would agree with this. If you have two radios, you will want to use 
frequencies that are as far apart as possible. Also, I currently use 
OLSR with dual radios and all my interfaces are assigned IP addresses 
of 10.x.x.x/8. OLSR and Linux both seem happy with this.

I noticed that Markus Kittenberger (in a previous post) was talking 
about their mesh in Vienna using 255.255.255.255 or /32 subnet masks. 
However, I did not understand the reasoning. If you have the time, I 
would be very interested in hearing why you do this.

Thanks
Dave

Quoting Markus Kittenberger <Markus.Kittenberger <at> gmx.at>:

> in my opinion the real problem ist NOT which network masks you want to
> configure,..
>
> but using two wireless interfaces on the same channel may make problems,..
> why do you want to do this??
>
> and using different subnets will surely
> not stop all possible problems of this,..
>
> lg Markus

--

-- 
Olsr-dev mailing list
Olsr-dev <at> lists.olsr.org
http://lists.olsr.org/mailman/listinfo/olsr-dev
(Continue reading)

José Manuel Chorro Boix | 1 May 2008 13:27
Picon
Favicon

No routing Node howto


Hi every body. First of all: I am a freshman in olsrd. So do not get angry with
me if  I make nonsence question.

When I set a network, and use olsr to discover routes, I would like not all the
nodes to participate as routers. I mean I would like same routers not to do
forwarding of data trafic (but do forwarding of the olsr data if necesary)
I tried to do so setting the willingness param at 0. but when desactivating that
node supose breaking the net the willingness is automaticaly set to 6.

I can get the effect desactivating the forwarding at the OS level in linux:

echo > 0 /proc/sys/network/ip4/ip-forwarding.

But olsr does not realice of that and keeps setting routes through that node.

I think I could do that changing the olsrd code but may be there is an easier
way or the issue is solved with some pluging.

Thankyou very much and regards.
-- 

--

-- 
Olsr-dev mailing list
Olsr-dev <at> lists.olsr.org
http://lists.olsr.org/mailman/listinfo/olsr-dev

Joe Gio | 1 May 2008 15:26
Picon

Re: No routing Node howto

Maybe try using "iptables" packet filtering.

JoeG

José Manuel Chorro Boix wrote:
> Hi every body. First of all: I am a freshman in olsrd. So do not get angry with
> me if  I make nonsence question.
>
> When I set a network, and use olsr to discover routes, I would like not all the
> nodes to participate as routers. I mean I would like same routers not to do
> forwarding of data trafic (but do forwarding of the olsr data if necesary)
> I tried to do so setting the willingness param at 0. but when desactivating that
> node supose breaking the net the willingness is automaticaly set to 6.
>
> I can get the effect desactivating the forwarding at the OS level in linux:
>
> echo > 0 /proc/sys/network/ip4/ip-forwarding.
>
> But olsr does not realice of that and keeps setting routes through that node.
>
> I think I could do that changing the olsrd code but may be there is an easier
> way or the issue is solved with some pluging.
>
> Thankyou very much and regards.
>   

--

-- 
Olsr-dev mailing list
Olsr-dev <at> lists.olsr.org
http://lists.olsr.org/mailman/listinfo/olsr-dev
(Continue reading)

Harald Geyer | 1 May 2008 17:46
Favicon

Re: OLSR IPs for node with multiple interfaces

Hi David.

> I noticed that Markus Kittenberger (in a previous post) was talking 
> about their mesh in Vienna using 255.255.255.255 or /32 subnet masks. 
> However, I did not understand the reasoning. If you have the time, I 
> would be very interested in hearing why you do this.

There are actually two things that are peculiar about the funkfeuer
mesh in Vienna.
a) The mesh runs with public ips from two different blocks. The
ips are distributed quite randomly over the mesh (no geografic or
topology information is encoded in the ips) so in order to get
olsr broadcasts to work, we need to use the broadcast address of
255.255.255.255 - this is a olsr configuration issue, not a network
issue.

b) Since all our devices are configured according to a) and since olsrd
installs hostroutes to any device in the mesh anyway, it is possible
to use /32 subnet masks. This gives one further advantage: If there
is any traffic targetted at a device for which no routing information
is available (i.e. the device is down) then you get a clear icmp error
back instead of waiting for arp timeouts. This makes debugging the mesh
easier. - But only a minority of nodes in Vienna is configured with /32.

HTH,
Harald

--

-- 
Olsr-dev mailing list
Olsr-dev <at> lists.olsr.org
(Continue reading)

Aaron Kaplan | 2 May 2008 11:36
Gravatar

Re: OLSR IPs for node with multiple interfaces


On May 1, 2008, at 5:38 AM, David Murray wrote:

> I would agree with this. If you have two radios, you will want to use
> frequencies that are as far apart as possible. Also, I currently use
> OLSR with dual radios and all my interfaces are assigned IP addresses
> of 10.x.x.x/8. OLSR and Linux both seem happy with this.
>
> I noticed that Markus Kittenberger (in a previous post) was talking
> about their mesh in Vienna using 255.255.255.255 or /32 subnet masks.
> However, I did not understand the reasoning. If you have the time, I
> would be very interested in hearing why you do this.

this is a feature/bug in the linux tcp/ip stack.
basically when you have the broadcast addr 255^4 then olsr packets  
with different source IPs from different networks (and netmasks)  
still get accepted
>

a.

--

-- 
Olsr-dev mailing list
Olsr-dev <at> lists.olsr.org
http://lists.olsr.org/mailman/listinfo/olsr-dev

José Manuel Chorro Boix | 2 May 2008 19:40
Picon
Favicon

Willingness = 0, Question.

Hi I have been making probes with the willingness parameter, I am a freshman in
olsrd. I think that when willingness is set to
0 (WILL_NEVER) The node will not forward traffic in any situation. Correct?.

Well I have found that there is a case in which it does. Imagen 4 nodes conected
like that:

A<-->B<-->C<-->D

I set willingness in node B to 0 an the rest to 6.

In that situatión only node C acts as MPR. And I thought that node A would be
isolated from nodes C and D.

Well I have tried that esquema and only node D is isolated from node A but C can
get A throught B and A can get C also throught B.

Actually Node D find a route to A but A do not find a route to D.

Can any one tell me if that is a normal situation according with the standart or
it is a bug.

Thank you very much and regards

-- 

--

-- 
Olsr-dev mailing list
Olsr-dev <at> lists.olsr.org
http://lists.olsr.org/mailman/listinfo/olsr-dev
(Continue reading)

Holger Levsen | 2 May 2008 20:12

Re: No routing Node howto

Hi José,

On Thursday 01 May 2008 13:27, José Manuel Chorro Boix wrote:
> When I set a network, and use olsr to discover routes, I would like not all
> the nodes to participate as routers. 

Why not? Why do you then want them to be part of the mesh?

regards,
	Holger
--

-- 
Olsr-dev mailing list
Olsr-dev <at> lists.olsr.org
http://lists.olsr.org/mailman/listinfo/olsr-dev
Axel Neumann | 2 May 2008 10:40
Favicon

Re: OLSR IPs for node with multiple interfaces

Hi,

On Mittwoch 30 April 2008, you wrote:
> in my opinion the real problem ist NOT which network masks you want to
> configure,..
>
> but using two wireless interfaces on the same channel may make problems,
Can you describe which ?

> .. 
> why do you want to do this??
1. A community has agreed to only use one channel/bssid/netmask/broadcast) for 
meshing.

2. consider a wireless scenario like this:

	A)))~~~~~~~~(((B0-B1))~~((C

where A, B and C are locations with mesh nodes.
The distance between A-B can only be made with a directional antennas.
B should also have a omniantenna to serve other local nodes (like C).
Therefore I want to configure node B with two radio interfaces.
Also imagine a node D appears in the line between A and B with physical 
connectivity to B0 and B1 !

>
> and using different subnets will surely
> not stop all possible problems of this,..

[..snap...]
(Continue reading)

Aaron Kaplan | 3 May 2008 21:09
Gravatar

Re: No routing Node howto


On May 2, 2008, at 8:12 PM, Holger Levsen wrote:

> Hi José,
>
> On Thursday 01 May 2008 13:27, José Manuel Chorro Boix wrote:
>> When I set a network, and use olsr to discover routes, I would  
>> like not all
>> the nodes to participate as routers.
>
> Why not? Why do you then want them to be part of the mesh?

Jose,

is the reason power savings  (battery lifetime) that you want to  
achieve?

a.

---
there's no place like 127.0.0.1

--

-- 
Olsr-dev mailing list
Olsr-dev <at> lists.olsr.org
http://lists.olsr.org/mailman/listinfo/olsr-dev

Holger Levsen | 4 May 2008 17:36

changing LIBDIR doesnt work?

Hi,

while packaging 0.5.6rc1 I tried to set LIBDIR to /usr/lib/olsrd, but this 
didnt work, the plugins ended up there, but olsrd couldnt find them.

I think this is a bug :-)

regards,
	Holger
--

-- 
Olsr-dev mailing list
Olsr-dev <at> lists.olsr.org
http://lists.olsr.org/mailman/listinfo/olsr-dev

Gmane