<div dir="ltr">Hello!<br><br>I have a setup of dhcpd v4, with static IP assigned to my testbed laptop, and I have following problem: my laptop with 80% probability gets his own address, but sometimes gets random IP from dynamic pool. I tried to restrict reservation by hw-address only, and disable match-client-id, but it didn't work. (client use systemd-networkd as dhcp client, cycling nixos install usb flash and installed system -- I debug customized installer scripts, so reboot quite often)<br><br>So my "carbon" host gets 172.16.228.6 normally, but on the next reboot could get 172.16.228.130, which is weird.<br><br>Do you folks have an idea how to troubleshoot this?<br><br>I have following configuration of KEA v3.0.1<br>(slightly censored, I strip unrelated host reservations)<br>{<br>  "Dhcp4": {<br>    "host-reservation-identifiers": [<br>      "hw-address"<br>    ],<br>    "interfaces-config": {<br>      "interfaces": [<br>        "enp3s0",<br>        "wifi1"<br>      ]<br>    },<br>    "lease-database": {<br>      "name": "/var/lib/kea/dhcp4.leases",<br>      "persist": true,<br>      "type": "memfile"<br>    },<br>    "loggers": [<br>      {<br>        "debuglevel": 40,<br>        "name": "kea-dhcp4",<br>        "output_options": [<br>          {<br>            "output": "stderr"<br>          }<br>        ],<br>        "severity": "DEBUG"<br>      }<br>    ],<br>    "match-client-id": false,<br>    "rebind-timer": 2000,<br>    "renew-timer": 1000,<br>    "subnet4": [<br>      {<br>        "authoritative": true,<br>        "id": 228,<br>        "option-data": [<br>          {<br>            "data": "172.16.228.1",<br>            "name": "domain-name-servers"<br>          },<br>          {<br>            "data": "home",<br>            "name": "domain-name"<br>          },<br>          {<br>            "data": "172.16.228.1",<br>            "name": "routers"<br>          }<br>        ],<br>        "pools": [<br>          {<br>            "pool": "172.16.228.129 - 172.16.228.254"<br>          }<br>        ],<br>        "reservations": [<br>          {<br>            "hostname": "printer",<br>            "hw-address": "70:5a:0f:13:90:d2",<br>            "ip-address": "172.16.228.10"<br>          },<br>          {<br>            "hostname": "carbon",<br>            "hw-address": "00:e0:4d:78:97:ee",<br>            "ip-address": "172.16.228.6"<br>          }<br>        ],<br>        "subnet": "<a href="http://172.16.228.0/24">172.16.228.0/24</a>"<br>      },<br>      {<br>        "id": 229,<br>        "option-data": [<br>          {<br>            "data": "172.16.229.1",<br>            "name": "routers"<br>          },<br>          {<br>            "data": "home",<br>            "name": "domain-name"<br>          },<br>          {<br>            "data": "172.16.229.1",<br>            "name": "domain-name-servers"<br>          }<br>        ],<br>        "pools": [<br>          {<br>            "pool": "172.16.229.129 - 172.16.229.254"<br>          }<br>        ],<br><br>        "subnet": "<a href="http://172.16.229.0/24">172.16.229.0/24</a>"<br>      }<br>    ],<br>    "valid-lifetime": 4000<br>  }<br>}<br><br>Many thanks,<br>Alex</div>