]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#1428] Added ip-reservations-unique to all-keys
authorMarcin Siodelski <marcin@isc.org>
Thu, 8 Oct 2020 11:37:55 +0000 (13:37 +0200)
committerFrancis Dupont <fdupont@isc.org>
Thu, 8 Oct 2020 13:44:39 +0000 (15:44 +0200)
doc/examples/kea4/all-keys.json
doc/examples/kea6/all-keys.json

index efec7592e298dd36b3d5a53c5dea168df1a1d0f0..9b05bdcd2a69fd8505fd35fe3eae5bf6e3194085 100644 (file)
             "re-detect": true
         },
 
+        // Boolean parameter which controls DHCP server's behavior with respect
+        // to creating host reservations for the same IP address. By default
+        // this flag is set to true in which case the server prevents creation
+        // of multiple host reservations for the same IP address. When this
+        // parameter is set to false, the server allows for creating multiple
+        // reservations for the same IP address within a subnet. This setting
+        // is useful in deployments in which a given host may be communicating
+        // with a DHCP server over multiple interfaces and depending on the
+        // chosen interface different MAC address (or other identifier) will
+        // be used to identify the host. Note that some host backends do not
+        // support the mode in which multiple reservations for the same IP
+        // address are used. If these backends are in use and this setting
+        // is attempted a configuration error will occur. The MySQL and
+        // PostgreSQL backends do support this mode.
+        "ip-reservations-unique": true,
+
         // Specifies credentials to access lease database.
         "lease-database": {
             // memfile backend specific parameter specifying the interval
index 683d1ba9a956e3dab1066107c6ca97a046e4389d..09d259fdc4343edca142e8fe25cabe60749707df 100644 (file)
             "re-detect": true
         },
 
+        // Boolean parameter which controls DHCP server's behavior with respect
+        // to creating host reservations for the same IP address or delegated
+        // prefix. By default this flag is set to true in which case the server
+        // prevents creation of multiple host reservations for the same IP address
+        // or delegated prefix. When this parameter is set to false, the server
+        // allows for creating multiple reservations for the same IP address or
+        // delegated prefix within a subnet. This setting is useful in deployments
+        // in which a given host may be communicating with a DHCP server over
+        // multiple interfaces and depending on the chosen interface different
+        // MAC address (or other identifier) will be used to identify the host.
+        // Note that some host backends do not support the mode in which multiple
+        // reservations for the same IP address or delegated prefix are used.
+        // If these backends are in use and this setting is attempted a
+        // configuration error will occur. The MySQL and PostgreSQL backends do
+        // support this mode.
+        "ip-reservations-unique": true,
+
         // Specifies credentials to access lease database.
         "lease-database": {
             // memfile backend specific parameter specifying the interval