cetic / 6lbr

A deployment-ready 6LoWPAN Border Router solution based on Contiki
github.com/cetic/6lbr/wiki
Other
337 stars 195 forks source link

Is there a maximum number of connections in the 6Lowpan Border Router? #235

Closed Mecabot closed 7 years ago

Mecabot commented 7 years ago

Hi everybody:

In my project i configured the next architecture:

CC2650STK(CC26xx-web-demo) <-> CC2650STK(Slip-radio) <-> Raspberry Pi2 (Router with IP64) <-> External Server on windows(Mosquitto Broker) .

My IP64´s configuration is:

image

And i have more than 20 CC2650STK in my WSN:

image

But i only have between 13 and 15 IP64 connections:

image

image

The questions are:

What´s the maximum number of IP64 connections in the 6lowpan Border Router?

What´s the maximum number of Sensors (CC2650STK) connections in the WSN?

Is there any parameter for configure the maximum number ofIP64 and Sensors (CC2650STK) connections?

Kind Regards.

laurentderu commented 7 years ago

The maximum of concurrent NAT64 active connection is defined in ip64-addrmap.c, and by default it's 32. The maximum number of nodes is actually limited by the number of routes, which is defined in the platform specific configuration file of 6lbr. For native, it's 256.

Mecabot commented 7 years ago

Hi @laurentderu

I´m going to change the default number of concurrent NAT64 active connection to 256, but what i need to reflash? Maybe the firmware on the CC2650STK(Slip-radio) or the 6lbr´s software on the RPI.

Can you help me with my other answer #236 ? The TI E2E Community suggested to me ask in this forum (TI E2E )

I really appreciate any help you can provide.

laurentderu commented 7 years ago

To change the number of NAT64 sessions, you need to recompile 6LBR (on the RPi). Currently it's not possible to change the value using a configuration parameters due to how the parameter is used in Contiki... Tell me if it works, if so I will update the default value in 6LBR