I have some questions. First off my understanding on networks is minimal.
I'm trying to understand how zeroconfig works in a situation where not all devices are on a single network, but they are all connected to a centralized PC. Its essentially embedded arm devices running linux with g_ether. So the central device is a host Windows desktop.
I imagine that each device connected to the PC will have it's own network interface, and broadcasting from one, will not reach a second device. Will the host PC properly negotiate a new IP address for a device on the second network if it requests an IP address used by a device?
Secondly, we are using avahi on the device. Windows uses... w/e windows uses. Is zeroconf a standard protocol or do all of them have separate implementations.
And if this isn't going to work, is there some other standard we should use? The requirement for us is to be able to connect 40 to a single pc... which is a ridiculous amount of usb hubs but that's what they want.
1 more question considering the answer I got. If its not possible to gurantee each device gets their own IP address, Does that mean the routing won't work? Consider a PC connected to two Networks with a device that has the same IP address. Would it be possible to talk to a single device using that IP address. I imagine at least in C++ we might have to specify a network adapter?
Are there any other solutions other than bridging all of the devices. This will be used in manufacturing, so automation is more important than ease to set up.
Maybe my understanding of the RNDIS usb driver works is wrong as well. Each device gets its own network interface. I'm assuming like all other network interfaces that they are independent networks. Is it possible to tell RNDIS to load a single network interface for multiple devices?