Provisioning a mesh node after IV index update

Hi

I have a mesh network  provisioned with the mesh shell. It has 30 nodes, all with relay enabled

Everything works as expected. The network has been running for 30 days now and it works as expected i.e the messages  from all nodes reach their destination.
Today I provisioned another node but don't see messages from it . I suspect this is because the new node was provisioned with IV index 0 and  the current IV index is way higher than that - it updates every 96 hours if I' m not mistaken?
Is my understanding correct that the addition of a node with  index 0 into the network with a higher IV index will trigger the IV index update in that node? If yes - how long does it usually take?
Are there any  build configuration parameters that need to be enabled for this to happen ?

Thanks

Andy

Parents
  • Hello,

    it updates every 96 hours if I' m not mistaken

    An IV Index Update must not be started more often than every 192 hours. The Normal Operation must last AT LEAST 96 hours and the Update Active phase must additionally be AT MOST 144h. The IV Update should be initiated by a node which reached around 50% of it's available SEQ number. With that assumption it should use the same amount of time to go to 100% and exhaust available SEQ numbers, so an IV Update is necessary. It has been calculated, that with some assumptions (number of packets per second) it won't take less then ~96h.

    The IV Update procedure is initiated by any node that is a member of a primary subnet. This may be done when the node believes it is at risk of exhausting its sequence numbers, or it determines another node is close to exhausting its sequence numbers. The node changes its IV Index and sends an indication to other nodes in the mesh that the IV Index is being updated.

    If the nodes are sending messages less frequently, the duration of normal operation may take longer time.

    Is my understanding correct that the addition of a node with  index 0 into the network with a higher IV index will trigger the IV index update in that node? If yes - how long does it usually take?

    The current IV Index is sent to an unprovisioned node during provisioning in encrypted data together with its Unicast Address and the Network Key. So a new node should know the current IV Index from the beginning. Mind, that the Provisioner needs to know the IV Index before it starts provisioning. A node can update its IV Index by at most 42, but the required time needs to pass (96h per step)

    Are there any  build configuration parameters that need to be enabled for this to happen ?

    You may need to connect the Provisioner to a Proxy (assuming you're using a mobile phone) so that it receives a Secure Network Beacon with the current IV Index and only then start provisioning.

Reply
  • Hello,

    it updates every 96 hours if I' m not mistaken

    An IV Index Update must not be started more often than every 192 hours. The Normal Operation must last AT LEAST 96 hours and the Update Active phase must additionally be AT MOST 144h. The IV Update should be initiated by a node which reached around 50% of it's available SEQ number. With that assumption it should use the same amount of time to go to 100% and exhaust available SEQ numbers, so an IV Update is necessary. It has been calculated, that with some assumptions (number of packets per second) it won't take less then ~96h.

    The IV Update procedure is initiated by any node that is a member of a primary subnet. This may be done when the node believes it is at risk of exhausting its sequence numbers, or it determines another node is close to exhausting its sequence numbers. The node changes its IV Index and sends an indication to other nodes in the mesh that the IV Index is being updated.

    If the nodes are sending messages less frequently, the duration of normal operation may take longer time.

    Is my understanding correct that the addition of a node with  index 0 into the network with a higher IV index will trigger the IV index update in that node? If yes - how long does it usually take?

    The current IV Index is sent to an unprovisioned node during provisioning in encrypted data together with its Unicast Address and the Network Key. So a new node should know the current IV Index from the beginning. Mind, that the Provisioner needs to know the IV Index before it starts provisioning. A node can update its IV Index by at most 42, but the required time needs to pass (96h per step)

    Are there any  build configuration parameters that need to be enabled for this to happen ?

    You may need to connect the Provisioner to a Proxy (assuming you're using a mobile phone) so that it receives a Secure Network Beacon with the current IV Index and only then start provisioning.

Children
Related