Hi Simon,
I have a similar problem but at the moment i am not working on this issue.
The idea I have is to send a UDP broadcast message to all the users on
the local network.
The devices that recognize the UDP frame answer tot it and now the IP
address is know to the application.
An other way is to let the device send a udp broadcast message to every
one on the network.
the C# application receives this message and then knows the IP of all
the compatible devices in the network.
You can send the broadcast every minute or so.
If you or anyone else have i better option I am interested.
Kind Regards
Ruben
On 20-3-2013 9:07, Richner Simon wrote:
Interface with PPPoE and DHCP?
Hi
I'm looking for some advice. I have a series of custom devices using
LwIP, talking to a custom C# application.
Some devices are connected to a network, using DHCP to get an IP
address. Other devices are setup for standalone use and are directly
connected to a local laptop for maintenence. In both cases I want to
use the same ethernet connetion with the same software.
I've been looking at AUTOIP, but this takes almost a full minute to
setup IP adresses, which is unacceptable. Another idea was to use one
common static IP if no DHCP server was found. The problem with this
is, that in case it's just a temporary DHCP server absence, I end up
with dozens of devices having the same IP. My last idea was to use
DHCP and PPPoE in parallel. So if there was no DHCP server, the laptop
would use PPPoE. I haven't tested this, but if my thought is correct,
this would solve both problems mentioned (to the cost of having to
implement two protocols).
If anybody has similar requirements, please let me know how you solved
this.
Am I on the right track, or is there a much simpler solution to my
problem?
Best Regards
Simon
_______________________________________________
lwip-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-users
_______________________________________________
lwip-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-users