Skip to content
Atis Elsts edited this page Oct 1, 2020 · 1 revision

The RPL (Routing for Low Power and Lossy Networks) routing protocol is defined in the RFC 6550.

The implementation in this simulator is based on the Contiki-NG RPL-Lite module. However, there are some differences:

  1. The storing mode is used, while Contiki-NG RPL-Lite only supports non-storing mode.
  2. The OF0 objective function parent selection includes hysteresis, unless the Contiki-NG compatibility mode is enabled.

Configuration parameters

  • RPL_WITH_DAO_ACK - If enabled, DAO-ACK are sent and expected. Boolean, default: true.
  • RPL_WITH_PROBING - If enabled, probing packets are sent periodically to keep neighbor link estimates up to date. Boolean, default: true.
  • RPL_DIO_INTERVAL_MIN - The DIO interval (n) represents 2^n ms. Positive integer, default: 12.
  • RPL_DIO_INTERVAL_DOUBLINGS - Maximum amount of timer doublings. Positive integer, default: 8.
  • RPL_DIO_REDUNDANCY - DIO redundancy. To learn more about this, see RFC 6206. Non-negative integer, default: 0.
  • RPL_DEFAULT_LIFETIME_MIN - Default route lifetime, minutes. Positive integer, default: 30.
  • RPL_DAG_LIFETIME_MIN - Maximum lifetime of a DAG, minutes. Positive integer, default: 480 (8 hours).
  • RPL_PROBING_INTERVAL_SEC - RPL probing interval. Positive integer, default: 90.
  • RPL_DELAY_BEFORE_LEAVING_SEC - RPL poisoning duration before leaving the DAG. Non-negative integer, default: 300 (5 minutes).
  • RPL_DIS_INTERVAL_SEC - Interval of DIS transmission. Positive integer, default: 30.
  • RPL_DAO_DELAY_SEC - DAO transmissions are always delayed by RPL_DAO_DELAY +/- RPL_DAO_DELAY/2. Non-negative number, default: 4.
  • RPL_DAO_MAX_RETRANSMISSIONS - Maximal number of DAO packet retransmissions when DAO ACK is not received. Default: 5.
  • RPL_DAO_RETRANSMISSION_TIMEOUT_SEC - How long to wait for DAO ACK. Non-negative integer, default: 5.
  • RPL_MIN_HOPRANKINC - RFC 6550 defines the default MIN_HOPRANKINC as 256. The max value is 8 times this value, the threshold is 4 times this value. Positive integer, default: 256.
  • RPL_LOOP_ERROR_DROP - If enabled, then a looping packet is dropped immediately when a forwarding loop is detected. Boolean, default: false
Clone this wiki locally