[Contiki-developers] Multi-hop network with RPL

310 views
Skip to first unread message

Koojana Kuladinithi

unread,
Aug 18, 2011, 9:28:00 AM8/18/11
to Contiki developer mailing list

Hi

 

I have very basic things to verify in a small 3 nodes setup as follows.

 

rpl_border_router (node1) -> rpl_udp (node 2) -> rpl_udp (node3)

 

When all 3 nodes are within the same coverage, I can ping from the laptop that my border router is connected to 2 udp-clients. That means a single hop is working.  When node 3 is moved beyond the coverage of node 1 and putting node 2 in the middle (2 hop network), I cannot ping to node 3.

 

The RPL debug messages on the node 3 shows that node 3 has found node 2 as the preferred parent and the increase “my path ETX to the root”. Unfortunately, I cannot see the routing table on node 1 since web server cannot run on TelosB motes (due to the size). When I checked the packets from the wireshark, it shows that node 1 still puts the packets directly to the node 3, not via node 2.

 

1.       Is node 1 not updating its routing table?

2.       Are there any special parameters to be changed to enable multi-hop connectivity?

3.       After checking the RPL debug messages, I assume that it uses MRHOF OF based on ETX. How can I change to use OF0?

 

KK  

 

Koojana Kuladinithi

University of Bremen, FB1 - IKOM/TZI

Otto-Hahn Allee NW1, 28359, Bremen, Germany

Tel. +49 421 218 62382, Fax. +49 421 218 3601,

www: http://www.comnets.uni-bremen.de/~koo

 

Koojana Kuladinithi

unread,
Sep 7, 2011, 8:36:55 AM9/7/11
to Contiki developer mailing list, Markus Becker

Hi,

 

I have tested the following setup ( see below) again on latest version pulled from git. Now, multi-hop is working. I checked the connectivity by pinging from the BR to the node 3. What I observed were the following.

 

1.       When running with SICSLOWPAN_COMPRESSION_HC06 , it works fine for 2 hops

2.       When running with SICSLOWPAN_COMPRESSION_IPV6 (HC disabled), the connectivity is really unstable

 

Anyway, I am happy that I was able to test 2 hops RPL network with HC enabled (in the real environment).

 

Few issues to be clarified.

1.       I used “make connect-router” to start tunslip on the BR. Then the BR is set to be the DAG root. Without starting the tunslip, the BR is never set as the DAG root though the DAG root setting is done in border-router.c file. Can somebody explain why this is setup in this way?

2.         In my setup, I used one BR and 2 UDP clients. From the debug messages what I concluded was that the udp server and the BR together will not work due to setting both nodes as DAG roots.  Is that right?

 

KK

David Kopf

unread,
Sep 7, 2011, 9:06:44 AM9/7/11
to Contiki developer mailing list, Markus Becker
The core rpl DAG code will not output anything until a prefix is assigned.
You can assign that manually but tunslip6 can also pass that on startup,
e.g. change border-router.c to

#if REQUEST_PREFIX //this is what outputs ?P every second
while(!prefix_set) {
etimer_set(&et, CLOCK_SECOND);
request_prefix();
PROCESS_WAIT_EVENT_UNTIL(etimer_expired(&et));
}
#else
uip_ip6addr_t ipaddr;
uip_ip6addr(&ipaddr, 0xbbbb, 0, 0, 0, 0, 0, 0, 0x200);
uip_ds6_addr_add(&ipaddr, 0, ADDR_MANUAL);
rpl_set_prefix(dag, &ipaddr, 64);
#endif

Correct, two border routers will not work at the present. I don't understand
the issue with header compression.

Hi,

KK

Hi

KK

Koojana Kuladinithi

www: http://www.comnets.uni-bremen.de/~koo

------------------------------------------------------------------------------
Using storage to extend the benefits of virtualization and iSCSI
Virtualization increases hardware utilization and delivers a new level of
agility. Learn what those decisions are and how to modernize your storage
and backup environments for virtualization.
http://www.accelacomm.com/jaw/sfnl/114/51434361/

_______________________________________________
Contiki-developers mailing list
Contiki-d...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/contiki-developers


------------------------------------------------------------------------------
Using storage to extend the benefits of virtualization and iSCSI
Virtualization increases hardware utilization and delivers a new level of
agility. Learn what those decisions are and how to modernize your storage
and backup environments for virtualization.
http://www.accelacomm.com/jaw/sfnl/114/51434361/
_______________________________________________
Contiki-developers mailing list
Contiki-d...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/contiki-developers

Mohammad Abdellatif

unread,
Sep 7, 2011, 9:07:06 AM9/7/11
to Contiki developer mailing list
1-the border router configuration has a function that waits for the prefix announcement from the slip connection before creating the dag.. and that's why it wont start until u create the slip connection

2- i am not sure but i think the operation of an rpl with two dag roots in not supported in the current implementation of contiki..
if u want to test the udp server client connection.. u have to modify the server code and not have it be a dag root
Mohammad Abdellatif

Phd student at Faculty of Engineering University of Porto (FEUP)
Researcher at Inesc Porto, UTM, WiN 




Reply all
Reply to author
Forward
0 new messages