<div dir="ltr">Hi All, <div><br></div><div>We have pre-allocated all my desktops, 400+  in current DDI (replacing with Kea/phpIPAM).</div><div>Hoping to do the same with kea. I see in section Hosts Storage, </div><div><br></div><div>// The example below is not optimal from a performance perspective, but it<br>// nicely showcases the host reservation capabilities. Please use the minimum<br>// set of identifier types used in your network.</div><div><br></div><div><br><b>  "host-reservation-identifiers":<br>    [ "circuit-id", "hw-address", "duid", "client-id" ],</b><br><br>// Specify connection to the database holding host reservations. The type<br>// specifies that the MySQL database is used. user and password are the<br>// credentials used to connect to the database. host and name specify<br>// location of the host where the database instance is running, and the<br>// name of the database to use. The server processing a packet will first<br>// check if there are any reservations specified for this client in the<br>// reservations list, within the subnet (configuration file). If there are<br>// no reservations there, the server will try to retrieve reservations<br>// from this database.<br>  "hosts-database": {<br>    "type": "mysql",<br>    "reconnect-wait-time": 3000, // expressed in ms<br>    "max-reconnect-tries": 3,<br>    "name": "keatest",<br>    "user": "keatest",<br>    "password": "keatest",<br>    "host": "localhost",<br>    "port": 3306,<br>    "trust-anchor": "my-ca",<br>    "cert-file": "my-cert",<br>    "key-file": "my-key",<br>    "cipher-list": "AES"<br>  },</div><div><br></div><div>  "id": 1 <== is the subnet id? <br></div><div><br></div><div><div>how does it work with multiple subnets/scopes, is there a column to identify a different subnet?</div><div>in <b>host-reservation-identifiers </b></div></div><div><b><br></b></div><div>typically config but in my case reservations all in DB.</div><div>{<br>"subnet4": [<br>    {<br>        "id": 1,<br>        "pools": [ { "pool":  "192.0.2.1 - 192.0.2.200" } ],<br>        "subnet": "<a href="http://192.0.2.0/24">192.0.2.0/24</a>",<br>        "interface": "eth0",<br>        "reservations": [<br>            {<br>                "hw-address": "1a:1b:1c:1d:1e:1f",<br>                "ip-address": "192.0.2.202"<br>            },<br>            {<br>                "duid": "0a:0b:0c:0d:0e:0f",<br>                "ip-address": "192.0.2.100",<br>                "hostname": "alice-laptop"<br>            },<br>            {<br>                "circuit-id": "'charter950'",<br>                "ip-address": "192.0.2.203"<br>            },<br>            {<br>                "client-id": "01:11:22:33:44:55:66",<br>                "ip-address": "192.0.2.204"<br>            }<br>        ]<br>    }<br>],<br></div><div><br></div><div>Regards,</div><div><br></div><div>Michael</div><div><br></div><div><br></div></div>