[Top][All Lists]

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

DHCP client

From: Joan Lledó
Subject: DHCP client
Date: Mon, 11 Sep 2017 12:59:34 +0200


In my tests on the lwip translator, I've observed that the DHCP client
sets the interface address to before sending the
DHCPDISCOVER messages. I found the source of this behaviour in the

The script executes "fsysopts /servers/socket/2 -i ${interface}" in
the PREINIT state, This command in intended to up the interface, but
it sets its address to INADDR_NONE too. That's not a problem for
pfinet, but it's not supported by lwip. That's why I had to apply a
patch to lwip to solve this problem.

To avoid applying the patch, I suggest to replace the PREINIT command for this:
fsysopts /servers/socket/2 -i ${interface} -a

The "-a" option sets the address to, which works fine for both
pfinet and lwip.


reply via email to

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