[Kea-users] IP reservation for multiple MAC addresses

Robin Daermann robin.daermann at ruhr-uni-bochum.de
Sun Sep 6 10:03:14 UTC 2020


Hi Oswald,

thank you for the example!

On Thu, Sep 03, 2020 at 07:44:08PM +0200, Oswald wrote:
>Not recommended and not tested - but it might work in your situation.
[...]

This configuration really works:

   "client-classes": [
       { "name": "class_172.30.1.11" }
   ],
   "reservations": [
       {
           "hostname": "kea-testclient-1",
           "hw-address": "d6:ed:a0:39:77:b4",
           "client-classes": [ "class_172.30.1.11" ]
       },
       {
           "hostname": "kea-testclient-2",
           "hw-address": "b2:e3:07:74:b9:24",
           "client-classes": [ "class_172.30.1.11" ]
       }
   ],
   "shared-networks": [
       {
          "name": "Vlan364",
          "subnet4": [
             {
                "id": 364,
                "pools": [
                   {
                      "pool": "172.30.1.11 - 172.30.1.11",
                      "client-class": "class_172.30.1.11"
                   }
                ],
                "reservation-mode": "global",
                "subnet": "172.30.1.0/24"
             }
          ]
       }

We will have to implement some more logic into our config generating 
scripts but I am sure that it will work for us in the end.

Best regards,

Robin Därmann
(Network Operation Center RUB)

-- 
| Robin Därmann                             Network Operation Center |
| RS18625-RIPE                              Ruhr-Universitaet Bochum |
| You always meet twice in a lifetime...                             |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4986 bytes
Desc: not available
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20200906/de1a3d75/attachment.bin>


More information about the Kea-users mailing list