sargon / ddhcpd

A distributed DHCP Daemon
GNU General Public License v3.0
31 stars 11 forks source link

one client getting assigned multiple ipv4 addresses on consecutive runs of dhclient #12

Closed christf closed 6 years ago

christf commented 6 years ago

the client in my case ends up with many ipv4 addresses in the same subnet. Two of the currently three assigned addresses are within the same block, the third is in another block.

root@60489-luna:/tmp# ddhcpdctl -b
block size/number   4/16384 
      tentative timeout 15
      timeout   60
      refresh factor    4
      spare 1
      network: 10.126.0.0/16 
node id 0000000000000000
ddhcp blocks
index   state   owner           claim   leases  timeout
4275    4   0000000000000000    3   0/4 48
4539    2   0000000000000000    0   -   12
5403    4   0000000000000000    3   0/2 48
7024    2   0000000000000000    0   -   9
14891   4   0000000000000000    3   0/4 48
rubo77 commented 6 years ago

Why is this closed?

christf commented 6 years ago

Because it was a classic pebcak. I had multiple instances of dhclient running at the same time which lead to the error.