Hi,
In order to make dhclient work over lwip, I had to make a small change in the lwip translator. After a successful DHCPRELEASE, the dhclient script for the hurd sends a SIOCSIFADDR ioctl operation to set the interface address to 0.0.0.0 [1]. This operation failed for us because the translator validates the new IP and considers it invalid for the previous netmask and gateway. This patch assumes that a client trying to set the address to 0.0.0.0 or 255.255.255.255 is in fact trying to remove the IP from the interface so it does exactly that, it sets all fields to INADDR_NONE, which passes the validation. ---- [1] https://salsa.debian.org/debian/isc-dhcp/-/blob/master/debian/dhclient-script.hurd?ref_type=heads#L268