[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [lwip-users] fixed IP and DCHP on the same net interface?

From: Muhamad Ikhwan Ismail
Subject: RE: [lwip-users] fixed IP and DCHP on the same net interface?
Date: Tue, 16 Dec 2008 14:37:08 +0000


I have this too, you can do this by writing into the netif ip address directly before starting dhcp (dhcp_start).
There is a bit of problem though, if the DHCP server offers an address equals to the static address and ,
and after offering does acheck through ARP, your device will answer and the
DHCP will fail..


Date: Tue, 16 Dec 2008 10:10:11 +0100
From: address@hidden
To: address@hidden
Subject: [lwip-users] fixed IP and DCHP on the same net interface?

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.

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 to broadcast, and the server answers, in my situation i have DHCP request from to broadcast...
i suppose this could be the problem

Any idea??


You live life online. So we put Windows on the web. Learn more about Windows Live

reply via email to

[Prev in Thread] Current Thread [Next in Thread]