[ale] 2 boxes getting the same address from DHCP
Jim Kinney
jim.kinney at gmail.com
Fri Jun 13 09:22:46 EDT 2008
Does this persist if the boot up order is swapped? It sort of looks like the
first machine is becoming a dhcp server and only has a single address to
give out. Which still makes no sense.
Why is machine 1 getting more than 1 address? During pxe it gets 145 and
then during the dhcpcd it gets a second address. I suspect it doesn't
release the first one. It _should_ get the same one again unless the dhcp
server has two sections, one for pxe address and a second for dhcp without
pxe.
Since dhcp is supposed to hand out the same address within the lease period,
and it isn't, either the dhcp code is miscompiled, buggy, configured wrong
or the machine has a ram error.
Weird.
On Fri, Jun 13, 2008 at 2:56 AM, Brian Pitts <brian at polibyte.com> wrote:
> When I boot sysresccd on two computers on my network, they both receive
> the same IP address from my DHCP server. This obviously causes a problem
> and the second machine will never finish booting unless I manually
> change the IP address on the first one. This happens regardless of
> whether I use dnsmasq on my Ubuntu installation or dhcpd on a third
> system running sysresccd as the DHCP server. Here is my leases file at
> each stage to demosntrate what's happening:
>
> first machine is pxe booting
>
> 1213368876 00:09:6b:2b:dd:60 192.168.1.145 * 01:00:09:6b:2b:dd:60
>
> first machine has ran dhcpcd
>
> 1213368948 00:09:6b:2b:dd:60 192.168.1.146 sysresccd 00:27:27
> 1213368876 00:09:6b:2b:dd:60 192.168.1.145 * 01:00:09:6b:2b:dd:60
>
> second machine is pxe booting
>
> 1213369175 00:09:6b:0f:65:36 192.168.1.175 * 01:00:09:6b:0f:65:36
> 1213368948 00:09:6b:2b:dd:60 192.168.1.146 sysresccd 00:27:27
> 1213368876 00:09:6b:2b:dd:60 192.168.1.145 * 01:00:09:6b:2b:dd:60
>
> second machine is hung with netconfig2 repeating the message
> "ARPOP_REPLY received from from 192.168.1.146 ( 00:09:6b:2b:dd:60)"
>
> 1213369175 00:09:6b:0f:65:36 192.168.1.175 * 01:00:09:6b:0f:65:36
> 1213369274 00:09:6b:0f:65:36 192.168.1.146 sysresccd 00:27:27
> 1213368876 00:09:6b:2b:dd:60 192.168.1.145 * 01:00:09:6b:2b:dd:60
>
> So you see that 146 is given to 00:09:6b:2b:dd:60 and then to
> 00:09:6b:0f:65:36
>
> I believe what they're running to set up dhcp is dhcpd -L -n -t 10 -I ''
> -h sysresccd eth0
>
> Any thoughts?
>
> -Brian
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
>
--
--
James P. Kinney III
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.ale.org/pipermail/ale/attachments/20080613/89f155a7/attachment.html
More information about the Ale
mailing list