<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<div>Hi all,</div>
<div><br>
</div>
<div>Hoping to get some help. Whilst trying to provision some CoreOS systems, I've discovered that an IPv4 address from my dynamic range is being assigned to these machines, causing provisioning to fail.</div>
<div><br>
</div>
<div>The machines boot and install via PXE chained iPXE, which is when they are assigned their reserved IP address. During install, they reboot and I have noticed they are then being allocated an IP from the dynamic range. I suspect Kea DHCP4 server is registering
this is some kind of conflict, thus causing this other allocation.</div>
<div><br>
</div>
<div>My kea4-dhcp.conf file is bloew. I'd be really grateful for any advice that can help me fix this problem.</div>
<div><br>
</div>
<div>Thanks,</div>
<div><br>
</div>
<div>Ash</div>
<div><br>
</div>
<div>{</div>
<div> "Dhcp4": {</div>
<div> "interfaces-config": {</div>
<div> "interfaces": [ "ens192" ]</div>
<div> },</div>
<div> "lease-database": {</div>
<div> "type": "memfile",</div>
<div> "persist": true,</div>
<div> "name": "/var/kea/dhcp4.leases"</div>
<div> },</div>
<div> "expired-leases-processing": {</div>
<div> "reclaim-timer-wait-time": 10,</div>
<div> "flush-reclaimed-timer-wait-time": 25,</div>
<div> "hold-reclaimed-time": 3600,</div>
<div> "max-reclaim-leases": 100,</div>
<div> "max-reclaim-time": 250,</div>
<div> "unwarned-reclaim-cycles": 5</div>
<div> },</div>
<div> "valid-lifetime": 4000,</div>
<div> "client-classes": [</div>
<div> {</div>
<div> "name": "XClient_iPXE",</div>
<div> "test": "substring(option[77].hex,0,4) == 'iPXE'",</div>
<div> "boot-file-name": "http://matchbox.ash.k8s.internal.net:8080/boot.ipxe"</div>
<div> },</div>
<div> {</div>
<div> "name": "UEFI-32-1",</div>
<div> "test": "substring(option[60].hex,0,20) == 'PXEClient:Arch:00006'",</div>
<div> "boot-file-name": "ipxe.efi"</div>
<div> },</div>
<div> {</div>
<div> "name": "UEFI-32-2",</div>
<div> "test": "substring(option[60].hex,0,20) == 'PXEClient:Arch:00002'",</div>
<div> "boot-file-name": "ipxe.efi"</div>
<div> },</div>
<div> {</div>
<div> "name": "UEFI-64-1",</div>
<div> "test": "substring(option[60].hex,0,20) == 'PXEClient:Arch:00007'",</div>
<div> "boot-file-name": "ipxe.efi"</div>
<div> },</div>
<div> {</div>
<div> "name": "UEFI-64-2",</div>
<div> "test": "substring(option[60].hex,0,20) == 'PXEClient:Arch:00008'",</div>
<div> "boot-file-name": "ipxe.efi"</div>
<div> },</div>
<div> {</div>
<div> "name": "UEFI-64-3",</div>
<div> "test": "substring(option[60].hex,0,20) == 'PXEClient:Arch:00009'",</div>
<div> "boot-file-name": "ipxe.efi"</div>
<div> },</div>
<div> {</div>
<div> "name": "Legacy",</div>
<div> "test": "substring(option[60].hex,0,20) == 'PXEClient:Arch:00000'",</div>
<div> "boot-file-name": "undionly.kpxe"</div>
<div> }</div>
<div> ],</div>
<div> "subnet4": [</div>
<div> {</div>
<div> "interface": "ens192",</div>
<div> "subnet": "10.240.0.0/24",</div>
<div> "pools": [</div>
<div> {</div>
<div> "pool": "10.240.0.200 - 10.240.0.240"</div>
<div> }</div>
<div> ],</div>
<div> "option-data": [</div>
<div> {</div>
<div> "name": "routers",</div>
<div> "code": 3,</div>
<div> "space": "dhcp4",</div>
<div> "csv-format": true,</div>
<div> "data": "10.240.0.254"</div>
<div> },</div>
<div> {</div>
<div> "name": "domain-name-servers",</div>
<div> "code": 6,</div>
<div> "space": "dhcp4",</div>
<div> "csv-format": true,</div>
<div> "data": "10.240.0.254"</div>
<div> },</div>
<div> {</div>
<div> "name": "tftp-server-name",</div>
<div> "code": 66,</div>
<div> "space": "dhcp4",</div>
<div> "csv-format": true,</div>
<div> "data": "matchbox.ash.k8s.internal.net"</div>
<div> }</div>
<div> ],</div>
<div> "reservations": [</div>
<div> {</div>
<div> "hw-address": "00:50:56:84:ad:c1",</div>
<div> "ip-address": "10.240.0.11",</div>
<div> "hostname": "controller1"</div>
<div> },</div>
<div> {</div>
<div> "hw-address": "00:50:56:84:31:0e",</div>
<div> "ip-address": "10.240.0.12",</div>
<div> "hostname": "controller2"</div>
<div> },</div>
<div> {</div>
<div> "hw-address": "00:50:56:84:8d:a9",</div>
<div> "ip-address": "10.240.0.13",</div>
<div> "hostname": "controller3"</div>
<div> },</div>
<div> {</div>
<div> "hw-address": "00:50:56:84:85:a0",</div>
<div> "ip-address": "10.240.0.21",</div>
<div> "hostname": "worker1"</div>
<div> },</div>
<div> {</div>
<div> "hw-address": "00:50:56:84:bb:ef",</div>
<div> "ip-address": "10.240.0.22",</div>
<div> "hostname": "worker2"</div>
<div> },</div>
<div> {</div>
<div> "hw-address": "00:50:56:84:73:65",</div>
<div> "ip-address": "10.240.0.23",</div>
<div> "hostname": "worker3"</div>
<div> }</div>
<div> ]</div>
<div> }</div>
<div> ]</div>
<div> },</div>
<div> "Logging":</div>
<div> {</div>
<div> "loggers": [</div>
<div> {</div>
<div> "name": "kea-dhcp4",</div>
<div> "output_options": [</div>
<div> {</div>
<div> "output": "/var/log/kea-dhcp4.log"</div>
<div> }</div>
<div> ],</div>
<div> "severity": "INFO",</div>
<div> "debuglevel": 0</div>
<div> }</div>
<div> ]</div>
<div> }</div>
<div>}</div>
<br>
</div>
</body>
</html>