cetic / 6lbr

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

NAT64 with Dynamic Port Mapping #169

Open andrewbrannan opened 8 years ago

andrewbrannan commented 8 years ago

When setting up NAT64 port mapping for a 6LowPAN network, I have to enable static port mapping and manually add each node's MAC address to my node-config.conf file. This works, but I'd like to be able to have new ports dynamically allocated to new nodes as they show up on a network.

Is there support for, or anyway to do this at the moment? If not, is there a reason it couldn't be implemented in the future?

laurentderu commented 8 years ago

Actually there is support for dynamic port mapping allocation, but only on embedded platform, like CC2538. It would be a nice improvement to have it also on native platforms, but that require the ability to update the node config file from 6lbr, which is not implemented yet. Or the port mapping will be reset each time 6lbr is restarted.