<div dir="ltr">Hi All, <div><br></div><div>I am using the kea-dhcp of 2.2.0 version, I am trying to add a reservation entry along with a valid lifetime option value but I am facing the syntax issue saying "got unexpected keyword "valid-lifetime" in reservations map".</div><div><br></div><div>kea-dhcp4 -t kea-dhcp4.conf. --> syntax validator<br>Syntax check failed with:

 kea-dhcp4.conf  :59.7-22: got unexpected keyword<b> "valid-lifetime" in reservations map.</b><br><br></div><div>I took a sample example from the forums and tried as below:</div><div>"subnet4": [{<br>        "subnet": "<a href="http://4.0.0.0/16">4.0.0.0/16</a>",<br>        "valid-lifetime": 3600,<br>        "option-data": [<br>            {<br>                "data": "<a href="http://test.com">test.com</a>",<br>                "name": "domain-name"<br>            },<br>            {<br>                "data": "255.255.0.0",<br>                "name": "subnet-mask"<br>            },<br>            {<br>                "data": "99.99.99.99",<br>                "name": "routers"<br>            }<br>        ],<br>        "pools": [{<br>                 "pool": "4.0.0.2-4.0.0.202"<br>        }],<br>        "id": 843191<br>    }],<br> "reservations": [<br>    {<br>      "hw-address": "01:23:45:67:89:ab",<br>      "ip-address": "4.0.0.223",<br>      "hostname": "<a href="http://example.com">example.com</a>",<br>  <b>    "valid-lifetime": 86400</b><br>    }<br>  ]<br></div><div><br></div><div>I tried moving the reservation section inside the subnet but still I get the same, Can someone who has familiarity with reservation entries can guide me ?</div><div><br></div><div><br></div><div>Thanks in advance</div><div>Kraishak</div></div>