openhybrid / object

Hybrid Objects code
Mozilla Public License 2.0
66 stars 25 forks source link

decentralized IP assignment #2

Open vheun opened 9 years ago

vheun commented 9 years ago

If no DHCP server is found, auto assign a random IP in a subnet like 192.168.0.*, then test if the IP is already present in the network. If present assign a new random IP and test again until the IP is not taken. Then start advertising the object with the new IP

rgm3 commented 9 years ago

I wonder if using RFC 3927: Dynamic Configuration of IPv4 Link-Local Addresses might be a better approach.

vheun commented 9 years ago

I just had an overview on it. It seems reasonable. Its probably something already implemented on a lower os level with the openWRT linux? Maybe we should just start with some experiments.. I am opening two other features that are related. One is OLSR which I had some experience via the freifunk network, which is good for local area adhoc networks. The other is about using the blockchain as an authentication instance for global networks.