Mehdi Bezahaf | 2 Jan 2009 21:17
Picon
Favicon

Two cards "AP+AdHoc"

Hi all and happy new year ;-),

I have boxes equipped with two physicals interfaces (ath0 ran as AP  
"802.11a" and ath1 in AdHoc mode "802.11b"). I want to know if it is  
possible using olsrd to run olsr only on the ath1 interfaces and have  
possibility to communicate the ath0 interfaces (non-olsr) with ath1  
interfaces?

For example:
If i have 4 routers, A(ath0, ath1), B(ath0, ath1), C(ath0, ath1), and  
D(ath0, ath1). routers run olsr on their ath1 interface, and offer  
connection to wireless stations. If i have two stations, sta1 and sta2.
Does it possible to have a ping between sta1 and sta2, where:

		sta1 ~ ~ ~ ~ ~ 'ath0' A 'ath1' --------------'ath1' B 'ath0'
						|				      |
						|				      |
						|				      |
						|				      |
				     'ath0' C 'ath1' --------------'ath1' D 'ath0' ~ ~ ~ ~ ~ sta2

Cheers,
Mehdi

--

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

(Continue reading)

Jacques | 2 Jan 2009 23:23
Picon

Re: Two cards "AP+AdHoc"

Yes, those station should just have routes(or defaults routes) pointed 
to C(sta1) and A(sta0) for the other one's subnet then it'll work fine.

To distribute a nodes subnet(i.e. the subnet on the ath0 device) you'll 
need to add a hna4/6 rule in your olsrd.conf .

Regards
Jacques

Mehdi Bezahaf wrote:
> Hi all and happy new year ;-),
>
> I have boxes equipped with two physicals interfaces (ath0 ran as AP  
> "802.11a" and ath1 in AdHoc mode "802.11b"). I want to know if it is  
> possible using olsrd to run olsr only on the ath1 interfaces and have  
> possibility to communicate the ath0 interfaces (non-olsr) with ath1  
> interfaces?
>
> For example:
> If i have 4 routers, A(ath0, ath1), B(ath0, ath1), C(ath0, ath1), and  
> D(ath0, ath1). routers run olsr on their ath1 interface, and offer  
> connection to wireless stations. If i have two stations, sta1 and sta2.
> Does it possible to have a ping between sta1 and sta2, where:
>
> 		sta1 ~ ~ ~ ~ ~ 'ath0' A 'ath1' --------------'ath1' B 'ath0'
> 						|				      |
> 						|				      |
> 						|				      |
> 						|				      |
> 				     'ath0' C 'ath1' --------------'ath1' D 'ath0' ~ ~ ~ ~ ~ sta2
(Continue reading)

Mehdi Bezahaf | 3 Jan 2009 00:17
Picon
Favicon

Re: Two cards "AP+AdHoc"

Hi Jacques,
ok, now if i connect a new client sta3 to A's ath0 device, the sta3's  
connectivity will be managed automatically or i need to reconfigure  
manually the olsrd.conf?

Regards,
Mehdi.

On 2 janv. 09, at 23:23, Jacques wrote:

> Yes, those station should just have routes(or defaults routes)  
> pointed to C(sta1) and A(sta0) for the other one's subnet then it'll  
> work fine.
>
> To distribute a nodes subnet(i.e. the subnet on the ath0 device)  
> you'll need to add a hna4/6 rule in your olsrd.conf .
>
> Regards
> Jacques
>

> Mehdi Bezahaf wrote:
>> Hi all and happy new year ;-),
>>
>> I have boxes equipped with two physicals interfaces (ath0 ran as  
>> AP  "802.11a" and ath1 in AdHoc mode "802.11b"). I want to know if  
>> it is  possible using olsrd to run olsr only on the ath1 interfaces  
>> and have  possibility to communicate the ath0 interfaces (non-olsr)  
>> with ath1  interfaces?
>>
(Continue reading)

Resul Cetin | 5 Jan 2009 16:00
Picon
Picon

Iperf

Hii,

I want to use Iperf on Freifunk Firmware, the version number is v1.6.29.
So far, I installed Iperf under following this instruction here:
http://wiki.leipzig.freifunk.net/Iperf.

If I run Iperf, I get not the correct information. The output on my router
is:
[  3] -1188645123.2--1188645122.2 sec  0.00 Bytes  0.00 bits/sec  0.000 ms
   0/    0 (nan%)
[  3] -1188645122.2--1188645121.2 sec  0.00 Bytes  0.00 bits/sec  0.000 ms
   0/    0 (nan%)
[  3] -1188645121.2--1188645120.2 sec  0.00 Bytes  0.00 bits/sec  0.000 ms
   0/    0 (nan%)
[  3] -1188645120.2--1188645119.2 sec  0.00 Bytes  0.00 bits/sec  0.000 ms
   0/    0 (nan%)
[  3] -1188645119.2--1188645118.2 sec  0.00 Bytes  0.00 bits/sec  0.000 ms
   0/    0 (nan%)

Has anybody had the same experience with Iperf ? Can anybody say me how to
fix this problem ?

greetings,
E.

--

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

(Continue reading)

Mehdi Bezahaf | 5 Jan 2009 16:11
Picon
Favicon

Re: Iperf

Hi,
sorry i don't understand german :-) but can you ping for example your  
machines?

On 5 janv. 09, at 16:00, Resul Cetin wrote:

> Hii,
>
> I want to use Iperf on Freifunk Firmware, the version number is  
> v1.6.29.
> So far, I installed Iperf under following this instruction here:
> http://wiki.leipzig.freifunk.net/Iperf.
>
> If I run Iperf, I get not the correct information. The output on my  
> router
> is:
> [  3] -1188645123.2--1188645122.2 sec  0.00 Bytes  0.00 bits/sec   
> 0.000 ms
>   0/    0 (nan%)
> [  3] -1188645122.2--1188645121.2 sec  0.00 Bytes  0.00 bits/sec   
> 0.000 ms
>   0/    0 (nan%)
> [  3] -1188645121.2--1188645120.2 sec  0.00 Bytes  0.00 bits/sec   
> 0.000 ms
>   0/    0 (nan%)
> [  3] -1188645120.2--1188645119.2 sec  0.00 Bytes  0.00 bits/sec   
> 0.000 ms
>   0/    0 (nan%)
> [  3] -1188645119.2--1188645118.2 sec  0.00 Bytes  0.00 bits/sec   
> 0.000 ms
(Continue reading)

Jacques | 5 Jan 2009 16:12
Picon

Re: Two cards "AP+AdHoc"

What you need to do is assign a subnet on each AP(ath0) device.
Then declare that subnet in each olsrd with HNA. Any sta3 within that 
subnet will then be accessible/reachable.
So basically a sta3 connecting will only need to be within the ath0 
devices subnet and have route pointed to ath0's ip as a gateway interface.

--J

Mehdi Bezahaf wrote:
> Hi Jacques,
> ok, now if i connect a new client sta3 to A's ath0 device, the sta3's 
> connectivity will be managed automatically or i need to reconfigure 
> manually the olsrd.conf?
>
> Regards,
> Mehdi.
>
>
>
> On 2 janv. 09, at 23:23, Jacques wrote:
>
>> Yes, those station should just have routes(or defaults routes) 
>> pointed to C(sta1) and A(sta0) for the other one's subnet then it'll 
>> work fine.
>>
>> To distribute a nodes subnet(i.e. the subnet on the ath0 device) 
>> you'll need to add a hna4/6 rule in your olsrd.conf .
>>
>> Regards
>> Jacques
(Continue reading)

Resul Cetin | 5 Jan 2009 16:18
Picon
Picon

Re: Iperf

> Hi,
> sorry i don't understand german :-) but can you ping for example your
machines?

Hii Mehdi,

here is my ping result:

traceroute to 11.1.1.2 (11.1.1.2), 30 hops max, 40 byte packets
 1  129.217.166.113 (129.217.166.113)  0.694 ms  0.923 ms  1.180 ms 2 
11.1.1.4 (11.1.1.4)  7.173 ms  8.505 ms  11.315 ms
 3  11.1.1.2 (11.1.1.2)  30.775 ms  33.109 ms  38.223 ms

My Client is 11.1.1.2. I tried also 11.1.1.2 as Server. I cann't also run
Iperf between the routers 11.1.1.4 and 11.1.1.2.

>
> On 5 janv. 09, at 16:00, Resul Cetin wrote:
>
>> Hii,
>>
>> I want to use Iperf on Freifunk Firmware, the version number is v1.6.29.
>> So far, I installed Iperf under following this instruction here:
http://wiki.leipzig.freifunk.net/Iperf.
>>
>> If I run Iperf, I get not the correct information. The output on my router
>> is:
>> [  3] -1188645123.2--1188645122.2 sec  0.00 Bytes  0.00 bits/sec 0.000 ms
>>   0/    0 (nan%)
>> [  3] -1188645122.2--1188645121.2 sec  0.00 Bytes  0.00 bits/sec 0.000 ms
(Continue reading)

Mehdi Bezahaf | 5 Jan 2009 16:34
Picon
Favicon

Re: Iperf

And what is your Iperf command line options?

On 5 janv. 09, at 16:18, Resul Cetin wrote:

>> Hi,
>> sorry i don't understand german :-) but can you ping for example your
> machines?
>
> Hii Mehdi,
>
> here is my ping result:
>
> traceroute to 11.1.1.2 (11.1.1.2), 30 hops max, 40 byte packets
> 1  129.217.166.113 (129.217.166.113)  0.694 ms  0.923 ms  1.180 ms 2
> 11.1.1.4 (11.1.1.4)  7.173 ms  8.505 ms  11.315 ms
> 3  11.1.1.2 (11.1.1.2)  30.775 ms  33.109 ms  38.223 ms
>
> My Client is 11.1.1.2. I tried also 11.1.1.2 as Server. I cann't  
> also run
> Iperf between the routers 11.1.1.4 and 11.1.1.2.
>
>
>
>
>
>
>
>
>
>>
(Continue reading)

Resul Cetin | 5 Jan 2009 16:38
Picon
Picon

Re: Iperf

> And what is your Iperf command line options?

On the server side:

iperf -s -u -i 5

On the client side:

iperf -c 129.217.166.113 -u -i 5 -t 20 -b 3m

>
> On 5 janv. 09, at 16:18, Resul Cetin wrote:
>
>>> Hi,
>>> sorry i don't understand german :-) but can you ping for example your
>> machines?
>>
>> Hii Mehdi,
>>
>> here is my ping result:
>>
>> traceroute to 11.1.1.2 (11.1.1.2), 30 hops max, 40 byte packets
>> 1  129.217.166.113 (129.217.166.113)  0.694 ms  0.923 ms  1.180 ms 2
>> 11.1.1.4 (11.1.1.4)  7.173 ms  8.505 ms  11.315 ms
>> 3  11.1.1.2 (11.1.1.2)  30.775 ms  33.109 ms  38.223 ms
>>
>> My Client is 11.1.1.2. I tried also 11.1.1.2 as Server. I cann't
>> also run
>> Iperf between the routers 11.1.1.4 and 11.1.1.2.
>>
(Continue reading)

Mehdi Bezahaf | 5 Jan 2009 17:03
Picon
Favicon

Re: Iperf

Sorry it is not clear for me.
Your client is 11.1.1.2 and which machine is your server?

- from your  "iperf -c 129.217.166.113 -u -i 5 -t 20 -b 3m" I conclude  
that your server is "129.217.166.113". does it the case?

- From which machine is your traceroute ran? it seems that it isn't  
ran from your server machine "129.217.166.113"!!!

On 5 janv. 09, at 16:38, Resul Cetin wrote:

>> And what is your Iperf command line options?
>
>
> On the server side:
>
> iperf -s -u -i 5
>
> On the client side:
>
> iperf -c 129.217.166.113 -u -i 5 -t 20 -b 3m
>
>
>
>>
>> On 5 janv. 09, at 16:18, Resul Cetin wrote:
>>
>>>> Hi,
>>>> sorry i don't understand german :-) but can you ping for example  
>>>> your
(Continue reading)


Gmane