On Fri, 13 Jul 2007, Christian Kern wrote:

> As we are using FAI to install our computers, the ipconfig
> binary in the klibc-utils package is used to obtain the
> IP configuration from a DHCP server at boot time, when
> installing a computer.

which dhcp server?


> A normal DHCP process looks like this:
> DHCPDISCOVER (client->server)
> DHCPOFFER (server->client)
> DHCPREQUEST (client->server)
> DHCPACK (server->client)
>
> Using the ipconfig tool in the klibc-utils, the procedure
> looks like this:
> DHCPDISCOVER (client->server)
> DHCPOFFER (server->client)
> DHCPREQUEST (client->server)
>
> The DHCPACK is missing, an there is never an
> IP configuration obtained.
> It seems, that not transmitting an bootp gateway in
> the DHCPREQUEST package solves this Problem.
> (Patch attached)

hmm i guess you have the corresponding tcpdump logs?


> -     bootp.giaddr    = dev->bootp.gateway;
> +     bootp.giaddr    = INADDR_ANY;

according to git aboves line exits since quite some time,
i'd say since at least Debian and Ubuntu integration.

so i'd need a bit more evidence to merge such a patch.
i'll test it next week on my side.

thanks for the feedback!

-- 
maks


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to