4 ms·
What is the discovery process for these things like? What I mean is: if I buy 100 of them, put them in a room and turn them on, how do they work together to org
by rocky1138 9y ago
What is the discovery process for these things like? What I mean is: if I buy 100 of them, put them in a room and turn them on, how do they work together to organize IP addresses?
Humans normally do this by "hi, I'm John" and "hi John, I'm Bob."
Do these things broadcast a MAC address set at the factory?
I ask because I think that when mesh networks become really interesting me is when they are entirely decentralised, as in finding a way for these things to have a universally unique MAC the second they turn on for the first time without some sort of authoritative server.
- adunk 9y agoEach device does have a unique MAC address. But the protocols are designed to work even if that MAC address happens to not be unique. The IPv6 address assignment procedure first attempts to claim an IPv6-address based on its MAC address, but before finally assigning the address, the device will test if the address is already taken. If another device in the same network happens to have the same MAC address, that device will have claimed the same IPv6 address already and that device will defend its address. The new device will then choose a new IPv6 address to avoid collisions.