[BusyBox] DHCP: u-boot vs. busybox
Jason Schoon
floydpink at gmail.com
Wed Aug 25 17:26:23 UTC 2004
I don't have the u-boot code handy, but I would guess that they are
sending a different DHCP client identifier. That is what many servers
use to decide when to reassign an IP address to a specific client.
Can you see the two packets on the wire and look at the DHCP options?
On Wed, 25 Aug 2004 18:11:08 +0200, Steven Scholz
<steven.scholz at imc-berlin.de> wrote:
> Hi there,
>
> I just noticed that my board get's different IPs from the DHCP server
> depending on wether U-Boot (the boot loader) or busybox udhcpc did the request.
>
> The dhcp server log shows that they're using the same MAC:
>
> From U-Boot:
> DHCPDISCOVER from 00:a0:33:01:f9:97 via eth0
> DHCPOFFER on 10.0.10.220 to 00:a0:33:01:f9:97 via eth0
> DHCPREQUEST for 10.0.10.220 (10.0.2.9) from 00:a0:33:01:f9:97 via eth0
> DHCPACK on 10.0.10.220 to 00:a0:33:01:f9:97 via eth0
>
> From linux-2.4.27/busybox:
> DHCPDISCOVER from 00:a0:33:01:f9:97 via eth0
> DHCPOFFER on 10.0.10.174 to 00:a0:33:01:f9:97 via eth0
> DHCPREQUEST for 10.0.10.174 (10.0.2.9) from 00:a0:33:01:f9:97 via eth0
> DHCPACK on 10.0.10.174 to 00:a0:33:01:f9:97 via eth0
>
> Doing several rebooting I still see the same.
>
> Any idea how this could happen? I thought I would get the same IP fir the
> same MAC as long as the lease is valid...
>
> --
> Steven Scholz
>
>
>
> _______________________________________________
> busybox mailing list
> busybox at mail.busybox.net
> http://busybox.net/mailman/listinfo/busybox
>
>
More information about the busybox
mailing list