* [joao.p.taveira@gmail.com: Re: [Roll] Looking for Linux implementation of RPL for interop testing]
@ 2015-04-17 21:40 Alexander Aring
2015-04-17 21:56 ` Alexander Aring
0 siblings, 1 reply; 2+ messages in thread
From: Alexander Aring @ 2015-04-17 21:40 UTC (permalink / raw)
To: linux-wpan; +Cc: joao.p.taveira
Hi,
I forward this mail to linux-wpan, maybe somebody will be happy about
this information.
The blog post which João mentioned here is available at:
http://sixpinetrees.blogspot.de/2014/11/linux-rpl-router.html
- Alex
----- Forwarded message from João Pedro Taveira <joao.p.taveira@gmail.com> -----
Date: Fri, 17 Apr 2015 20:57:03 +0000
From: João Pedro Taveira <joao.p.taveira@gmail.com>
To: Routing Over Low power and Lossy networks <roll@ietf.org>
Subject: Re: [Roll] Looking for Linux implementation of RPL for interop testing
Hi to all,
I'm glad to know that there's some interested on my RPL linux
implementation.
Since september 2014, I had no opportunity to work on RPL on linux.
When I started this implementation, I thought on possible roadmap:
1. RFC 6206 trickle
2. RFC 6550 RPL
3. RFC 6552 OF0
4. Root Node mode
5. Router Node mode
6. userland tools
7. OF0 Integration tests Linux/Linux
8. OF0 Integration tests with Linux/contiki
9. Tests with Linux/at86rf23x + contiki/atmega128rfa1
10. Tests with Linux/xbee + contiki/m1284p+xbee
11. RFC 6719 MRHOF
12. RFC 6551 Routing Metrics
...
I also tested rpl linux implementation using CORE (
http://www.nrl.navy.mil/itd/ncs/products/core). Using kernel namespaces,
it's easy to test the implementation.
I stop on issues 11. and 12. I got stuck when I start to get MRHOF, ETX and
metrics working. I had to dive on linux netstack to figure out how to get
ETX without breaking (or breaking too much) abstraction layers on netstack.
Since RPL Linux implementation worked very well with 0OF and contiki, I
just tried to make some use of linux nodes with very basic network support
on a small mesh with contiki and linux nodes. The results could be better.
I faced too many basic issues, with very simple resolutions but that would
require some free time to fix that I hadn't.
Regarding to contiki, there's nothing to say since RPL it's quite solid. I
simply needed more ram for the IP buffer since it was only 400bytes long
(there wos no more free space). About RPL implementation, it took too long
to react on mesh changes. At least, multi-hop worked. About linux nodes
within the mesh, I tried to fly to high and I can say that ssh really want
the minimum of ipv6 max MTU. Connecting one of the linux nodes to internet
as gw, the network basic protocols seam to work without problems like DNS,
ICMP6 and CoAP.
Still on MRHOF, I contact linux-zigbee/linux-wpan group to get some
information about roadmap about MAC802154 and I was told that it was too
soon to know what and how things would be. I think there was a merge from
linux zigbee to linux-wpan, but in the meanwhile, it was agreed between
linux groups to merge wpan with bluetooth.
As last resort on ETX and MRHOF on linux and to see it working, I just
tried to use nd6 timers as indication on link quality on linux side.
Basically, when some neighbour moved to state REACHABLE would count as a
good packet delivered. When a neighbour moved to state FAILED would count
as several non-acked packets. Assuming that nodes wouldn't send too many
packets, neighbours would move frequently to IDLE state. On each packet
exchange this would make state to move to REACHABLE and count as good
packet. Using RPL linux as root, this metric would be more or less
acceptable but I didn't like the idea of different metrics. Anyway, I was
able to get correct behaviour from MRHOF from linux nodes (even with a
strange metric).
Since 4thQ 2014, I had no time available to work on this. I think I already
know how to get ETX working. I'll see linux-wpan/linux-bluebooth current
status and I hope to continue what I was doing back then.
About the blog which talks about tests to RPL Linux implementation, I just
want to say that I wasn't contact about it before the post.
Best Regards,
João Pedro Taveira
_______________________________________________
Roll mailing list
Roll@ietf.org
https://www.ietf.org/mailman/listinfo/roll
----- End forwarded message -----
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [joao.p.taveira@gmail.com: Re: [Roll] Looking for Linux implementation of RPL for interop testing]
2015-04-17 21:40 [joao.p.taveira@gmail.com: Re: [Roll] Looking for Linux implementation of RPL for interop testing] Alexander Aring
@ 2015-04-17 21:56 ` Alexander Aring
0 siblings, 0 replies; 2+ messages in thread
From: Alexander Aring @ 2015-04-17 21:56 UTC (permalink / raw)
To: linux-wpan; +Cc: joao.p.taveira
Hi,
now I will comment some things about the mail here in linux-wpan.
On Fri, Apr 17, 2015 at 11:40:36PM +0200, Alexander Aring wrote:
...
>
> Still on MRHOF, I contact linux-zigbee/linux-wpan group to get some
> information about roadmap about MAC802154 and I was told that it was too
> soon to know what and how things would be. I think there was a merge from
> linux zigbee to linux-wpan, but in the meanwhile, it was agreed between
> linux groups to merge wpan with bluetooth.
>
There was no linux-wpan before, we renamed from zigbee to wpan because
we _can't_ name it zigbee, see [0]. This was the first important thing
which was needed to change after now maintainership.
To send everything into bluebooth-next this is just because Marcel
(bluebooth maintainer) was very friendly and offered to apply everything
which is for linux-wpan into bluebooth-next. This behaviour should be
changed if the stack implementation is in a more useable state.
Since there exist a BTLE 6LoWPAN draft, the BTLE 6LoWPAN and 802.15.4
6LoWPAN implementation shared the IPHC format.
> As last resort on ETX and MRHOF on linux and to see it working, I just
> tried to use nd6 timers as indication on link quality on linux side.
> Basically, when some neighbour moved to state REACHABLE would count as a
> good packet delivered. When a neighbour moved to state FAILED would count
> as several non-acked packets. Assuming that nodes wouldn't send too many
> packets, neighbours would move frequently to IDLE state. On each packet
> exchange this would make state to move to REACHABLE and count as good
> packet. Using RPL linux as root, this metric would be more or less
> acceptable but I didn't like the idea of different metrics. Anyway, I was
> able to get correct behaviour from MRHOF from linux nodes (even with a
> strange metric).
>
> Since 4thQ 2014, I had no time available to work on this. I think I already
> know how to get ETX working. I'll see linux-wpan/linux-bluebooth current
> status and I hope to continue what I was doing back then.
>
cool. Since there exists also BTLE 6LoWPAN a RPL implementation is good
to have for both subsystems (bt/802.15.4).
> About the blog which talks about tests to RPL Linux implementation, I just
> want to say that I wasn't contact about it before the post.
>
I would say, you need to do your things mainline. Maybe simple write a
mail to netdev@vger.kernel.org and talk about your plans for implement
your stuff, I think you will 100% get some response to that. Then send
patches to netdev so we have your RPL implementation mainline. To get
stuff mainline is the most important thing. If you need help to getting
patches stuff mainline, I can offer you my help if you want.
- Alex
[0] https://docs.zigbee.org/zigbee-docs/dcn/05-3739.pdf
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-04-17 21:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-17 21:40 [joao.p.taveira@gmail.com: Re: [Roll] Looking for Linux implementation of RPL for interop testing] Alexander Aring
2015-04-17 21:56 ` Alexander Aring
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.