The real question is: do you really want to do that? what if you connect 2 cameras, what happens? plus the problem on another message...

IMHO, this would work better:
try DHCP for some time, withou any ip, then use autoip...

Alain

Piero 74 escreveu:
Hi all

I tested a network camera, which seems work in this way:

it has a DHCP client inside, which starts on power on. But until an IP from DHCP server is available, it answers on fixed ip (i.e. 192.168.1.3)

Can i do the same using lwip?

I tried to bring up an interface with fixed IP and after start DHCP, but it doesn't work: i didn't receive a new ip address from DHCP server.

I saw DHCP traffic using wireshark: in normal situation, DHCP client sends packet from 0.0.0.0 to broadcast, and the server answers, in my situation i have DHCP request from 192.168.1.3 to broadcast...
i suppose this could be the problem

Any idea??

Thanks,
Piero


_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to