169k views
1 vote
Follow Cooja tutorial in IPv6. Part of the tutorial is a lab format (i.e. a set of steps) and the last part contains 2 exercises to complete. For the first part you can show the steps taken using screen dumps while for the exercises you have to answer some questions and show the results. his tutorial shows how to create Contiki IPv6 applications. We will use the Cooja simulator for most exercises.

Most of the code we will use can be found in contiki/examples/ipv6/ folder.

2. For the network topology below show the steps to find a route from node "S" to node "D" using the DSR routing protocol

student submitted image, transcription available below

3. For the network topology shown in question 2 show the steps for the creation of a routing tree where the sink node is "S" using the RPL routing algorithm and objective function "OF0

1 Answer

5 votes

Final answer:

To perform the IPv6 networking operations in the Cooja simulator, the DSR routing protocol involves route discovery from node 'S' to node 'D' and the RPL routing algorithm involves setting node 'S' as the root to form a routing tree respecting the OF0 objective function.

Step-by-step explanation:

Understanding DSR and RPL in Contiki's Cooja Simulator

The task involves two primary actions within the Cooja simulator, which is widely used for creating and simulating Contiki IPv6 applications. To explain the process of finding a route from node "S" to node "D" using the DSR routing protocol, one would need to first set up the simulation environment with the given network topology. Then, initiate the DSR route discovery process from node "S". This process includes sending route request (RREQ) messages, receiving route reply (RREP) messages, and finally establishing a route.

For the RPL routing algorithm implementation with objective function "OF0", the process involves configuring node "S" as the root of the Directed Acyclic Graph (DAG) and allowing other nodes to join the network by discovering node "S" through the RPL's DIS (DODAG Information Solicitation) and DIO (DODAG Information Object) messages. Once the messages are exchanged, a routing tree is formed with "S" acting as the root. The tree will respect the RPL's objective function in setting up the hierarchy and routing paths.

User Andre Gregori
by
7.5k points